| 1552 | } |
| 1553 | |
| 1554 | void cmCTestTestHandler::AttachFiles(cmXMLWriter& xml, |
| 1555 | cmCTestTestResult& result) |
| 1556 | { |
| 1557 | if (result.Status != cmCTestTestHandler::COMPLETED && |
| 1558 | !result.Properties->AttachOnFail.empty()) { |
| 1559 | result.Properties->AttachedFiles.insert( |
| 1560 | result.Properties->AttachedFiles.end(), |
| 1561 | result.Properties->AttachOnFail.begin(), |
| 1562 | result.Properties->AttachOnFail.end()); |
| 1563 | } |
| 1564 | for (std::string const& file : result.Properties->AttachedFiles) { |
| 1565 | this->AttachFile(xml, file, ""); |
| 1566 | } |
| 1567 | } |
| 1568 | |
| 1569 | void cmCTestTestHandler::AttachFile(cmXMLWriter& xml, std::string const& file, |
| 1570 | std::string const& name) |
no test coverage detected