summaryrefslogtreecommitdiff
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-19 09:08:57 -0400
committerZach Mullen <zach.mullen@kitware.com>2010-03-19 09:09:02 -0400
commit4b32ee01f24bdd4f83931c100f3bb2dea2b70414 (patch)
treef50eafc2887dae6ce2ed5e69e38d845107bdd942 /Source/cmCTest.cxx
parent40cb9c89d7109aa7ca67755cafc4a7da0f91d5a4 (diff)
downloadcmake-4b32ee01f24bdd4f83931c100f3bb2dea2b70414.tar.gz
Better detection of stop_time being passed.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 9ab881c30d..bd69d6c5ee 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, &current_time);