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
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to