Commit Graph

2983 Commits

Author SHA1 Message Date
Josh Adams
60c8673e12 - Updated Turnkey studio settings (split into separate .xml file so it can be read without trying to hunt down server files, added idea of what platforms are supported by the studio). Set Epic settings
- Return more info from Turnkey so callers can know if Turnkey can install full or autosdks (based on studio settings)
- Added idea of project settings having custom builds that can be run from Turnkey (and with a later checkin, Platforms menu in the editor)
#rb ben.marsh (just the code that chains Automation commands, as seen in ExecuteBuild)

[CL 14916239 by Josh Adams in ue5-main branch]
2020-12-14 14:46:33 -04:00
Jerome Delattre
c402b3f649 Fix Gauntlet Engine Test name references
#jira UEENGQA-35355
#rnx
#rb none

[CL 14913110 by Jerome Delattre in ue5-main branch]
2020-12-14 09:24:12 -04:00
Ben Marsh
572812e3f2 BuildGraph: Downgrade invalid argument errors to a warning.
#rb none

[CL 14906564 by Ben Marsh in ue5-main branch]
2020-12-11 16:14:17 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Jerome Delattre
6688c43dd0 Move support for UnrealEngine automated tests results from EngineTest to Gauntlet.UnrealTest
#jira UEENGQA-35355
#rnx
#rb none

[CL 14904224 by Jerome Delattre in ue5-main branch]
2020-12-10 23:15:29 -04:00
Josh Adams
72f6ecef4a - Updated default AutoSDK install location to work across host platforms better
#rb brandon.schaefer

[CL 14897939 by Josh Adams in ue5-main branch]
2020-12-10 11:01:54 -04:00
Phillip Kavan
11c00323ea Remove exposed parts of the Blueprint nativization feature (deprecated), and decouple it from the editor/cooking phase.
#jira UE-103261
#rb Michael.Noland

[CL 14882147 by Phillip Kavan in ue5-main branch]
2020-12-08 16:28:03 -04:00
geoff evans
ff38fc9323 Add copyright boilerplate
#jira UE-104215

[CL 14878753 by geoff evans in ue5-main branch]
2020-12-08 10:55:35 -04:00
geoff evans
6b85337533 Create IterationProfile automated tests to gather raw trace data from Editor
UAT:
Add a new EditorTests runner, existing runner is derelict (will be deleted in upcoming merge from UE4)
BuildGraph is project-agnostic, forked and modified from EngineTest's build graph. Follow up change will try to generalize this logic for future benefit.
Requires specification on the cmdline of project content to use and platform to run on. Project content is specified in DefaultEngine.ini.
EditorTest plugin and log error/warning handling is all handled on the command line to be unobtrusive to production uprojects

EngineTest Plugin:
Add new EditorIterationTests.cpp and a simple test object. This is copied from another test for now for the sake of iteration profiling having its own filter and automation behavior.

AutomationController:
bTreatLogErrorsAsTestErrors was specified in some ini files, but was bugged. Restore this likely deleted config variable and check it when scanning log results

Reverb:
Add Iteration test group

EngineTest:
Add Iteration test group

#rb jerome.delattre, francis.hurteau
#fyi andrew.grant

[CL 14874020 by geoff evans in ue5-main branch]
2020-12-07 17:51:46 -04:00
Jerome Delattre
bb9343019d Make sure path are fully qualified when coping artifact files with Gauntlet
#jira none
#rnx
#rb none

[CL 14874002 by Jerome Delattre in ue5-main branch]
2020-12-07 17:48:26 -04:00
Jerome Delattre
ee8b6387d8 # Simplify gauntlet report for Horde
Introduce Gauntlet.ITestReport interface
 - enable attaching artifact to report through ITestReport.AttachArtifact(string)
 - enable reporting errors and warnings to ITestReport

Deprecate CreateReport(TestResult, Context, Build, Artifacts, ArtifactPath) and favor to CreateReport(ITestReport)

Generate a simplified report for Horde Test Data

Better support copying artifacts with long path on Windows

#jira none
#rb Andrew.Grant

[CL 14859929 by Jerome Delattre in ue5-main branch]
2020-12-04 17:30:52 -04:00
Joakim Lindqvist
be533b7d58 Brought back -nocompile and -compile options in UAT even if they are not used, to avoid erroring out when these gets forward by the batch file which will not remove already handled flags.
#jira UE-103979
#rb none

[CL 14842976 by Joakim Lindqvist in ue5-main branch]
2020-12-03 07:27:51 -04:00
Joakim Lindqvist
e3307d5157 Changed pdb format to not use portable pdbs (which is the default in net core) and instead back to our old pdb configuration.
This resolves a issue with PCBs were pdbcopy failed to run because it does not support portable pdbs.

#rb none

[CL 14837800 by Joakim Lindqvist in ue5-main branch]
2020-12-02 15:29:59 -04:00
Joakim Lindqvist
017048f505 Changed pdb format to not use portable pdbs (which is the default in net core) and instead back to our old pdb configuration.
This resolves a issue with PCBs were pdbcopy failed to run because it does not support portable pdbs.

#rb none

[CL 14837521 by Joakim Lindqvist in ue5-main branch]
2020-12-02 14:54:53 -04:00
Joakim Lindqvist
e7039d3d35 UBT and UAT now use .NET Core instead of Framework and Mono. This means that we use the same runtime on Windows, Linux and Mac. Further benefits including newer C# features and a lot of intresting features for the future around AOT and Tiered compilation.
Some behavior changes:
Output paths - Both tools are now output to a subdirectory of Binaries/Dotnet, I believe most hardcoded paths have been fixed up but there may be tools that will fail because of this.
UAT Plugin Building - As .NET Core does not support AppDomain unloading, how we build the plugins has changed quite a bit, these are now built before UAT is started rather then by UAT itself. If you just start UAT via RunUAT.bat/sh this should just continue to work.

#rb ben.marsh

[CL 14834347 by Joakim Lindqvist in ue5-main branch]
2020-12-02 06:57:13 -04:00
Brandon Schaefer
b85212d00a Fix Linux for turnkey.
Assume p4 is in the $PATH somewhere

#jira none
#rb Josh.Adams

[CL 14831290 by Brandon Schaefer in ue5-main branch]
2020-12-01 17:42:21 -04:00
Josh Adams
9314095bc6 - Fixed linux crash in Turnkey in GDI mono
#rb brandon.schaefer
#jira UE-103152

[CL 14823307 by Josh Adams in ue5-main branch]
2020-11-30 16:42:33 -04:00
Josh Adams
0e77401f63 - Added support for a platform to use the Staging type and also filename in some circumstances the filename (could change to ONLY have the filename version of the function)
#rb andrew.grant

[CL 14822029 by Josh Adams in ue5-main branch]
2020-11-30 14:10:35 -04:00
Joakim Lindqvist
d5792b5c7c Disable ionic zip for build graph archives under net core, this was causing crashes on Mac builds in Horde when netcore was enabled.
Also slightly refactored how we start these parallel zip threads to avoid potential fallout due to variable captures.

#rb ben.marsh

[CL 14815610 by Joakim Lindqvist in ue5-main branch]
2020-11-26 06:28:23 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Jerome Delattre
4d865f6c0b Editgrate 14600524
Avoid redundant error report in the log by implementing a new property LogWarningsAndErrorsAfterSummary to ITestNode

#jira none
#rnx
#rb josh.engebretson, andrew.grant

[CL 14809680 by Jerome Delattre in ue5-main branch]
2020-11-24 11:10:24 -04:00
will damon
b053295696 Fix BundleId for iOS/tvOS packaged products.
#rb josh.adams
#jira none
#rnx

[CL 14807413 by will damon in ue5-main branch]
2020-11-23 15:25:32 -04:00
Joakim Lindqvist
1b4f6b3ac9 Changed output directory for UAT projects under netcore, now outputting to a seperate directory for each addin. This avoids the risk of output stomping each other breaking incremental builds. Furthermore it makes it easier to understand who adds what dependency to the output.
Also cleaned up some output assemblies, preventing all transative references from being outputed (as we assume they build directly to the output directory instead). Unfortunatley the UBT references still cause tranastive dependencies to be copied as this is also a executable that needs to work outside of UAT as well, we should eventually move all UBT referenced code into BuildUtilities.

#rb none
#fyi ben.marsh

[CL 14775171 by Joakim Lindqvist in ue5-main branch]
2020-11-18 10:18:50 -04:00
Joakim Lindqvist
55025e031c Moved UAT plugin building to a seperate step controlled by AutomationTool.proj, this makes the process of building addins identical for installed builds and engine builds (but we still apply seperate logic to them).
Added CopyLocalLockFileAssemblies to some addins that added new dependencies (nuget packages) to make sure these gets added to the output folder.

UAT now have a dependency on WindowsForms (on Windows) to enable the WinForms usage in Gauntlet and Turnkey, but is still a console application so just making sure the right assemblies are referenced.

Fixed up shootergame csproj were I had accidentally removed EngineDir props which would have prevented it from working for installed builds as a foreign project.

#rb ben.marsh

[CL 14773885 by Joakim Lindqvist in ue5-main branch]
2020-11-18 08:46:54 -04:00
Josh Adams
1b005bb5aa - Missed a p4 command ExtraGlobalOptions
#jira UE-103147
#rb trivial

[CL 14763804 by Josh Adams in ue5-main branch]
2020-11-17 11:47:20 -04:00