Commit Graph

17 Commits

Author SHA1 Message Date
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
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
Ben Marsh
c1d7e92a22 Move GUBP into its own project.
[CL 2593354 by Ben Marsh in Main branch]
2015-06-19 09:12:47 -04:00
Ben Marsh
88b274d2ec Add UAT script to build a plugin for distribution. Includes UBT support for writing plugin descriptors, and compiling single plugins at a time.
[CL 2533688 by Ben Marsh in Main branch]
2015-05-01 10:58:14 -04:00
Ben Marsh
ba2747b8ef Add Rocket to CIS. Publishing/chunking nodes only happen after labeling a promoted build, all other steps happen before.
[CL 2493600 by Ben Marsh in Main branch]
2015-03-27 08:02:21 -04:00
Brad Angelcyk
93e5fc8db2 creates ListMobileDevices automation script to assist automated mobile deployments
[CL 2400266 by Brad Angelcyk in Main branch]
2015-01-07 16:45:01 -05:00
Ben Marsh
125c50e085 Add BuildCommonTools to UAT project.
[CL 2345192 by Ben Marsh in Main branch]
2014-10-30 13:32:19 -04:00
Josh Adams
aa3fabd4f4 - SSH/Rsync can now be used in UBT, but is not currently recommended yet (one step is much slower, and IPhonePackager issues)
- Integrated IPhonePackager code directly into IOS Automation (this is not 100% working yet, it's a work-in-progress). Original IPP still in same place untouched
- Added a return code to RunLocalProcess
- Added IPhonePackager UAT script that will pass along params to the internal IPP code (RunUAT IPhonePackager -cmd="<ipp commandline here>" [-nocompile])
#codereview Robert.Manuszewski,peter.sauerbrei

[CL 2123325 by Josh Adams in Main branch]
2014-07-01 10:58:33 -04:00
Wes Fudala
0b458bf537 [336846] Include OneSky library referenced by automation scripts.
- AutomationScripts.Automation.csproj now uses a valid ToolsVersion number
- The OneSky library reference now points to the DotNet binaries folder similar to other references
- Add OneSky release binary to the Binaries\\DotNet folder

[CL 2086526 by Wes Fudala in Main branch]
2014-05-29 17:19:57 -04:00
Wes Fudala
0ec88fb740 Enable OneSky portion of LauncherLocalization build.
Fix for a regression that was preventing Portable Object(.po) localization files from being exported/imported to the appropriate culture folders.  Enabled the OneSky integration in the LauncherLocalization build script and also made OneSky configuration settings more flexible to set/retrieve/hide.

[CL 2074870 by Wes Fudala in Main branch]
2014-05-15 18:14:11 -04:00
Jaroslaw Palczynski
65bbb00ab5 UAT UnrealSync
Initial version of UnrealSync UAT script.
#codereview Robert.Manuszewski, Gil.Gribb

[CL 2067919 by Jaroslaw Palczynski in Main branch]
2014-05-09 03:30:25 -04:00
Justin Sargent
073e8c6219 Disabling OneSky code
[CL 2062432 by Justin Sargent in Main branch]
2014-05-02 16:00:32 -04:00
Justin Sargent
664bea2137 L10N: Updated loc ini configurations to specify simplified Chinese as output. Added a C# wrapper around OneSky's web service api. Beginning steps of setting up some automation scripts to integrate our localization pipeline with OneSky's.
[CL 2059400 by Justin Sargent in Main branch]
2014-04-29 21:58:49 -04:00
Justin Sargent
3c6c706e17 L10N: Launcher: Automation: Updated the Launcher localization. Added/modified the Launcher configuration so it outputs word count and conflicts reports. Added a new automation script to build Launcher localization.
[CL 2045167 by Justin Sargent in Main branch]
2014-04-23 18:40:16 -04:00
Robert Manuszewski
67e2ece8d9 #UE4 - Removing game references from distributed code (TTP# 330940). Removed a hack which was adding map params to fortnite dedicated server map name. Added '-AdditionalServerMapParams' command line parameter.
[CL 2038773 by Robert Manuszewski in Main branch]
2014-04-23 16:44:23 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00