Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/EngineTest/RunEngineTests.cs
Ben Marsh 530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -05:00

39 lines
953 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Reflection;
using System.Linq;
using AutomationTool;
using UnrealBuildTool;
using Gauntlet;
using Newtonsoft.Json;
using System.Text.RegularExpressions;
namespace EngineTest
{
/// <summary>
/// Test runner for excuting EngineTest in Gauntlet
/// </summary>
public class RunEngineTests : Gauntlet.RunUnreal
{
public override ExitCode Execute()
{
Globals.Params = new Gauntlet.Params(this.Params);
UnrealTestOptions ContextOptions = new UnrealTestOptions();
AutoParam.ApplyDefaults(ContextOptions);
ContextOptions.Project = "EngineTest";
ContextOptions.Namespaces = "EngineTest,Gauntlet.UnrealTest";
ContextOptions.UsesSharedBuildType = true;
AutoParam.ApplyParams(ContextOptions, Globals.Params.AllArguments);
return RunTests(ContextOptions);
}
}
}