Set the tests
| 133 | |
| 134 | // Set the tests |
| 135 | bool cmCTestMultiProcessHandler::SetTests(TestMap tests, |
| 136 | PropertiesMap properties) |
| 137 | { |
| 138 | this->PendingTests = std::move(tests); |
| 139 | this->Properties = std::move(properties); |
| 140 | this->Total = this->PendingTests.size(); |
| 141 | if (!this->CTest->GetShowOnly()) { |
| 142 | this->ReadCostData(); |
| 143 | this->HasCycles = !this->CheckCycles(); |
| 144 | this->HasInvalidGeneratedResourceSpec = |
| 145 | !this->CheckGeneratedResourceSpec(); |
| 146 | if (this->HasCycles || this->HasInvalidGeneratedResourceSpec) { |
| 147 | return false; |
| 148 | } |
| 149 | this->CreateTestCostList(); |
| 150 | } |
| 151 | return true; |
| 152 | } |
| 153 | |
| 154 | // Set the max number of tests that can be run at the same time. |
| 155 | void cmCTestMultiProcessHandler::SetParallelLevel(cm::optional<size_t> level) |
no test coverage detected