David, Ok, I¹ll do the CMake option, in the end this might be the best way to go.
Thanks for the help/suggestions, -dan On 4/17/09 3:33 PM, "David Cole" <david.c...@kitware.com> wrote: > 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 <a.neundorf-w...@gmx.net> > 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 <http://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 > > -- Daniel Blezek, PhD Medical Imaging Informatics Innovation Center P 127 or (77) 8 8886 T 507 538 8886 E blezek.dan...@mayo.edu Mayo Clinic 200 First St. S.W. Harwick SL-44 Rochester, MN 55905 mayoclinic.org
_______________________________________________ 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