I have some tests that are expected to abort. Imagine something like:
#include <assert.h>
int main(void) {
assert(0);
return 0;
}
If I put this test into cmake and set the test's property WILL_FAIL to TRUE, it
fails with "Exception: Other". I'm writing C, so I don't have exceptions, but
cmake seems to interpret an abort() as an exception. I can't find anything to
tell cmake/ctest that a test is supposed to abort(). Is there such a thing?
--
Cheers,
Leif
--
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