36 Commits

Author SHA1 Message Date
robert millar
aaa0f3dc22 Router object to connect telemetry producers with consumer that can aggregate, filter, format and send telemetry to endpoints.
#rb logan.buchy

[CL 26248294 by robert millar in 5.3 branch]
2023-06-26 19:03:01 -04:00
joe pribele
d2b78c257c Undo //Fortnite/Main/... changelist 25858318
[CL 25862359 by joe pribele in ue5-main branch]
2023-06-07 19:42:46 -04:00
joe pribele
8543547111 moved leak detection and Garbage collection to Plugin Manager
Before unmounting the plugin path, GC is ran, leaked detection for any references objects under the plugin path

#rb Justin.Marcus, Markus.Breyer
https://p4-swarm.epicgames.net/reviews/25611054

[CL 25858446 by joe pribele in ue5-main branch]
2023-06-07 17:09:53 -04:00
robert millar
76de3dab98 Missing file for lowleveltests
#rb none

[CL 25415993 by robert millar in ue5-main branch]
2023-05-10 16:35:09 -04:00
robert millar
a8278fe991 Optimize PIE soft object path fixups.
- FSoftObjectPath properties report as containing weak object references for serializers.
- Mark PIE ID fixup archive as ArIsObjectReferenceCollector.

#rb francis.hurteau

[CL 25415885 by robert millar in ue5-main branch]
2023-05-10 16:30:59 -04:00
chris constantinescu
e003cfd4a1 Use Gauntlet to run low level tests instead of BG's Spawn, move LowLevelTests.xml to public folder and remove all restricted platform names
#rb Jerome.Delattre
#preflight 6452abfd4d593c0b422b5d9e

[CL 25335483 by chris constantinescu in ue5-main branch]
2023-05-04 11:05:46 -04:00
chris constantinescu
684f6ff926 Foundation tests: with editor only data = true for desktop platforms, debug and development builds.
#fyi joe.pribele
#preflight skip

[CL 24265912 by chris constantinescu in ue5-main branch]
2023-02-16 14:40:17 -05:00
chris constantinescu
67858d8ade Rename LowLevelTests project and build/target to FoundationTests
#preflight 63e27d251b44ee7cb1070c1b
#rnx

[CL 24051131 by chris constantinescu in ue5-main branch]
2023-02-07 12:02:31 -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
joe pribele
723977298c fix for lowleveltests not running with interactive login
https://p4-swarm.epicgames.net/reviews/23796826
#rb devin.doucette
#preflight 63cb046f91521d87fefd5dff

[CL 23796950 by joe pribele in ue5-main branch]
2023-01-20 16:23:15 -05:00
chris constantinescu
7859a6cdb4 Catch2 feature introduced: test groups and group events at global, group and test group before/after levels
#preflight 636ab505450be1d9f83e90e4
#rb Jerome.Delattre

[CL 23039159 by chris constantinescu in ue5-main branch]
2022-11-08 16:02:46 -05:00
joe pribele
6c9a016275 [UnrealVS] changed TestAdapater to report durations
refactored projects to share files avoiding having to duplicate changes between VS2019 and VS022
added menu to improved discoverability of features
added option to use P4V diff instead of VS diff
#preflight 635c17593c0af539fd57079d

[CL 22833331 by joe pribele in ue5-main branch]
2022-10-28 14:15:27 -04:00
wojciech krywult
568cba9511 [Backout] - CL22010754
#fyi chris.constantinescu
Original CL Desc
-----------------------------------------------------------------
(LLT) Set cached data directories via FPlatformFile::InitializeAfterProjectFilePath -> fixes code path cycle for Program type applications where no project path is defined.
#jira UE-163672
#rb Josh.Adams
#preflight 6321e55e506f1a33e0bf2576

Reverting as it causes UE-165118 (Insights log not being gathered on some platforms). The problem was that some systems rely on the cached paths being available very early during the launch sequence. Delaying the initialization of these paths leads to non-existent paths being used and traces not being written.

#preflight 633355a4d747fe52c807dfbf
#fyi chris.constantinescu
#jira UE-165118
#rnx

[CL 22212743 by wojciech krywult in ue5-main branch]
2022-09-27 18:30:41 -04:00
dmytro vovk
b9e9b0f288 Fixed linker error for Android's build of LowLevelTests
#jira UE-164814
#rb Chris.Babcock
#preflight 632ccc3d100305080682e9ea

[CL 22151094 by dmytro vovk in ue5-main branch]
2022-09-22 22:18:55 -04:00
chris constantinescu
b2e0214c64 (LLT) Set cached data directories via FPlatformFile::InitializeAfterProjectFilePath -> fixes code path cycle for Program type applications where no project path is defined.
#jira UE-163672
#rb Josh.Adams
#preflight 6321e55e506f1a33e0bf2576

[CL 22010754 by chris constantinescu in ue5-main branch]
2022-09-14 13:37:32 -04:00
Devin Doucette
76234e85ae Set EngineIncludeOrderVersion.Latest for several additional targets
#preflight 6318ddca2b7fe03eb66fbb46
#rb none
#rnx

[CL 21858206 by Devin Doucette in ue5-main branch]
2022-09-07 14:45:10 -04:00
chris constantinescu
a1ee2f981b Low level tests readme update
#preflight skip
#rnx

[CL 19943810 by chris constantinescu in ue5-main branch]
2022-04-27 14:32:54 -04:00
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
chris constantinescu
d0d5b9826f Copyright boilerplate
#rnx
#preflight skip

[CL 19784332 by chris constantinescu in ue5-main branch]
2022-04-18 07:41:39 -04:00
chris constantinescu
054a91e666 Introduce global setup for the LowLevelTests project.
Motivation: CoreUObject, taskgraph and threads are global constructs and need to be initialized as such and are expensive to setup/teardown before/after multiple single tests.

Introduced --global-setup and --no-global-setup to control execution of global test setup.
Unit tests that rely heavily on mocking and are designed to run without any global context should use --no-global-setup

Other: Removed CoreTestFixture and applied minor fixes wherever things didn't make sense.
One particular CoreUObject test was converted but had always failed to run on non-desktop platforms. It needs to be addressed ASAP.

#preflight 625873c7e304a95465fc148e
#rb Devin.Doucette, Zousar.Shaker

[CL 19769262 by chris constantinescu in ue5-main branch]
2022-04-15 07:21:27 -04:00
stephen ma
29d8450e88 LowLevelTests: Add ReportType to set -r xml for Dashboard reporting output
#rb @Chis.Constantinescu
#preflight 625038d611261bc7b237948f

[CL 19686665 by stephen ma in ue5-main branch]
2022-04-08 09:56:47 -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
mark lintott
bc9b168688 Add new Unit Tests
#rb Chris.Constantinescu
#preflight 62458f77292f228e09013681

[CL 19571202 by mark lintott in ue5-main branch]
2022-03-31 07:45:37 -04:00
chris constantinescu
ae281656f2 Tests converted from 18848115 made to work multi-platform.
Not all were converted because they were designed for packaged applications whereas low level tests are designed to run as "native" non-packaged applications.
- reporting support for non-desktop platforms, for the moment Catch2 report type "console" is used that is sent to a .out file
- most number of tests possible running multi platform, slower tests excluded on incremental builds
- slow tests are moved to run on the monolithic build
- Catch2 report failure event listener such that Horde detects them as build errors. Must add new Horde matcher for Catch2 failures

#rb Mark.Lintott
#preflight 623c8de389625f0612dabd64

[CL 19498448 by chris constantinescu in ue5-main branch]
2022-03-24 13:28:25 -04:00