While running the RCPTT Test runner in headless mode with .cmd file on windows, the -data argument is being updated with -autWsPrefix value. This causes failure in AUT being launched correctly.
RCPTT Runner version : 2.5.0
Though the argument -data is set as:
-data %RESULTS%/runner-workspace/
it gets changed to what is set for the option: -autWsPrefix
-autWsPrefix %RESULTS%/aut-workspace
The log shows the command line options logged as below:
!MESSAGE RCPTT: Launching AUT: AUT_0: AUT command line arguments is set to: [-launcher, F:\rcptt.runner-2.5.0\eclipse\eclipse.exe, -name, Eclipse, -showsplash, 600, -product, studio.product, [b]-data, C:\\Studio_RC\\Tests\\\\..\\results/aut-workspace0[/b], -configuration, file:C:/Studio_RC/results/runner-workspace/.metadata/.plugins/org.eclipse.pde.core/AUT_0/, -dev, file:C:/Studio_RC/results/runner-workspace/.metadata/.plugins/org.eclipse.pde.core/AUT_0/dev.properties, -os, win32, -arch, x86_64, -consoleLog, -eclipse.keyring, C:\Studio_RC\results\runner-workspace\.metadata\.plugins\org.eclipse.pde.core\AUT_0/secure_storage, -vm, C:\Studio_RC\jre]
Note:
I tried to remove the -data argument and it still gets added with the value of -autWsPrefix . If I remove -autWsPrefix option then the runner throws error.
Attached is the runner file.
Please suggest some ways to correct this.
[Updated on: Thu, 11 July 2024 10:53]
Report message to a moderator