Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/EngineTest/RunEngineTests.cs
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -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);
}
}
}