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

Method Finish

Source/CTest/cmProcess.cxx:360–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360void cmProcess::Finish()
361{
362 this->TotalTime = std::chrono::steady_clock::now() - this->StartTime;
363 // Because of a processor clock skew the runtime may become slightly
364 // negative. If someone changed the system clock while the process was
365 // running this may be even more. Make sure not to report a negative
366 // duration here.
367 if (this->TotalTime <= cmDuration::zero()) {
368 this->TotalTime = cmDuration::zero();
369 }
370 this->Runner->FinalizeTest();
371}
372
373cmProcess::State cmProcess::GetProcessStatus()
374{

Callers 5

OnReadMethod · 0.95
OnTimeoutMethod · 0.95
LLVMFuzzerTestOneInputFunction · 0.45
ReadPackageFunction · 0.45
cmProcess.cxxFile · 0.45

Calls 1

FinalizeTestMethod · 0.80

Tested by

no test coverage detected