[CMake] Running unit test as part of the build
Erik Johansson
erik at ejohansson.se
Sat Sep 10 12:10:42 EDT 2011
Hi,
How does one get cmake to run the unit test as part of the build so that:
- If the unit test fails, the build fails.
- If the unit test has failed, and make is run again, the unit test
will run again.
- If the unit test has succeeded, and make is run again, the unit test
will not run again.
I know how to get two out of three, but not all three at once.
Best regards,
// Erik
--
Erik Johansson
Home Page: http://ejohansson.se/
PGP Key: http://ejohansson.se/erik.asc
More information about the CMake
mailing list