[FYI] bob.tellez
Original CL Desc
Restoring CL 28289106 and 28295841
- Fixes an edge case where no artifacts are created but a process log is still created. This would throw as streamwriter's require the directory already exist
- Added additional exception guarding to ensure minimal loss in artifact generation.
-----------------------------------------------------------------
[Backout] - CL28289106 and 28295841
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering
#rb Clayton.Langford
#tests Self-Test
[CL 28329688 by brendan lienau in ue5-main branch]
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering
#rb Clayton.Langford
#tests Self-Test
[CL 28309277 by bob tellez in ue5-main branch]
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering
#rb Clayton.Langford
#tests Self-Test
[CL 28291888 by brendan lienau in ue5-main branch]
- Adds ITargetDevice.ClearSavedDirectory
- Adds ITargetDevice.CopyAppConfigFiles
Platforms that have these functions implemented change per pass implementation:
Adjusts per pass from FROM
Pass 1
- InstallApplication (including clearing device cache and copying additional files)
- Run the app
Pass 2 and beyond
- Run the app
TO
Pass 1
- ClearSavedDirectory
- InstallApplication
- CopyAppConfigFiles
- Run the app
Pass 2 and beyond
- ClearSavedDirectory
- CopyAppConfigFiles
- Run the app
#rb andrew.grant, adolf.stary
[CL 28005887 by brendan lienau in ue5-main branch]
- Catch2 built for LinuxArm64
- new option to run apps in containerized mode
- builds docker image, setup and cleanup
- StringOp BuildGraph element for string operations (replace, to lower etc)
#jira UE-193565
#rb ue-qa-sdets
[CL 27758925 by chris constantinescu in ue5-main branch]
When -editordir is specified trim the editor path to be relative
Add support for -target command line argument to Gauntlet
#jira UE-193609
#rnx
#rb Chris.Constantinescu
[CL 27485635 by Jerome Delattre in ue5-main branch]
IUnrealRoleConfigurations are a type that let you modularize functionality for any role in a gauntlet test. It's primarily designed to generate command line arguments, but can do anything that's desired to the target Role.
IUnrealRoleConfigurations supply two interface functions
-ApplyConfigToRole - Core implementation of the configuration, this is the "doing"
-VerifyRoleConfig - Verification implementation. This gives you a chance to verify the "Apply" step had the desired result.
#rb Clayton.Langford
[CL 26855812 by brendan lienau in ue5-main branch]
* Added new class RpcSynchronousTestExecutor - this class allows for a test logic thread to be configured and run where Test Logic can be executed in a synchronus manner. You can use blocking calls and loops here while not interfering with Gauntlet's main loop.
* Added new interface ISynchronousTestLogic to assist with the implementation of RpcSychronousExecutor in Gauntlet tests.
* Added template specialization to FFortBaseExternalRpcHttpResponse due to bool/FString overload resolution errors and updated dependent files.
* Updated UEFNCloseEditor test to use RpcLibrary
* Added ExitEditor RPC (UE + Gauntlet)
* Added in outgoing messages from processes to indicate when ready to begin the test
* Added logic to automatically poll for ready instead of waiting for a message if we're on Xbox since it can't send outbound messages to Gauntlet.
To test locally:
RunUAT.bat RunFortTests -build=editor -tests=UEFNCloseEditor
[CL 26188198 by tim kennedy in ue5-main branch]