[CMake] CTest errors out when skipping a test
Christoph Grüninger
foss at grueninger.de
Tue Dec 2 05:59:29 EST 2014
Hi CMake,
I am testing the SKIP_RETURN_CODE property for tests. Unfortunately
ctest error out when it found skipped tests. I expect ctest to not
fail, because skipped tests should be indicated, but are to some
extend expected and should still leave ctest passing.
Is this a bug? Or do I misunderstand the way CTest considers skipped
tests?
Thanks
Christoph
== Test output ==
[..]
Start 24: dtest
24/48 Test #24: dtest .......***Skipped 0.00 sec
Start 25: etest
25/48 Test #25: etest ............................ Passed 0.00 sec
[..]
92% tests passed, 4 tests failed out of 48
Total Test time (real) = 4.50 sec
The following tests FAILED:
3 - atest (Not Run)
4 - btest (Not Run)
5 - ctest (Not Run)
24 - dtest (Not Run)
Errors while running CTest
make: *** [test] Error 8
More information about the CMake
mailing list