summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.h
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-02 14:08:40 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-02 14:08:40 (GMT)
commit69fd641adb32c878ded4cadee60d90596b358d1b (patch)
treecd9885d9d8a0825b4a3bc227f78780ebf1a1e95b /Source/CTest/cmCTestMultiProcessHandler.h
parent99144383cf17e188f67a5d9e3469bcf1b3a836b8 (diff)
downloadCMake-69fd641adb32c878ded4cadee60d90596b358d1b.zip
CMake-69fd641adb32c878ded4cadee60d90596b358d1b.tar.gz
CMake-69fd641adb32c878ded4cadee60d90596b358d1b.tar.bz2
Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.h')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h
index 34df780..a7800fc 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.h
+++ b/Source/CTest/cmCTestMultiProcessHandler.h
@@ -41,17 +41,17 @@ public:
void SetParallelLevel(size_t);
void RunTests();
void PrintTestList();
- //void SetCTestCommand(const char* c) { this->CTestCommand = c;}
- //void SetTestCacheFile(const char* c) { this->CTestCacheFile = c;}
+ void SubmitBatchTests();
+
void SetPassFailVectors(std::vector<cmStdString>* passed,
std::vector<cmStdString>* failed)
{
- this->Passed = passed;
- this->Failed = failed;
+ this->Passed = passed;
+ this->Failed = failed;
}
void SetTestResults(std::vector<cmCTestTestHandler::cmCTestTestResult>* r)
{
- this->TestResults = r;
+ this->TestResults = r;
}
void SetCTest(cmCTest* ctest) { this->CTest = ctest;}
@@ -78,6 +78,7 @@ protected:
void RemoveTest(int index);
//Check if we need to resume an interrupted test set
void CheckResume();
+ int FindMaxIndex();
// map from test number to set of depend tests
TestMap Tests;
//Total number of tests we'll be running