Commit Graph

89 Commits

Author SHA1 Message Date
Ben Marsh
fe2c895552 Add build steps for static analysis of UBT and UAT, and to test project file generation.
#preflight 62b37e6ad76167320e3a224d

[CL 20781813 by Ben Marsh in ue5-main branch]
2022-06-22 17:12:30 -04:00
Josh Adams
fd4ec7b1d1 - Added a ctrl-c handler to AutomationTool, which helps keep zombie dotnet processes, at least on Mac, maybe Linux
#rb brandon.schaefer
#jira UE-153975,UE-154138
#preflight 62967428261e39f62069e31d

[CL 20443401 by Josh Adams in ue5-main branch]
2022-05-31 18:16:47 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Ben Marsh
06673f202c UAT: Move logger matcher initialization into AutomationUtils, since it's not a hard dependency of AutomationTool.
#jira UE-153354
#preflight 6287e8208828ea88c87c54cd

[CL 20301330 by Ben Marsh in ue5-main branch]
2022-05-20 15:27:15 -04:00
Ben Marsh
cf237169dc Undo single //UE5/Main/Engine/Source/Programs/AutomationTool/Program.cs revision 40
#preflight none

[CL 20300329 by Ben Marsh in ue5-main branch]
2022-05-20 14:53:32 -04:00
Ben Marsh
ec2455e9fb UAT: Fix log event matchers not being registered at UAT startup.
#preflight none
#jira UE-153354

[CL 20300217 by Ben Marsh in ue5-main branch]
2022-05-20 14:49:24 -04:00
Ben Marsh
6f0dd55f41 Horde: Run event matchers inside UAT and UBT, rather than relying on Horde to do so. This is a step towards having having structured log events emitted at source, where we can make smarter decisions as to the meaning of tool output, and add additional context when parsing it.
#preflight 628550d8660b4a15be5a9859

[CL 20278597 by Ben Marsh in ue5-main branch]
2022-05-19 08:16:07 -04:00
PJ Kack
6b6bc48fc5 UAT: Add additional startup and BuildCookRun logging and timings
#jira none
#rb trivial
#rnx
#preflight 627379dda56dd762120e6e2e

[CL 20055418 by PJ Kack in ue5-main branch]
2022-05-05 03:40:01 -04:00
Tim Smith
92be35bfde Removed temporary code that was causing UAT to always rebuild plugins.
#rb trivial
#rnx
#preflight 62699d0f2735a2c0ea8ef83a

[CL 19945588 by Tim Smith in ue5-main branch]
2022-04-27 16:05:00 -04:00
Tim Smith
9753bb366a Adjustments to the script module compiler code in preperation for use by UBT.
#rn trivial
#rnx
#preflight 625db2a9804460ab0fd83165

[CL 19792014 by Tim Smith in ue5-main branch]
2022-04-18 15:18:21 -04:00
Tim Smith
dfb68b18b4 Moved C# project build support from UAT to EpicGames.Build. Isolated code referencing Microsoft.Build into a dll to avoid any issues calling Assembly.GetTypes(). In prior code, it would attempt to resolve the types for things using Microsoft.Build.Framework and fail to load it. By resolving that issue, any future changes to UBT that will utilize this code will not result in any build/target scripts needing to be modified if they use Assembly.GetTypes().
#rnx
#rb jonathan.adamczewski
#preflight 625d7777d4124345879a84a7
#preflight 625d89af6813aa38e3cff392

[CL 19786950 by Tim Smith in ue5-main branch]
2022-04-18 12:17:12 -04:00
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Tim Smith
76b3f0f74a Undo //UE5/Main/Engine/Source/Programs/... changelist 19477828
#preflight skip
#rnx

[CL 19477910 by Tim Smith in ue5-main branch]
2022-03-23 08:30:01 -04:00
Tim Smith
40be3125a0 Moved C# project build support from UAT to EpicGames.Build. Isolated code referencing Microsoft.Build into a dll to avoid any issues calling Assembly.GetTypes(). In prior code, it would attempt to resolve the types for things using Microsoft.Build.Framework and fail to load it. By resolving that issue, any future changes to UBT that will utilize this code will not result in any build/target scripts needing to be modified if they use Assembly.GetTypes().
#rnx
#rb jonathan.adamczewski
#preflight 623b0e64c73745c600b8e626

[CL 19477828 by Tim Smith in ue5-main branch]
2022-03-23 08:17:23 -04:00
jonathan adamczewski
a69a2e922f AutomationTool: More idiomatic perhaps
#jira none
#trivial
#preflight 61f094c1be0f0e0a621b5a0b

#ROBOMERGE-OWNER: jonathan.adamczewski
#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18730575 in //UE5/Release-5.0/... via CL 18730582 via CL 18730716
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
#ROBOMERGE-CONFLICT from-shelf

[CL 18730893 by jonathan adamczewski in ue5-main branch]
2022-01-25 20:02:49 -05:00
jonathan adamczewski
82d7339dea AutomationTool: Remove error string that served only to misdirect
#jira none
#trivial
#preflight none

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18647776 in //UE5/Release-5.0/... via CL 18649279 via CL 18649652
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18649944 by jonathan adamczewski in ue5-main branch]
2022-01-18 17:45:21 -05:00
jonathan adamczewski
fb9901fe24 AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055 via CL 18576072
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18576082 by jonathan adamczewski in ue5-main branch]
2022-01-11 15:16:51 -05:00
jonathan adamczewski
5765f4595e AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18576072 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-11 15:15:59 -05:00
Ben Marsh
6a2855f64c UAT: Add support for async build commands and BuildGraph tasks.
#preflight 61b3aa86e928cffe866fa918

[CL 18433916 by Ben Marsh in ue5-main branch]
2021-12-10 15:36:47 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
jonathan adamczewski
f7babd8e85 AutomationTool:
Rename -NoCompile as -NoCompileUAT, to work around problems with HordeAgent's use of the former.

#jira FORT-406905

#ROBOMERGE-SOURCE: CL 17404240 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17404251 by jonathan adamczewski in ue5-release-engine-test branch]
2021-09-02 12:02:43 -04:00