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

Method WriteCheckpoint

Source/CTest/cmCTestMultiProcessHandler.cxx:1043–1051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1041}
1042
1043void cmCTestMultiProcessHandler::WriteCheckpoint(int index)
1044{
1045 std::string fname =
1046 this->CTest->GetBinaryDir() + "/Testing/Temporary/CTestCheckpoint.txt";
1047 cmsys::ofstream fout;
1048 fout.open(fname.c_str(), std::ios::app);
1049 fout << index << "\n";
1050 fout.close();
1051}
1052
1053void cmCTestMultiProcessHandler::MarkFinished()
1054{

Callers 1

FinishTestProcessMethod · 0.95

Calls 4

GetBinaryDirMethod · 0.80
c_strMethod · 0.80
openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected