Commit Graph

255 Commits

Author SHA1 Message Date
chris constantinescu
1278a26f76 Low level tests further refactoring and test resource deployment
#preflight 626955ed0d4ac78d716eacf0
#rnx

[CL 19941830 by chris constantinescu in ue5-main branch]
2022-04-27 12:36:35 -04:00
chris constantinescu
28111d40fc Redundancy cleanup in UBT Low Level Tests:
- test-specific targets and modules are constructed by RulesAssembly which removes a lot of spaghetti code
- no more excluding the Tests folder by default which is guaranteed to mislead users #fyi Jon.Nabozny
- test compilation in Tests is controlled through WITH_LOW_LEVEL_TESTS
- preparation code for switching tests between Catch2 / TestAutomation Fmwk

Nightly LLT PF 6260431391376845adeb4c40

#rnx
#preflight 62602d50dd47b4ad2173c30b

[CL 19834665 by chris constantinescu in ue5-main branch]
2022-04-20 14:24:59 -04:00
Devin Doucette
00c5ef381d UBT: Added VSTestRunSettingsFile to TargetRules
#preflight 624e09ca14634fba5c9563f6
#rb Jonathan.Adamczewski
#fyi Chris.Constantinescu

[CL 19661383 by Devin Doucette in ue5-main branch]
2022-04-06 20:50:46 -04:00
mickael gilabert
469a7e6fcb UBT: Add -CrashDiagnosticDirectory to set where to put crash report files (for platforms that support it)
[REVIEW] [at]jeff.newquist, [at]joe.kirchoff
#rnx

#ROBOMERGE-OWNER: mickael.gilabert
#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 19555896 via CL 19556567 via CL 19557148 via CL 19557163
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561558 by mickael gilabert in ue5-main branch]
2022-03-30 14:42:23 -04:00
christopher waters
22de0b360d Adding a "deprecation" path for engine includes to allow types to be moved without breaking licensee module builds.
- Non-engine modules/targets will have to specify the "version" of includes via IncludeOrderVersion in TargetRules or ModuleRules.
- This setting will control the value of UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX where XXX is the version of the engine.
- When moving types out of a header, users will need to include the new location of the type in the header it was removed from but only if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX is set.
- If a target does not change its IncludeOrderVersion to the latest version, UBT will print out a message telling users how to upgrade.
- This change introduces a new set of SharedPCH permutations to make sure modules with older versions get the PCH with UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX set correctly.

#jira none
#rb jonathan.adamczewski, joe.kirchoff
#preflight 623e1d3d196f3ae80b4c37ee

[CL 19518359 by christopher waters in ue5-main branch]
2022-03-25 16:16:30 -04:00
james doverspike
98ba416139 Add option to disable IntelMetricsDiscovery
#ROBOMERGE-OWNER: james.doverspike
#ROBOMERGE-AUTHOR: james.doverspike
#ROBOMERGE-SOURCE: CL 19485685 via CL 19485788 via CL 19487499 via CL 19499010 via CL 19499025
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19501414 by james doverspike in ue5-main branch]
2022-03-24 15:44:33 -04:00
mickael gilabert
8fd8151c2e UnrealBuildTool: Add -PackagePath to set destination folder of input files used at link time (normally used to debug a linker crash for platforms that support it)
[REVIEW] [at]joe.kirchoff, [at]jeff.newquist, [at]ryan.hummer
#rnx

#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 19426025 via CL 19426051 via CL 19431658 via CL 19435910 via CL 19436496
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19437798 by mickael gilabert in ue5-main branch]
2022-03-18 13:22:54 -04:00
Josh Adams
1c0cb326a6 - Added PDBPAGESIZE option for monolithic editor configuration, and check the toolchain version to catch unsupported versions
#jira UE-142117
#rb david.harvey
#preflight 621cde3a383b5494aaff1129

[CL 19173260 by Josh Adams in ue5-main branch]
2022-02-28 09:42:21 -05:00
steve robb
805a2231ad New bTCHARIsUTF8 variable added to .Target.cs file to make a target use UTF8CHARs as its TCHARs.
#rb jonathan.adamczewski
#preflight 6218af801d1c5017993b35d6

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19144301 via CL 19144308 via CL 19144311 via CL 19146973
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19156226 by steve robb in ue5-main branch]
2022-02-25 16:05:14 -05:00
joe kirchoff
68d3b6ae54 [Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19095177 by joe kirchoff in ue5-main branch]
2022-02-23 13:10:43 -05:00
joe kirchoff
85a12ceb91 [Backout] - CL19094839
#fyi joe.kirchoff
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19094975 by joe kirchoff in ue5-main branch]
2022-02-23 12:59:47 -05:00
joe kirchoff
e876024f01 [Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19094839 by joe kirchoff in ue5-main branch]
2022-02-23 12:54:09 -05:00
robert millar
5811293e2a Add TargetRules.bFNameOutlineNumber as an option to reduce the size of FName by 4 bytes by storing the number in the name table.
Adds a define UE_FNAME_OUTLINE_NUMBER.
Removes of FName, FMinimalName from memory image support. Adds of FMemoryImageName.
Removal of FMinimalName operator<<, all fields made private, size made variable.
All fields of FScriptName made private.
Added console commands for dumping numbered/unnumbered names and stats.

#rb johan.torp

#ROBOMERGE-OWNER: robert.millar
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19058026 via CL 19058611 via CL 19058656 via CL 19061727 via CL 19061740 via CL 19064047
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066701 by robert millar in ue5-main branch]
2022-02-21 02:35:48 -05:00
robert millar
79c81fc408 Add support for bRetainFramePointers to LinuxToolChain.
Add command line argument for bRetainFramePointers.

#rb brandon.schaefer
[FYI] nuno.leiria

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 18981122 via CL 18981257 via CL 18981859 via CL 18982123 via CL 18982359 via CL 18992714 via CL 18993053
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18997362 by robert millar in ue5-main branch]
2022-02-15 11:35:34 -05:00
christopher waters
ed10d08e23 Adding bNeedsExtraShaderFormats to TargetRules to protect hidden platforms from exposing their DataDrivenPlatformInfo defines to other hidden platforms.
#jira none
#rb jonathan.adamczewski, brian.white, eric.mcdaniel, david.harvey
#preflight 61fb1b27c431b6aac049aa1d

[CL 18844424 by christopher waters in ue5-main branch]
2022-02-03 12:11:23 -05:00
chris constantinescu
9212fef5a7 LLT 2.0 on preflights
- bIncludeAllTests flag on target will compile with all tests: used on LowLevelTests target to run on preflights
- Preflights now running low level tests by default, only those from LowLevelTests and its dependencies stemming from Core and Projects
#preflight 61f930bb8b4112f7cc95e807
#rb Mark.Lintott

[CL 18807604 by chris constantinescu in ue5-main branch]
2022-02-01 09:04:25 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
andrew davidson
08570f0250 LWC: Enable ISPC for LWC double types. Submitted on behalf of jeff.rous[at]intel.com
#rb andy.davidson
#jira UE-107988
#preflight 61eec2feaa3f15faa57a5702

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18708912 in //UE5/Release-5.0/... via CL 18708982 via CL 18709226
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18709243 by andrew davidson in ue5-main branch]
2022-01-24 10:54:27 -05:00
andrew davidson
68d99bd028 LWC: Force enable LWC - override target.cs and build.xml LWC settings in preparation for LWC toggle removal
#rb none
#preflight 61ee8e3f5e0414e6ec10e337

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18707127 in //UE5/Release-5.0/... via CL 18707155 via CL 18707243
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18707246 by andrew davidson in ue5-main branch]
2022-01-24 07:21:52 -05:00
Joe Kirchoff
e22080927d UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)
#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 18683346 by Joe Kirchoff in ue5-main branch]
2022-01-20 18:10:12 -05:00
jonathan adamczewski
65f389b113 UBT: Add minimal C++ coroutine support
#jira none
#preflight 61e851d4b875abaf3325e52a

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

[CL 18663658 by jonathan adamczewski in ue5-main branch]
2022-01-19 15:08:30 -05:00
chris constantinescu
8c968941f9 UBT TestMode that allows building a test executable for an associated target.
- Each module can now have a Tests folder at its root containing low level tests written with Catch2
- Used like this: UnrealBuildTool.exe -Mode=Test TargetName Platform Configuration
- It creates a test executable that's associated with the specified build Target and it includes all the tests for the Target AND all its dependencies as well
- When building without -Mode=Test it will omit the Tests folder contents from compilation: in theory we never allowed folders named Tests at the root of modules, but there might be isolated exceptions where we didn't validate folder names - in this case we will need to move that Tests folder one level up for example
- Code paths for test and non-test builds are entirely separated

#jira UE-135280
#rb Jerome.Delattre
#preflight 61e839d5276892ce10759205

[CL 18663474 by chris constantinescu in ue5-main branch]
2022-01-19 15:00:37 -05:00
Joe Kirchoff
da53ed939e UnrealBuildTool: Replace ParallelExecutor with (no longer experimental) TaskExecutor
#rnx
#rb none
#preflight 61e71d2bb56c33b8ecf48659

[CL 18646501 by Joe Kirchoff in ue5-main branch]
2022-01-18 15:19:06 -05:00
jonathan adamczewski
5b47c771a0 UnrealBuildTool: Remove various references to UE4.
#jira UE-111420
#trivial
#preflight none

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

[CL 18565609 by jonathan adamczewski in ue5-main branch]
2022-01-10 16:46:54 -05:00
jonathan adamczewski
c7aeb00f62 UnrealBuildTool: Remove various references to UE4.
#jira UE-111420
#trivial
#preflight none

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

[CL 18565586 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-10 16:46:00 -05:00