MCPcopy Create free account
hub / github.com/Kitware/CMake / CheckResourceAvailability

Method CheckResourceAvailability

Source/CTest/cmCTestMultiProcessHandler.cxx:445–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445void cmCTestMultiProcessHandler::CheckResourceAvailability()
446{
447 if (this->UseResourceSpec) {
448 for (auto const& t : this->PendingTests) {
449 std::map<std::string, std::vector<cmCTestBinPackerAllocation>>
450 allocations;
451 this->TryAllocateResources(t.first, allocations,
452 &this->ResourceAvailabilityErrors[t.first]);
453 }
454 }
455}
456
457bool cmCTestMultiProcessHandler::CheckStopOnFailure()
458{

Callers 2

ProcessDirectoryMethod · 0.80
EndTestMethod · 0.80

Calls 1

TryAllocateResourcesMethod · 0.95

Tested by

no test coverage detected