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

Reply via email to