summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.h
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/cmCTestRunTest.h
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/cmCTestRunTest.h')
-rw-r--r--Source/CTest/cmCTestRunTest.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h
index 1e4c1cc..14fa2e5 100644
--- a/Source/CTest/cmCTestRunTest.h
+++ b/Source/CTest/cmCTestRunTest.h
@@ -59,7 +59,9 @@ public:
private:
void DartProcessing();
void ExeNotFound(std::string exe);
- bool CreateProcess(double testTimeOut,
+ // Figures out a final timeout which is min(STOP_TIME, NOW+TIMEOUT)
+ double ResolveTimeout();
+ bool ForkProcess(double testTimeOut,
std::vector<std::string>* environment);
void WriteLogOutputTop(size_t completed, size_t total);
//Run post processing of the process output for MemCheck