Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/EngineTest/RunEngineTests.cs
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -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);
}
}
}