Re: [CMake] ctest, timeout per test/cmd

2007-01-27 Thread Pierre
On 1/26/07, Ken Martin [EMAIL PROTECTED] wrote: 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 (

RE: [CMake] ctest, timeout per test/cmd

2007-01-26 Thread Ken Martin
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

RE: [CMake] ctest, timeout per test/cmd

2007-01-23 Thread Ken Martin
There are two ways to globally put a time limit on each test IIRC. One is to set DART_TESTING_TIMEOUT (see Modules/CTest.cmake) to the number of seconds to let a test run, the other is to set CTEST_TEST_TIMEOUT in your ctest script IIRC. I do not believe there is a way to do it on a per test

Re: [CMake] ctest, timeout per test/cmd

2007-01-23 Thread Pierre
On 1/23/07, Ken Martin [EMAIL PROTECTED] wrote: There are two ways to globally put a time limit on each test IIRC. One is to set DART_TESTING_TIMEOUT (see Modules/CTest.cmake) to the number of seconds to let a test run, the other is to set CTEST_TEST_TIMEOUT in your ctest script IIRC. I do not

RE: [CMake] ctest, timeout per test/cmd

2007-01-23 Thread Ken Martin
The problem with DART_TESTING_TIMEOUT and CTEST_TEST_TIMEOUT is that they apply to the complete test suites. What I'm trying to solve is some infinite loops test cases, I like the tests to fail/timeout but the next tests should be executed as well. Just to make sure we are on the same page :)