Commit Graph

304 Commits

Author SHA1 Message Date
Jerome Delattre
1f5335ba66 Fix "Functional test is already running" error by unsetting FunctionalTesting manager from IFunctionalTestingModule when all tests are done
#author Andrew.Grant
#preflight 64024fbc59017a559b978973
#rb Jerome.Delattre, Andrew.Grant
#jira none

[CL 24505428 by Jerome Delattre in ue5-main branch]
2023-03-03 15:07:24 -05:00
Mikita Hauruk
a3a65dc94f Added check GIsAutomationTesting to avoid [Owner] and [Description] log in PIE
#jira UE-178872
#rb adam.miezianko, jerome.delattre, oleg.krasnov, mikalai.sukhikh
#preflight 64009836df66ed5fc16523c9

[CL 24495775 by Mikita Hauruk in ue5-main branch]
2023-03-03 01:32:33 -05:00
Jerome Delattre
ba5b3a87b5 Output Functional Tests metadata in test info during execution in the log
Use Automation.LogBPTestMetadata CVar to enable the behavior

#jira UE-175266
#preflight 63e15f061020773a3f113f5b
#rb Chris.Constantinescu

[CL 24177156 by Jerome Delattre in ue5-main branch]
2023-02-13 11:33:49 -05:00
patrick enfedaque
369054a373 AFunctionalTest: No support for DataLayers
#rb jeanfancois.dube
#preflight skip

[CL 23989321 by patrick enfedaque in ue5-main branch]
2023-02-03 08:30:39 -05:00
Matt Peters
cf27fe051b FunctionalTestingModule: Cook determinism: Sort AssetRegistryTag value for TestNames.
#rb JeanFrancois.Dube
#rnx
#preflight 63da8635d21dbe1d2939af14

[CL 23948705 by Matt Peters in ue5-main branch]
2023-02-01 10:47:46 -05:00
Jerome Delattre
a10fe36e87 Fix crash when using Automation Wait node in BP when AutomationController is not loaded.
#jira UE-173451
#preflight 63d2d379d21dbe1d29b8f54e
#rb Chris.Constantinescu

[CL 23915969 by Jerome Delattre in ue5-main branch]
2023-01-30 16:11:30 -05:00
Luke Thatcher
75cee9fd43 Marked several functions on the immediate RHICmdList that do not use "this" as deprecated.
- Replaced uses of these functions in the engine with the global scope equivalents.
 - Added some missing global scope RHI...() functions.
 - LLM scopes have been moved into the global scope function, where necessary.

Removed several _RenderThread() RHICmdList functions
 - These were previously provided for the automatic RHI thread stall / flush mechanism, but now provide no benefit
 - Removing these also helps prevent use of FRHICommandListExecutor::GetImmediateCommandList() on threads other than the rendering thread.

Remove RHIExecuteCommandList
 - Unused, legacy code path. No platform RHIs provide an implementation. No need to deprecate since there's no way anyone would be calling it already.

#jira none
#rb Zach.Bethel
#preflight 63c86e2dfb1a8cf245f44469

[CL 23771476 by Luke Thatcher in ue5-main branch]
2023-01-19 06:13:08 -05:00
christopher waters
0270a5f287 Moving FDeferredCleanupInterface and accompanying types to RenderDeferredCleanup.h to remove global dependencies on RenderThread.h
#preflight 6393481ebb6fefa472ddeae0

[CL 23475364 by christopher waters in ue5-main branch]
2022-12-11 23:11:39 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
jerome delattre
dc88499945 Check if FunctionalTest is in /Game/ before removing the string from the path
+ update test full names

#preflight 63729807953c19d4352f4d38
#rb Eric.Knapik
#rnx

[CL 23130111 by jerome delattre in ue5-main branch]
2022-11-14 19:07:47 -05:00
Jerome Delattre
edbf2e2482 Use TestLabel instead of GetName() when logging through Functional Test actor
#jira UE-169721
#rnx
#preflight 636d35594a0097651fff3120
#rb Chris.Constantinescu

[CL 23087025 by Jerome Delattre in ue5-main branch]
2022-11-10 15:48:48 -05:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
guillaume abadie
88b65802a2 Allows DumpGPU to be triggered on automated screenshot test
#rb none
#preflight 635153ba9203f159e5a6e760

[CL 22660612 by guillaume abadie in ue5-main branch]
2022-10-20 12:55:07 -04:00
bryan sefcik
0beee50b45 Updated ../Engine/Source/Developer/... to inline gen.cpp files
Before:
Total CPU Time: 53783.640625 s
Total time in Parallel executor: 558.66 seconds
After:
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

#jira

[CL 22173145 by bryan sefcik in ue5-main branch]
2022-09-24 13:31:25 -04:00
zak middleton
cab8a68724 #ue5 - Fix truncation warnings in modules: DeviceProfileServices, FieldSystemEngine, FontEditor, FunctionalTesting. Includes some related engine fixes as well.
#jira UE-160832
#rb Andrew.Davidson, Dave.Jones2
#preflight 632cbdc17b582f58ab6315ad

[CL 22164453 by zak middleton in ue5-main branch]
2022-09-23 20:23:56 -04:00
jason nadro
2344d8fab9 Back out blocking shader compilation change that caused more problems than it fixed.
#rb trivial
#jira UE-164210, UE-164236
#preflight 632a15d1826e0c2fe962a399

[Backout] - CL21983605
[FYI] Jason.Nadro
Original CL Desc
-----------------------------------------------------------------
Fix bug where we were not blocking on shader compilation before executing a material update context.

- Depending on timing could cause issues with missing shaders where we would update the component before its shaders were complete.
- By default just make the function that submits jobs always block.
- Renable some tests, which this change should fix.

#rb Arciel.Rekman, Chris.Kulla
#jira UE-155888
#preflight 631f7368f927bf0cbaf4e378

[CL 22105123 by jason nadro in ue5-main branch]
2022-09-20 19:23:28 -04:00
jason nadro
2b91bffc97 Fix bug where we were not blocking on shader compilation before executing a material update context.
- Depending on timing could cause issues with missing shaders where we would update the component before its shaders were complete.
- By default just make the function that submits jobs always block.
- Renable some tests, which this change should fix.

#rb Arciel.Rekman, Chris.Kulla
#jira UE-155888
#preflight 631f7368f927bf0cbaf4e378

[CL 21989440 by jason nadro in ue5-main branch]
2022-09-13 14:57:34 -04:00
robert millar
0491bcc13c FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for misc developer dir files.

#jira UE-161932
#rb none
#preflight 631f8070fd6da68d68b56472

[CL 21976423 by robert millar in ue5-main branch]
2022-09-12 19:53:59 -04:00
bryan sefcik
f58e75e476 Pass 2 on cleaning up build.cs files.
#jira
#preflight 631b7a79304480f8f8b48580

[CL 21931324 by bryan sefcik in ue5-main branch]
2022-09-09 19:41:38 -04:00
Tim Smith
b5ac9c22cb Changed FrameDelay to an int32 which is allowed by blueprints. C# UHT wasn't generating an error.
#rb Chris.Kulla
#preflight 6310f54d31667117dfca0e28

[CL 21744521 by Tim Smith in ue5-main branch]
2022-09-01 14:17:12 -04:00
chris kulla
80f833b1bd Expose the number of frames of delay before taking a screenshot
The code had a hardcoded 5 frame delay. All this patch does is expose a setting to control this value (with the default being 5 for backwards compatibility).

The logic is unchanged, first the time based delay is checked, then the frame based delay is checked. You can set either delay to 0 to only use one of them.

This new feature will be used in path tracing related tests to ensure proper convergence regardless of the speed of the machine running the test and without having to set overly lengthy time delays which slow down faster machines without providing guarantees on slower machines.

I have verified that the feature works as expected on all the path tracing tests, including the ones that were frequently failing due to being on the threshold of running too slowly to accumulate enough samples by the time delay.

#jira UE-159434
#rb Jerome.Delattre
#preflight 630fb989556fc14dce9f35a5

[CL 21726693 by chris kulla in ue5-main branch]
2022-08-31 15:47:04 -04:00
bryan sefcik
de1956f47b Ran IWYU on Public headers under Engine/Source/Developer/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21064294 by bryan.sefcik
#jira
#preflight 62d5c2111062f2e63015e598

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182053 by bryan sefcik in ue5-main branch]
2022-07-20 12:03:45 -04:00
Jerome Delattre
bf2021953a Use dot syntax to name blueprint functional tests instead of using the full package path (replacing / by .)
+ support backcomp from functional test exclude list
+ support exclude test fallback when RHI options are specified

#preflight 62d06020a6141b6adffe0656
#jira none
#rb Chris.Constantinescu

[CL 21110753 by Jerome Delattre in ue5-main branch]
2022-07-15 11:19:48 -04:00
zach bethel
d62d286474 Merged PreRender view extension RDG builder with scene render RDG builder.
- Ported remaining ISceneViewExtension calls to RDG.
 - Removed several empty override passes being added to the graph.
 - Merged two graphs into one.

#preflight 62c4c61a2a05d4f55bd5912f
#rb luke.thatcher

[CL 20971717 by zach bethel in ue5-main branch]
2022-07-06 15:33:30 -04:00