Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/EngineTest/RunEngineTests.cs
Marc Audy 608734e30d Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4664414
#rb
#rnx

[CL 4666113 by Marc Audy in Dev-Framework branch]
2018-12-17 12:24:20 -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);
}
}
}