Hey there,
I am trying to run just one functional test on a standalone build (5.5.4) with this commandline (this worked for 5.3, just like that):
RunUAT.bat RunUnreal -CustomModuleRoles=MyGame:Client -test=UE.TargetAutomation -runtest=MyFunctionalTest -map=MyMap -project=myproject -build=pathToPackageBuild -platform=theplatform -configuration=theconfig
* I’ve tried PC and PS5.
** The -map parameter isn’t required based on the documentation but I needed it for 5.3:
So! with that commandline above, 2 processes start:
- myProject-theplatform-theconfig.exe
- UnrealEditor.exe
The call ends up failing due to: No automation tests matched MyFunctionalTest
Checking the log:
Editor Log:
LogAutomationWorker: Set 270380 tests to D46699434DEFC5FF4EA022AE5C84F1BC
LogAutomationController: Received RequestTestsReplyCompleteMessage from 04154E5E44EF3823FAB051922BB01569
LogAutomationController: 270380 tests available on 04154E5E44EF3823FAB051922BB01569
LogAutomationCommandLine: Ignoring refresh from ControllerManager. NumDeviceClusters=1, CurrentState=2
Client Log:
LogAutomationWorker: Set 69 tests to F913DCC044BB4CA73A9CA7A8F908CF1D
LogAutomationController: Received RequestTestsReplyCompleteMessage from 3EEFC26841FE4560220A589BD4593131
LogAutomationController: 69 tests available on 3EEFC26841FE4560220A589BD4593131
LogAutomationCommandLine: Display: Found 68 Automation Tests
MyFunctionalTest shows up in the 270380 test list from editor.
But the “client test list” with the 69 tests is the one being checked.
MyFunctionalTest has these flags:
EAutomationTestFlags::ClientContext
EAutomationTestFlags::EditorContext
EAutomationTestFlags::ProductFilter
And suddenly on 5.5.4, the only way for me to achieve a simple FTest run in a standalone build is the GauntletController approach from this post:
Any idea? Thank you!
[Content removed]