Commit Graph

15 Commits

Author SHA1 Message Date
Ben Marsh
dcaec587e9 Add AutomationUtils.Automation.dll to UAT build products.
[CL 2616035 by Ben Marsh in Main branch]
2015-07-09 20:05:56 -04:00
James Moran
e89583075e emscripten's file_packager.py requires EM_CONFIG is set before it's run.
#codereview ankit.khare

[CL 2615093 by James Moran in Main branch]
2015-07-09 10:31:56 -04:00
Wes Hunt
7fa290bb33 Summary: running UAT from VS is simpler and faster.
UEB-261 - Ensure that compiling AutomationTool in VS will compile all other Automation Projects
* Just set AutomationTool as your startup project and pass the command to execute.
* VS will build the script modules at build time, instead of every time at runtime.
* To make this happen, "UBT.exe -ProjectFiles" now generates a companion AutomationTool.csproj.References that make AutomationTool depend on all Automation modules.
* AutomationTool.exe defaults to not building script modules at runtime. Pass -compile if you want to dynamically build them.
* Without the .references file, AutomationTool will only build itself and you will need to pass -compile.
* RunUAT.bat still works that same, defaulting to runtime compilation and supporting -nocompile flag. It then passes -compile (or nothing) to AutomationTool.

Other
* All Automation projects target .Net 4.5. Some already were and had hard dependencies on them (Rocket and SyncGithub -> Octokit). Now that AutomationTool directly depends on them, everything had to use .Net 4.5.
* Decoupled logic for -NoCompile and -NoCompileEditor. The flags are still confusing, but -NoCompile is no longer linked to -NoCompileEditor.
* Had to leave in stub support in UAT for -NoCompile else RunUAT.bat passes it along and UAT complains that it doesn't understand it.
* Added a CommandUtils.Run option to support run command, but still output the run duration.
* Reduced the verbosity when UAT.proj is run from dozens of lines per module to a single Module -> Output line. It was looking like there were problems, but it was just msbuild spew.
#codereview:ben.marsh

[CL 2615060 by Wes Hunt in Main branch]
2015-07-09 10:15:37 -04:00
Wes Hunt
da49e11f87 For for UAT RunSingleInstance not correctly honoring uebp_UATMutexNoWait. It would run the command and then try and take the mutex and run it again, which would fail when it couldn't take the mutex (because uebp_UATMutexNoWait is only set when another UAT is expected to already be running).
[CL 2613790 by Wes Hunt in Main branch]
2015-07-08 13:35:20 -04:00
Marcus Wassmer
f66a43bcac Add Obsolete file Manifest for deployment. Platforms can delete unreferenced files easily now to clean up the deployment area.
[CL 2611240 by Marcus Wassmer in Main branch]
2015-07-06 12:52:16 -04:00
Daniel Lamb
36568c0f27 Added support for multiprocess cooking into unreal frontend.
Fixes for multiprocesscooking.

[CL 2611006 by Daniel Lamb in Main branch]
2015-07-06 10:03:34 -04:00
Ben Marsh
6460b2a836 Fix path to assembly used to spawn child instances of UAT.
[CL 2610597 by Ben Marsh in Main branch]
2015-07-04 19:52:02 -04:00
Ben Marsh
6e67d700e6 Add a scoped stopwatch class for writing out telemetry events.
[CL 2609657 by Ben Marsh in Main branch]
2015-07-02 16:16:19 -04:00
Wes Hunt
87534725d4 PrintCSVFile detects a file of "nul" and ignores output.
[CL 2609087 by Wes Hunt in Main branch]
2015-07-02 10:27:55 -04:00
Steve Robb
2dbb55ad33 Fix for two logfiles being created in the same second.
#codereview robert.manuszewski

[CL 2608003 by Steve Robb in Main branch]
2015-07-01 15:17:51 -04:00
Steve Robb
cec0c7ca73 New method for determining unique log filenames.
#codereview robert.manuszewski

[CL 2607719 by Steve Robb in Main branch]
2015-07-01 13:21:03 -04:00
Wes Hunt
b4757a05f6 Add ParallelExecutor telemetry
[CL 2606724 by Wes Hunt in Main branch]
2015-06-30 19:35:44 -04:00
Wes Hunt
7d1463eede Restore Build Telemetry that was accidentally clobbered.
[CL 2606402 by Wes Hunt in Main branch]
2015-06-30 16:32:35 -04:00
Wes Hunt
493ada1723 Move this .tps file along with the other files that got moved.
[CL 2605845 by Wes Hunt in Main branch]
2015-06-30 11:44:24 -04:00
Wes Hunt
506f7e64a4 UEB-260 - Break AutomationTool into AutomationUtils that all automation projects depend on, and AutomationTool, which essentially only contains the startup code.
* Remove ErrorReporter.Error, replace with AutomationException with Error Code.
* Move ErrorCodes to AutomationException.
* Don't return exit codes. Solely rely on exceptions to propagate exit codes.
* Remove MainProc delegate
* Remove setting of Environment.ExitCode as it is ignored when main returns an int.
* ShutdownLogging is nothrow, as all exceptions would be ignored anyway.
* Wrap all shutdown steps so further ones get a chance to run.
* Move HostPlatform.Initialize into the global try/catch block
#codereview:ben.marsh

[CL 2605826 by Wes Hunt in Main branch]
2015-06-30 11:40:05 -04:00