[CMake] Nightly only tests

Alexander Neundorf a.neundorf-work at gmx.net
Fri Apr 17 15:03:23 EDT 2009


On Friday 17 April 2009, Daniel Blezek wrote:
> Hi all,
>
>   Before I expend too many brain cells on a Friday, I thought I¹d ask the
> list.
>
>   We are approaching 100 test in our project.  I want our developers to run
> tests before they check in, but some of the tests can take upwards of a
> minute to run.  Is there some way to mark a test as part of the Nightly
> tests only, and skip it for developer builds?
>
>   I know I could do this through a CMake option, but perhaps there is a
> cleaner solution.
Does "ctest -E <exclude_regex>" help, i.e. can these tests easily be 
summarized by their name with a regexp ?

Alex


More information about the CMake mailing list