summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-19 11:50:20 -0400
committerBrad King <brad.king@kitware.com>2017-09-19 11:50:20 -0400
commit8dae0ab6d1a5607ba03dbfff1c6458efd02bd5e3 (patch)
treec24cc355885fe07258091cfb381f26d547334451
parentd44202ef05a1138bc71109def94c44aae18daf02 (diff)
parent6db63012057a82b3528ede3f259684f3429731d5 (diff)
downloadcmake-8dae0ab6d1a5607ba03dbfff1c6458efd02bd5e3.tar.gz
Merge branch 'CTest-crash-missing-glob' into release-3.9
Merge-request: !1289
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 877cd2445b..28fae1c7e6 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -570,6 +570,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;