stephen ma
c94bfd0067
LowLevelTests: Fix bug where --projectdir= was only allowed as the first argument. Its now allowed anywhere on path.
...
[CL 26210283 by stephen ma in ue5-main branch]
2023-06-23 11:02:30 -04:00
stephen ma
3dbd591598
LowLevelTests: Fix issue with nested && || warning with GCC.
...
[CL 26198401 by stephen ma in ue5-main branch]
2023-06-22 19:10:53 -04:00
stephen ma
d1087a6cb5
LowLevelTests: Add ability to set -ProjectDir via first paramter ending in .uproject or via -projectdir.
...
This should allow running LowLevelTests correctly via UnrealVS.
#jira UE-188819
[CL 26194548 by stephen ma in ue5-main branch]
2023-06-22 17:27:45 -04:00
Rafa Lecina
6a561cbde0
Add explicit dependency to Core in LowLevelTestsRunner and fix missing symbols if ApplicationCore is not included for iOS
...
#review @Bertrand.Carre, @Michael.Kirzinger, @Chris.Constantinescu, @Stephen.Ma
#jira UE-166445
[CL 26085994 by Rafa Lecina in ue5-main branch]
2023-06-19 05:21:24 -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
robert millar
e18844e14d
Add -waitfordebugger argument matching to low level test runner to match editor/game arguments
...
#rb none
[CL 25986029 by robert millar in ue5-main branch]
2023-06-14 13:42:52 -04:00
joe pribele
bcf1352880
finish initializing the garbage collector allowing tests to run GC
...
#rb Chris.Constantinescu
https://p4-swarm.epicgames.net/reviews/25665144
#preflight 6474e4595152deaa1097fb22
[CL 25667530 by joe pribele in ue5-main branch]
2023-05-29 15:37:03 -04:00
joe pribele
424b17c8c1
always initialize GWarn as its used by FScopedSlowTask
...
https://p4-swarm.epicgames.net/reviews/25633852
#rb Chris.Constantinescu
#preflight 6470d8669c600ef1537ddb82
[CL 25650674 by joe pribele in ue5-main branch]
2023-05-26 15:07:10 -04:00
Christine Petrosyan
a17841673c
Fixed the UE_PROJECT_NAME logic, that was reversed
...
#jira UEUE-185576
#rb stephen.ma
#preflight 645bd27de81da34de9559339
[CL 25415910 by Christine Petrosyan in ue5-main branch]
2023-05-10 16:32:16 -04:00
Mikita Hauruk
5be0318fe8
Translated tests from different directories from Engine\Source\Runtime\Core\Private\Tests
...
#jira UE-181091
#rb chris.constantinescu
#preflight 644a01d2401d328ad94ad6dc
#preflight 644a0651877716c878ee9ffa
[CL 25211346 by Mikita Hauruk in ue5-main branch]
2023-04-27 02:37:46 -04:00
ionut matasaru
c04fc14767
Removed the deprecated MemoryProfiler runtime:
...
* Removed code switched by USE_MALLOC_PROFILER.
* Removed the USE_MALLOC_PROFILER define and the MALLOC_PROFILER macro.
* Removed PLATFORM_RUNTIME_MALLOCPROFILER_SYMBOLICATION define.
* Removed FMallocProfilerEx and FMallocProfilerEx wrappers and the GMallocProfiler global variable.
* Removed console commands: "MPROF", "DUMPALLOCSTOFILE", "SNAPSHOTMEMORY" and "SNAPSHOTMEMORYFRAME".
Please use Unreal Insights (Memory Insights; -trace=memory) instead.
#jira UE-141779
#rb Johan.Berg
#preflight 6437f5dd00398d6f88b5b18f
[CL 25101805 by ionut matasaru in ue5-main branch]
2023-04-19 04:07:55 -04:00
Mikita Hauruk
9e9a9a41da
Added UE_KINDA_SMALL_NUMBER to Tolerance in Comparisons.h
...
#rb chris.constantinescu
#preflight 643ecc39db681113a4f4d387
[CL 25089771 by Mikita Hauruk in ue5-main branch]
2023-04-18 13:15:05 -04:00
Mikita Hauruk
b3c747de82
Translated tests from Engine\Source\Runtime\Core\Private\Tests\Misc
...
#jira UE-179308
#rb chris.constantinescu, oleg.krasnov, mikalai.sukhikh
#preflight 643e2df78d0bcde49ce0be12, 643e2e04702378c5730a543a
[CL 25082072 by Mikita Hauruk in ue5-main branch]
2023-04-18 02:55:05 -04:00
chris constantinescu
a1df65eeb5
Low Level Tests: timeout detection from within test app, inactivity detection via Gauntlet
...
Default timeouts for tests are:
- optional, only enabled when set via --timeout=X (in minutes)
- standard practice to help triage tests and bound their running time; slower tests can be tagged appropriately and run with the nightly tests
- useful to detect segmentation faults and other issues by enforcing a maximum period of inactivity
#rb Jerome.Delattre, Adam.Miezianko, Rob.Huyett
#jira UE-182253
#preflight 642f18864c3ccbbdf18b9916
[CL 25067632 by chris constantinescu in ue5-main branch]
2023-04-17 10:11:51 -04:00
stephen ma
75512cbfc0
LowLevelTests: Allow GInternalProjectName to be defined by UE_PROJECT_NAME
...
#rb Chris.Constantinescu, Michael.Kirzinger
#preflight 64271ce1861bf344ce41070c
[CL 24927687 by stephen ma in ue5-main branch]
2023-04-05 10:20:42 -04:00
Mikita Hauruk
d38503fddd
Translated tests from Engine\Source\Runtime\Core\Private\Tests\HAL
...
#jira UE-179766
#rb chris.constantinescu, oleg.krasnov, mikalai.sukhikh
#preflight 6417f3c3345ab08524995e40, 6417f43c42618c85c46420ee
[CL 24713496 by Mikita Hauruk in ue5-main branch]
2023-03-20 03:31:51 -04:00
Ryan Gerleve
4fdbfce9a0
Add a stub low-level tests program for the NetworkPrediction plugin.
...
Migrated and updated the only test code I found in the plugin, some basic predicted cue functionality, to the test program.
Low-level test runner InitAll helper function now sets GIsRunning to true, NetworkPrediction is checking for this during initialization.
#jira none
#rb brian.bekich, chris.constantinescu
#preflight 6413818332723d4a20e515c8
[CL 24679630 by Ryan Gerleve in ue5-main branch]
2023-03-16 17:08:41 -04:00
chris constantinescu
b0e2605d0a
Nightly Low Level tests must run only slow and performance tests
...
Additional small quality of life fixes
#rb Jerome.Delattre, Rob.Huyett
#preflight 64120656bd6894c435c1f7c4
[CL 24660566 by chris constantinescu in ue5-main branch]
2023-03-15 15:35:19 -04:00
Ryan Gerleve
334fce160a
Run EDelayedRegisterRunPhase::PreObjectSystemReady and EDelayedRegisterRunPhase::ObjectSystemReady in the low level test runner's InitCoreUObject helper.
...
Replication system tests: initialize some ini settings in the PreObjectSystemReady phase to prevent "Generating descriptor for struct that has custom serialization" warnings.
#jira UE-178241
#preflight 640123f33206d45d20ca57d5
#rb peter.engstrom, chris.constantinescu
[CL 24499028 by Ryan Gerleve in ue5-main branch]
2023-03-03 10:51:27 -05:00
Matt Peters
b76ee66366
Add -buildmachine to LowLevelTests, so that DDC performance warnings can be downgraded to display.
...
#rnx
#rb Zousar.Shaker, Devin.Doucette
#preflight 63fd16fe437ce3e7f3449cce
[CL 24434214 by Matt Peters in ue5-main branch]
2023-02-27 17:44:59 -05:00
Mikita Hauruk
b9a6423823
Translated tests from Engine\Source\Runtime\Core\Private\Tests\Math
...
Added CHECK_FALSE_MESSAGE
#jira UE-176630
#rb adam.miezianko, chris.constantinescu, oleg.krasnov, mikalai.sukhikh
#preflight 63f5e30e500c05a6241283b8, 63f5e306ff5afbbb038a30ab
[CL 24419943 by Mikita Hauruk in ue5-main branch]
2023-02-27 00:26:21 -05:00
chris constantinescu
2bfbb96df8
Mute missing packages when using platform file stub
...
#rb Ryan.Gerleve
#preflight 63f92d1a2b1a2765f99cccca
[CL 24411374 by chris constantinescu in ue5-main branch]
2023-02-24 18:10:16 -05: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
Ryan Gerleve
924855dfa9
Add a couple calls to RunAndClearDelayedAutoRegisterDelegates from the low-level tests runner to run additional initialization code, required to run tests that depend on the engine module on some platforms.
...
#jira UE-166991
#preflight 63f62f82ff5afbbb03a73268
#rb chris.constantinescu
[CL 24361348 by Ryan Gerleve in ue5-main branch]
2023-02-22 10:23:19 -05:00
wouter dek
3ae5c6c895
Convert shader type and parameter struct metadata from global variables to static locals to defer initialization. This allows us to create these types dynamically at startup, while keeping the rest of the infrastructure as is.
...
#rb jason.nadro
#preflight 63f352130803c73accb744f1
[CL 24311526 by wouter dek in ue5-main branch]
2023-02-20 06:10:39 -05:00