mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
cmCTestRunTest: Use inline member initializers
This commit is contained in:
@@ -34,9 +34,6 @@ cmCTestRunTest::cmCTestRunTest(cmCTestMultiProcessHandler& multiHandler)
|
||||
this->TestResult.Status = cmCTestTestHandler::NOT_RUN;
|
||||
this->TestResult.TestCount = 0;
|
||||
this->TestResult.Properties = nullptr;
|
||||
this->NumberOfRunsLeft = 1; // default to 1 run of the test
|
||||
this->RunUntilFail = false; // default to run the test once
|
||||
this->RunAgain = false; // default to not having to run again
|
||||
}
|
||||
|
||||
void cmCTestRunTest::CheckOutput(std::string const& line)
|
||||
|
||||
@@ -129,9 +129,9 @@ private:
|
||||
std::vector<std::map<
|
||||
std::string, std::vector<cmCTestMultiProcessHandler::HardwareAllocation>>>
|
||||
AllocatedHardware;
|
||||
bool RunUntilFail;
|
||||
int NumberOfRunsLeft;
|
||||
bool RunAgain;
|
||||
bool RunUntilFail = false; // default to run the test once
|
||||
int NumberOfRunsLeft = 1; // default to 1 run of the test
|
||||
bool RunAgain = false; // default to not having to run again
|
||||
size_t TotalNumberOfTests;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user