[CMake] Nightly only tests

Alexander Neundorf a.neundorf-work at gmx.net
Fri Apr 17 16:18:44 EDT 2009


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


More information about the CMake mailing list