Commit Graph

86 Commits

Author SHA1 Message Date
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
chris constantinescu
5a3a0cc990 Online LLT fix global setup
#rb stephen.ma
#preflight 63ee6fed4d2bd4346664ce25

[CL 24265150 by chris constantinescu in ue5-main branch]
2023-02-16 14:19:09 -05:00
Arciel Rekman
84d3f99470 [Backout] - CL24227640
#fyi wouter.dek

The problem with this change is that late-created shader types will not be in the shadertype list and as such will not be included in the shader map even if their ShouldCompilePermutation() would return true.

Original CL Desc
-----------------------------------------------------------------
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.

#preflight 63eca58e7d2ec3d2fd286d9a
#rb zach.bethel

[CL 24240825 by Arciel Rekman in ue5-main branch]
2023-02-15 15:57:24 -05:00
wouter dek
7a70fa6a8f 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.
#preflight 63eca58e7d2ec3d2fd286d9a
#rb zach.bethel

[CL 24227640 by wouter dek in ue5-main branch]
2023-02-15 05:55:29 -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
oleg krasnov
b245acf2dd Fixed false positive static analysis warnings (reccuring check) for the CHECK/REQUIRE_MESSAGE macros
#jira UE-173806
#rb adam.miezianko, chris.constantinescu
#preflight 63d80eed31334253e50d9c64

[CL 23914928 by oleg krasnov in ue5-main branch]
2023-01-30 15:21:58 -05:00
oleg krasnov
c2e80f7007 Implement REQUIRE_MESSAGE macro
#jira UE-174660
#rb adam.miezianko, chris.constantinescu
#preflight 63d2614f574ab9cae41d0f5c
#preflight 63d26122450d5cdd0b4659aa

[CL 23910927 by oleg krasnov in ue5-main branch]
2023-01-30 12:42:57 -05:00