Commit Graph

34 Commits

Author SHA1 Message Date
joe kirchoff
ef5f3b80d9 UnrealBuildTool: Replace usage of obsolete FormatterServices.GetUninitializedObject
#rnx

[CL 34321240 by joe kirchoff in ue5-main branch]
2024-06-12 16:17:29 -04:00
chris constantinescu
7c5095a408 LLT Android support
#rb Chris.Babcock, sebastian.lewicki
#jira UE-210332

[CL 32714226 by chris constantinescu in ue5-main branch]
2024-04-03 18:39:56 -04:00
chris constantinescu
b885d777d0 Fix postbuild command from TestTargetRules
#rb rob.huyett, sean.sweeney, sebastian.lewicki, stephen.ma
#jira UE-208563

[CL 31915440 by chris constantinescu in ue5-main branch]
2024-02-29 13:21:19 -05:00
joe kirchoff
2ccf3f04b3 UnrealBuildTool: TargetRules cleanup
* Change (most) fields to properties
* Naming rule fixes for local variables
* Remove unnecessary default values
* Move ReadOnlyTargetRules to new file
* Remove RequiresUniqueBuildEnvironment from obsolete properties
* Document formatting

#rnx

[CL 30415265 by joe kirchoff in ue5-main branch]
2023-12-20 12:39:13 -05:00
chris constantinescu
a553b66628 Properly initialize implicit tests with engine-only dependency
#jira UE-196794
#rb sean.sweeney, sebastian.lewicki

[CL 30036853 by chris constantinescu in ue5-main branch]
2023-12-01 07:05:33 -05:00
joe kirchoff
07d9f6887b UnrealBuildTool: Fix a rare exeception I saw when generating project files
#rnx

[CL 29197565 by joe kirchoff in ue5-main branch]
2023-10-27 16:55:01 -04:00
lorry li
7f221d7240 Fix WebTests Android compile errors.
[REVIEW] [at]stephen.ma [at]chris.constantinescu [at]rafa.lecina
#jira UE-196941
#rb [at]stephen.ma [at]chris.constantinescu [at]rafa.lecina

[CL 28415202 by lorry li in ue5-main branch]
2023-10-03 11:18:54 -04:00
chris constantinescu
1aeb7faa75 LLT: Pre-analyse dependency graph of low level test targets before setting compilation flags for UE components
Use -Mode=Test by default for all LLT Project to enable pre-analysis of dependency graph.
#jira UE-193632
#rb Sean.Sweeney

[CL 28313218 by chris constantinescu in ue5-main branch]
2023-09-28 06:52:15 -04:00
chris constantinescu
6072c762ad Minor: TestRunner.cpp --no-wait option fix, generate metadata config must be in target file not build file.
Enable in BaseEngie.ini
[LowLevelTestsSettings]
bUpdateBuildGraphPropertiesFile=false

#rb Jerome.Delattre, Rob.Huyett
#jira UE-189825

[CL 26323717 by chris constantinescu in ue5-main branch]
2023-06-29 15:18:42 -04:00
Rafa Lecina
254dcecc06 Fixes to be able to run tests on iOS
#review @Bertrand.Carre, @Michael.Kirzinger, @Chris.Constantinescu, @Stephen.Ma
#jira UE-166445

[CL 26006367 by Rafa Lecina in ue5-main branch]
2023-06-15 04:50:22 -04:00
nick edwards
015b0a084d Write the is_unreal_test file to the correct location if the target lives under the project directory. Addresses an issue where the PostBuildStep would fail for test targets outside of the engine.
#rb chris.constantinescu
#rb elias.lozadabenavent

[CL 25933412 by nick edwards in ue5-main branch]
2023-06-12 15:00:47 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
chris constantinescu
e4566803bb LLT: the .is_unreal_test file path doesn't depend on having a project file or not
#rb Stephen.Ma
#preflight 6474f04e4b1ead7c7f0ece5b

[CL 25674274 by chris constantinescu in ue5-main branch]
2023-05-30 06:17:15 -04:00
chris constantinescu
af8f098f9c LLT targets with project files - solution directory missing case
#rb Stephen.Ma
#preflight skip

[CL 25652009 by chris constantinescu in ue5-main branch]
2023-05-26 16:23:08 -04:00
chris constantinescu
9cb4d3f9de Correct placement of low level tests solution folder for projects
#rb Jerome.Delattre, Adam.Miezianko, Rob.Huyett
#preflight 646fa3ec407983b99811e857

[CL 25627753 by chris constantinescu in ue5-main branch]
2023-05-25 16:08:34 -04:00
ionut matasaru
1172a216a1 UBT: Deprecated TragetInfo::bUseMallocProfiler toggle. No longer used as MallocProfiler2 and FMallocProfiler runtime is removed in favor of UnrealInsights.
#jira UE-141779
#rb Joe.Kirchoff
#preflight 64380bdbae4448e6f909db87

[CL 25142451 by ionut matasaru in ue5-main branch]
2023-04-21 02:24:21 -04:00
bryan sefcik
241a1f79d2 Fixed an issue where other target test settings would leak into other tests.
#rb joe.kirchoff
#preflight 6424cc08b01a25d6a00b5cd1

[CL 24848706 by bryan sefcik in ue5-main branch]
2023-03-29 20:09:34 -04:00
chris constantinescu
cd0c323c11 LLT options: Stub platform file and mock some default engine resources for low level tests that run with the engine.
- bUsePlatformFileStub = true replaces the default platform file. The default PF is saved and can be reused at any time.
The side effect is lots of warnings for missing files and object loading errors which is acceptable for low level tests.
- bMockEngineDefaults = true sets some mandatory engine defaults (materials, fonts etc) that can only be loaded from cooked assets.
#jira UE-178194
#rb Ryan.Gerleve
#preflight 63f8e7051206d91a2bd8b0cd

[CL 24407283 by chris constantinescu in ue5-main branch]
2023-02-24 15:27:37 -05:00
chris constantinescu
4e7e7f9f3f LLT cleanup and improvements/updates:
- remove dependency on LaunchEngineLoop.cpp which also allows compilation against engine to succeed
- LowLevelTestsRunner no dependency on engine modules required: Launch, Core, Project
- EXPLICIT_TESTS_TARGET definition for self-contained tests: test modules and targets that derive from TestModuleRules/TestTargetRules respectively
- Cleanup Launch dependencies from existing explicit tests
- Cleanup redundant flags from existing explicit tests
- rename Self -> Foundation for in Horde
- additional platform fixes
Default #preflight 63e14d37244dc45a20e29337
All platform/tests LLTs #preflight 63e022f91b44ee7cb1c11d60
#rnx

[CL 24035900 by chris constantinescu in ue5-main branch]
2023-02-06 14:27:24 -05:00
chris constantinescu
fe1ac0c01a Check for File nullable when tagging test builds
#rnx
#preflight skip

[CL 22922948 by chris constantinescu in ue5-main branch]
2022-11-02 14:43:21 -04:00
chris constantinescu
d20ee9868d Fix postbuild action for win64 low level tests: correct path to build binary
#preflight skip
#rnx

[CL 22886184 by chris constantinescu in ue5-main branch]
2022-11-01 13:34:40 -04:00
joe kirchoff
900599bf9d UnrealBuildTool: Use BuildSettings.Latest as defaults, so changing the latest version will also update these variables. Latest is still set to V2.
#rnx
#rb trivial

[CL 22876166 by joe kirchoff in ue5-main branch]
2022-10-31 20:57:12 -04:00
joe pribele
7938bdda07 [LowLevelTestRunner] added custom reporter to make parsing of xml easier for UnrealVS TestAdapter
#rb devin.doucette
#preflight 635312f3777a77c4407b2733

[CL 22702551 by joe pribele in ue5-main branch]
2022-10-21 18:00:09 -04:00