I have a simple CTest debug configuration where I'm expecting to be able to launch the debugger for a certain test with the given program and arguments. This works fine for tests with 1 argument. However, with multiple args only the first is provided to the program. This seems to be related to CTest representing the argument list as a semicolon-separated string.
Any suggestions? I am able to work-around this issue by adding the arguments as a single string in CTest, though this breaks test running without a debugger.
Hi @agrinh, args input in array format is an known bug for this version. Args allow string & array format. I thought you can directly use string format.
I have a simple CTest debug configuration where I'm expecting to be able to launch the debugger for a certain test with the given program and arguments. This works fine for tests with 1 argument. However, with multiple args only the first is provided to the program. This seems to be related to CTest representing the argument list as a semicolon-separated string.
E.g., for the test
which simply does
the output is
Looking in the log I see that all args are picked up:
Any suggestions? I am able to work-around this issue by adding the arguments as a single string in CTest, though this breaks test running without a debugger.
and results in following execution and log