summaryrefslogtreecommitdiff
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-16 15:33:55 -0400
committerZach Mullen <zach.mullen@kitware.com>2010-03-17 11:04:13 -0400
commit0ba9d041174f593509c44f84e0e70fafc6c0edc0 (patch)
treee14112a165cafec052faf1846d97a47acdb612b9 /Source/cmCTest.h
parentbd0b37ea3d5733d087b1498a20e2b87d7f537a9f (diff)
downloadcmake-0ba9d041174f593509c44f84e0e70fafc6c0edc0.tar.gz
Add the --stop-time argument
Unit test and script hook for STOP_TIME
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index adf359c7f7..4b6698544e 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -214,6 +214,9 @@ public:
std::string GetCDashVersion();
+ std::string GetStopTime() { return this->StopTime; }
+ void SetStopTime(std::string time);
+
//Used for parallel ctest job scheduling
std::string GetScheduleType() { return this->ScheduleType; }
void SetScheduleType(std::string type) { this->ScheduleType = type; }
@@ -403,6 +406,8 @@ public:
private:
std::string ConfigType;
std::string ScheduleType;
+ std::string StopTime;
+ bool NextDayStopTime;
bool Verbose;
bool ExtraVerbose;
bool ProduceXML;
@@ -420,6 +425,8 @@ private:
int GenerateNotesFile(const char* files);
+ void DetermineNextDayStop();
+
// these are helper classes
typedef std::map<cmStdString,cmCTestGenericHandler*> t_TestingHandlers;
t_TestingHandlers TestingHandlers;