[CMake] ctest, timeout per test/cmd

Ken Martin ken.martin at kitware.com
Fri Jan 26 09:36:57 EST 2007


Yesterday I checked in some changes to that you can specify a timeout per
test if desired. Essentially...

  add_test ( MyTest1 ....)
  set_tests_properties ( MyTest1 PROPERTIES TIMEOUT 100)

  add_test ( MyTest2 ....)
  set_tests_properties ( MyTest2 PROPERTIES TIMEOUT 500)

  etc...

The timeout is specified in seconds. This feature should work in both
dashboard and non-dashboard ctest invocations.

Thanks
Ken

Ken Martin PhD 
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971 





More information about the CMake mailing list