summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-15 13:36:16 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-08 17:55:01 (GMT)
commit61ab5a8ef451484d3014118ed193eeba83bb22a4 (patch)
treecab8c9b0d7b3ba423128f9f06fb7cd73f4b614e0 /Source/CTest/cmCTestRunTest.h
parent4c199a4c28a0647c0277c7009b5f6e81b26333bb (diff)
downloadCMake-61ab5a8ef451484d3014118ed193eeba83bb22a4.zip
CMake-61ab5a8ef451484d3014118ed193eeba83bb22a4.tar.gz
CMake-61ab5a8ef451484d3014118ed193eeba83bb22a4.tar.bz2
cmCTestMultiProcessHandler: Check stop time more directly
Avoid creating a cmCTestRunTest instance if the stop time has been reached. If the stop time occurs in the small time between creating an instance and computing the child process timeout, we will simply compute a zero timeout. This is already done for the case that we StartAgain after the stop time.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.h')
-rw-r--r--Source/CTest/cmCTestRunTest.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h
index 136b9ef..d5aa589 100644
--- a/Source/CTest/cmCTestRunTest.h
+++ b/Source/CTest/cmCTestRunTest.h
@@ -50,8 +50,6 @@ public:
std::string GetProcessOutput() { return this->ProcessOutput; }
- bool IsStopTimePassed() { return this->StopTimePassed; }
-
cmCTestTestHandler::cmCTestTestResult GetTestResults()
{
return this->TestResult;
@@ -108,7 +106,6 @@ private:
std::string StartTime;
std::string ActualCommand;
std::vector<std::string> Arguments;
- bool StopTimePassed;
bool RunUntilFail;
int NumberOfRunsLeft;
bool RunAgain;