summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-16 19:33:55 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-03-17 15:04:13 (GMT)
commit0ba9d041174f593509c44f84e0e70fafc6c0edc0 (patch)
treee14112a165cafec052faf1846d97a47acdb612b9 /Source/ctest.cxx
parentbd0b37ea3d5733d087b1498a20e2b87d7f537a9f (diff)
downloadCMake-0ba9d041174f593509c44f84e0e70fafc6c0edc0.zip
CMake-0ba9d041174f593509c44f84e0e70fafc6c0edc0.tar.gz
CMake-0ba9d041174f593509c44f84e0e70fafc6c0edc0.tar.bz2
Add the --stop-time argument
Unit test and script hook for STOP_TIME
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index c9b875d..24921c4 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -218,6 +218,10 @@ static const char * cmDocumentationOptions[][3] =
{"--timeout <seconds>", "Set a global timeout on all tests.",
"This option will set a global timeout on all tests that do not already "
"have a timeout set on them."},
+ {"--stop-time <time>", "Set a time at which all tests should stop running.",
+ "Set a real time of day at which all tests should timeout. Example: "
+ "7:00:00 -0400. Any time format understood by the curl date parser is "
+ "accepted. Local time is assumed if no timezone is specified."},
{"--http1.0", "Submit using HTTP 1.0.",
"This option will force CTest to use HTTP 1.0 to submit files to the "
"dashboard, instead of HTTP 1.1."},