UE 5.1 Command Line test Execution, close editor automatically

Hi everybody, we just updated from 5.0 to 5.1. We have one issue concerning the cli test execution. In 5.0 the editor closed automatically once the tests have finished. When we start the same tests with the same command the editor keeps running after the test finsihed.

UnrealEditor-Cmd.exe "%cd%\SUPER.uproject" ^
 -nosplash -stdout -Unattended -nopause -nosound -nocontentbrowser -log -ExecCmds="Automation RunTests Project.Functional Tests" ^
     -TestExit="Automation Test Queue Empty"  ^
    -ReportExportPath="%cd%\Reports" -Log 

Even if we set bKeepPIEOpen to false with the ini the editor keeps running.

Any suggestions how we can force the editor to stop when the tests are finished

Thanks

3 Likes

Hey Andi,
you need to add a ;Quit command

-ExecCmds="Automation RunTests Project.Functional Tests; Quit"

greez
Joe

7 Likes

Thanks boomchakalaka, that one did the trick!

1 Like

Thanks a lot, this worked for me too!