CTest: Escape MemCheck test output for XML (#13124)
Any output that goes through CleanTestOutput must be printed through cmXMLSafe.
This commit is contained in:
parent
621c0893b8
commit
3da577dec0
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue