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

Method SubmitExtraFiles

Source/cmCTest.cxx:1289–1301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1287}
1288
1289bool cmCTest::SubmitExtraFiles(std::vector<std::string> const& files)
1290{
1291 for (std::string const& file : files) {
1292 if (!cmSystemTools::FileExists(file)) {
1293 cmCTestLog(this, ERROR_MESSAGE,
1294 "Cannot find extra file: " << file << " to submit."
1295 << std::endl);
1296 return false;
1297 }
1298 this->AddSubmitFile(PartExtraFiles, file);
1299 }
1300 return true;
1301}
1302
1303bool cmCTest::SubmitExtraFiles(std::string const& cfiles)
1304{

Callers 2

RunMethod · 0.95
InitializeHandlerMethod · 0.80

Calls 3

AddSubmitFileMethod · 0.95
FileExistsFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected