diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-03-19 13:08:57 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-03-19 13:09:02 (GMT) |
commit | 4b32ee01f24bdd4f83931c100f3bb2dea2b70414 (patch) | |
tree | f50eafc2887dae6ce2ed5e69e38d845107bdd942 /Source/cmCTest.cxx | |
parent | 40cb9c89d7109aa7ca67755cafc4a7da0f91d5a4 (diff) | |
download | CMake-4b32ee01f24bdd4f83931c100f3bb2dea2b70414.zip CMake-4b32ee01f24bdd4f83931c100f3bb2dea2b70414.tar.gz CMake-4b32ee01f24bdd4f83931c100f3bb2dea2b70414.tar.bz2 |
Better detection of stop_time being passed.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 9ab881c..bd69d6c 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -311,6 +311,7 @@ cmCTest::cmCTest() this->InteractiveDebugMode = true; this->TimeOut = 0; this->GlobalTimeout = 0; + this->LastStopTimeout = 24 * 60 * 60; this->CompressXMLFiles = false; this->CTestConfigFile = ""; this->ScheduleType = ""; @@ -2580,7 +2581,7 @@ void cmCTest::DetermineNextDayStop() lctime->tm_mon + 1, lctime->tm_mday, this->StopTime.c_str(), - timezone); + tzone_offset); time_t stop_time = curl_getdate(buf, ¤t_time); |