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.



On Mon, Dec 31, 2012 at 1:49 PM, Matthew Woehlke <
[email protected]> 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?
>
> --
> Matthew
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>
--

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