Hi!

I'm working with the FIXTURES feature of the ctest's and find it very usefull.

I want to skip certain tests if the setup test is skipped

so i added a tests with SKIP_RETURN_CODE feature and set it as FIXTURES_SETUP 
"tty" (just calling command tty -s on unix)
my assumption is that now all tests with FIXTURES_REQUIRED "tty" are also 
skipped.
but it does not seem so. The setup test is skipped, but all tests are executed 
(and fail)

The documentation only says the if the SETUP tests FAILS, the tests requiring 
the FIXTURES_SETUP are not executed,
but then the setup test itself goes into FAIL count, i want it to be skipped

It this a bug or are there better solutions than my hack? I now generate files 
in setup test and add them as REQUIRED_FILES in the dependent tests.


Any help appreciated,
Joerg

-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to