ctest shouldn't report skipped tests as failed
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When CTest skips some tests, e.g. because their REQUIRED_FILES
are missing, the tests contribute to the pass/fail statistics and are reported as failing.
I would rather see output like:
50% tests passed, 2 tests failed out of 4 (17 tests were not run)
...and either only list tests that actually failed, or list skipped tests in a separate section
This could be an option, if not suitable as default behavior (or maybe controlled by a global property in the CTestTestfile.cmake
).