summaryrefslogtreecommitdiffstats
path: root/Source/cmTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTest.cxx')
-rw-r--r--Source/cmTest.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx
index 47f8792..2e0b92b 100644
--- a/Source/cmTest.cxx
+++ b/Source/cmTest.cxx
@@ -118,6 +118,15 @@ void cmTest::DefineProperties(cmake *cm)
" regular expressions has to match, otherwise the test will fail.");
cm->DefineProperty
+ ("TIMEOUT", cmProperty::TEST,
+ "How many seconds to allow for this test.",
+ "This property if set will limit a test to nto take more than "
+ "the specified number of seconds to run. If it exceeds that the "
+ "test process will be killed and ctest will move to the next test. "
+ "This setting takes precedence over DART_TESTING_TIMEOUT and "
+ "CTEST_TESTING_TIMOUT.");
+
+ cm->DefineProperty
("WILL_FAIL", cmProperty::TEST,
"If set to true, this will invert the pass/fail flag of the test.",
"This property can be used for tests that are expected to fail and "