diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-10-29 19:30:12 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-10-29 19:30:12 (GMT) |
commit | 8612aa10b681fb31bcf3e4959b151fc7f3a5442e (patch) | |
tree | 60854e460425b7becc46e2ca93f9626a4262f2f1 /Source/cmCTest.h | |
parent | e183581b1459aba72758f395d7e1b74ff8f6aade (diff) | |
download | CMake-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.h | 4 |
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; |