mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 09:54:15 +00:00
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:
commit
4f971e700a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user