[CMake] ignore skipped tests when running ctest?

Matthew Woehlke matthew.woehlke at kitware.com
Mon Dec 31 13:49:03 EST 2012


I have a bunch of tests that require files that are missing. When I run 
CTest, I get something like:

20% passed, 55 failed
    12 - MyTest (Not Run)
    13 - MyTest (Not Run)
    14 - MyTest (Not Run)
    15 - MyTest (OTHER_FAULT)
    16 - MyTest (Not Run)
    ...etc.

Is there a way to tell CTest to silently skip tests that can't be run 
due to missing REQUIRED_FILES?

-- 
Matthew



More information about the CMake mailing list