mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
cmCTestMultiProcessHandler: Clarify search for tests <= concurrency limit
This commit is contained in:
@@ -577,7 +577,12 @@ void cmCTestMultiProcessHandler::StartNextTests()
|
||||
}
|
||||
}
|
||||
|
||||
if (processors <= numToStart && this->StartTest(test)) {
|
||||
// Exclude tests that are too big to fit in the concurrency limit.
|
||||
if (processors > numToStart) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (this->StartTest(test)) {
|
||||
numToStart -= processors;
|
||||
} else if (numToStart == 0) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user