summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-10-29 19:30:12 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-10-29 19:30:12 (GMT)
commit8612aa10b681fb31bcf3e4959b151fc7f3a5442e (patch)
tree60854e460425b7becc46e2ca93f9626a4262f2f1 /Source/cmCTest.h
parente183581b1459aba72758f395d7e1b74ff8f6aade (diff)
downloadCMake-8612aa10b681fb31bcf3e4959b151fc7f3a5442e.zip
CMake-8612aa10b681fb31bcf3e4959b151fc7f3a5442e.tar.gz
CMake-8612aa10b681fb31bcf3e4959b151fc7f3a5442e.tar.bz2
Hook for scheduling tests in a random order
This may help statistically detect implicit dependencies among unit tests while running in parallel.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index f401c55..47023f1 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -191,6 +191,9 @@ public:
///! Should we only show what we would do?
bool GetShowOnly();
+ //Used for parallel ctest job scheduling
+ std::string GetScheduleType() { return this->ScheduleType; }
+ void SetScheduleType(std::string type) { this->ScheduleType = type; }
///! The max output width
int GetMaxTestNameWidth() const;
@@ -374,6 +377,7 @@ public:
bool GetLabelSummary() { return this->LabelSummary;}
private:
std::string ConfigType;
+ std::string ScheduleType;
bool Verbose;
bool ExtraVerbose;
bool ProduceXML;