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
28361ac31d
LLT: Fix no stdout for Linux tests
...
#jira UE-195640
#rb ue-qa-sdets
[CL 28199971 by chris constantinescu in ue5-main branch]
2023-09-25 15:21:03 -04:00
rafa lecina
b5bde7ae39
Improve tests log output when an assertion is triggered so it shows both the expression and the expanded expression if possible
...
Add Catch::StringConvetrer specialization for FOnlineError in OnlineTests and improved checks to be more informative
#jira UE-192858
[REVIEW] [at]Michael.Kirzinger, [at]Stephen.Ma, [at]Chris.Constantinescu
[CL 28123596 by rafa lecina in ue5-main branch]
2023-09-22 03:06:04 -04:00
chris constantinescu
e0a64b2e7d
Low level tests documentation update to match the public one.
...
Moved the README into the more appropriate LowLevelTestsRunner module folder.
#jira UE-178204
#rb ue-qa-sdets
[CL 27877607 by chris constantinescu in ue5-main branch]
2023-09-14 10:05:35 -04:00
Christine Petrosyan
a8b8600dd5
Fixed an Assertion fail
...
#jira UE-193464
#rb stephen.ma
[CL 27239927 by Christine Petrosyan in ue5-main branch]
2023-08-21 11:16:33 -04:00
david harvey
bdb4199eeb
Remove unnecessary WindowsHWrapper.h & MinWindows.h include - both files will be automatically included by AllowWindowsPlatformTypes.h
...
#jira UE-152863
#rnx
#rb Josh.Adams
[CL 26912096 by david harvey in ue5-main branch]
2023-08-08 05:50:53 -04:00
dave haslam
915b1b9c01
[VOS] add FOptionProperty serialization support and tests (1/2)
...
- copies changes for LowLevelTestRunner to 26.00
[at]chris.constantinescu
[CL 26813816 by dave haslam in ue5-main branch]
2023-08-03 12:09:49 -04:00
chris constantinescu
c45d474014
UnrealVS - do not project prepend project path for Editor configuration in the case of test targets
...
- Project generation will add a new IsTestTarget property in the "Globals" property group section of the project file for explicit test target projects
- UnrealVS checks for this property and does not change the command line for test targets
- TestRunner removes all project argument logic - that can be passed after --extra-args using -project="Path/To/*.uproject" and/or -projectdir="Path/To/Project"
- OSS and Online global handlers, which occur during the Catch2 session, will read project name and/or directory using SetProjectNameAndDirectory from TestCommon/Initialization.h
#jira UE-189840
[CL 26688348 by chris constantinescu in ue5-main branch]
2023-07-28 17:20:05 -04:00
stephen ma
cee64d03a5
LowLevelTests: Fix executable name being used as project path instead of the .uprogram when present.
...
[CL 26576133 by stephen ma in ue5-main branch]
2023-07-25 11:48:15 -04:00
stephen ma
68d83932f5
LowLevelTestRunner: Fix bug when both .uproject and --projectdir is present, projectdir is incorrectly parsed as a .uproject path instead of a directory path.
...
#jira UE-190516
[CL 26438719 by stephen ma in ue5-main branch]
2023-07-18 13:09:59 -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
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