Merge topic 'CTest-crash-missing-glob'

6db63012 CTest: fix crash if source file for coverage cannot be found

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1289
This commit is contained in:
Brad King 2017-09-20 11:46:00 +00:00 committed by Kitware Robot
commit 4f971e700a

View File

@ -560,6 +560,8 @@ int cmCTestCoverageHandler::ProcessHandler()
ostr << "Cannot open source file: " << fullPath;
errorsWhileAccumulating.push_back(ostr.str());
error++;
covLogXML.EndElement(); // Report
covLogXML.EndElement(); // File
continue;
}
int untested = 0;