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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to