mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user