I think you're thinking of "LABELS"...

See CVS CMake documentation for the LABELS property:
cmake --help-property LABELS
It would basically be like -E though. The default is to run everything.
Label based running or name based running with -E or -R must be specified
explicitly.

Dan, it's probably best to implement in terms of a CMake option. That way,
you could have it OFF by default and exclude the commonly excluded tests.
People who want the complete test suite would then have to turn ON the
options explicitly.


HTH,
David


On Fri, Apr 17, 2009 at 1:18 PM, Alexander Neundorf <[email protected]
> wrote:

> On Friday 17 April 2009, Daniel Blezek wrote:
> > Alex,
> >
> >   Sure, that will do the trick, but that requires developers to remember
> > the -E. ;->
> >
> > I suppose an example would help...
> >
> > add_test ( ForNightly BUILDTYPES "Nightly"
> > ${CMAKE_BINARY_DIR}/bin/LongRunning --iterations 10000000 )
> >
> > add_test ( ForExperimental BUILDTYPES "Experimental Continuous"
> > ${CMAKE_BINARY_DIR}/bin/ShortRunning --iterations 10 )
> >
> > add_test ( ForContinuous BUILDTYPES "Continuous"
> > ${CMAKE_BINARY_DIR}/bin/MediumRunning --iterations 1000 )
> >
> > A naked "ctest" would run only Experimental tests.  This could
> potentially
> > be made more flexible by adding "tags" to tests.
>
> Maybe something like this was added lately to cmake cvs and tests, there
> were
> some commits which dealt with tests and something like tags or flags or
> something...
>
> Alex
>  _______________________________________________
> 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
>
_______________________________________________
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