mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05: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;
|
numToStart -= processors;
|
||||||
} else if (numToStart == 0) {
|
} else if (numToStart == 0) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user