On 2012-12-31 14:08, David Cole wrote:
On Mon, Dec 31, 2012 at 1:49 PM, Matthew Woehlke wrote:
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?

Other than naming them explicitly with a -E regex on the command line or an
EXCLUDE argument to ctest_test, no, there is presently no way to do that.

This issue ( http://public.kitware.com/Bug/view.php?id=8466 ) has a patch
attached to it which may (or may not) be of interest to you.

Thanks, but I think that's orthogonal. That's talking about new ways for ctest to recognize a test result. I'm talking about differently reporting a test result that is already recognized.

--
Matthew

--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to