Hi all,

I noticed that 'ctest -DExperimentalBuild' returns with an exit status
0, even if compiler errors occur. I think that is caused by the fact
that 'make -i' is used. The "-i|--ignore-errors" option causes make to
always exit with status 0. 

Wouldn't it make more sense to use 'make -k' instead? 
The "-k|--keep-going" option tries to build as much as possible, but
won't try to build targets that depend on sources that failed to
compile. Furthermore, and more importantly, 'make -k' will return with
an exit status unequal to 0, if compiler errors occurred. 

Best regards,
Marcel Loose.


_______________________________________________
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