[CMake] CTest passing arguments to test executables?
Bill Hoffman
bill.hoffman at kitware.com
Tue Mar 24 10:36:03 EDT 2009
Alastair Rankine wrote:
> Hi,
>
> I must be blind but I can't see a way for CTest to pass a command line
> argument to a test executable?
>
> I've tried using
>
> --test-command "testExe myargs"
>
> ... but this causes it to not find the executable.
>
> Any help appreciated, thanks.
>
Just put --test-command last and then have the args follow:
--test-commnad testExe myag1 myarg2 ...
-Bill
More information about the CMake
mailing list