mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
CTest: Escape MemCheck test output for XML (#13124)
Any output that goes through CleanTestOutput must be printed through cmXMLSafe.
This commit is contained in:
@@ -358,7 +358,7 @@ void cmCTestMemCheckHandler::GenerateDartOutput(std::ostream& os)
|
|||||||
|
|
||||||
os
|
os
|
||||||
<< "\t\t</Results>\n"
|
<< "\t\t</Results>\n"
|
||||||
<< logTag << memcheckstr << std::endl
|
<< logTag << cmXMLSafe(memcheckstr) << std::endl
|
||||||
<< "\t</Log>\n";
|
<< "\t</Log>\n";
|
||||||
this->WriteTestResultFooter(os, result);
|
this->WriteTestResultFooter(os, result);
|
||||||
if ( current < cc )
|
if ( current < cc )
|
||||||
|
|||||||
Reference in New Issue
Block a user