[CMake] ctest return code

Tom Deblauwe tom.deblauwe at traficon.com
Wed Feb 15 11:14:48 EST 2012


Hello,

I'm able to run my unittests and build everything using a ctest -S 
script, and also submit the results to cdash. However, I would like to 
determine if the unittests fail in the bash script where I run ctest in. 
But it doesn't return an error code when the unittests fail. How can I 
determine this?

Thanks,
Best regards,
Tom,



More information about the CMake mailing list