Skip to content
Snippets Groups Projects
Commit 05538d04 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

avoid escaping special chars in CTest test output

CTest output parser already escapes special characters for XML, and the escape in the
Gaudi test runner was resulting in double escaping.
parent 239850d6
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import os import os
import sys import sys
import xml.sax.saxutils as XSS
import BaseTest as GT import BaseTest as GT
import logging import logging
...@@ -49,7 +48,7 @@ def ctest_report(results): ...@@ -49,7 +48,7 @@ def ctest_report(results):
if key in ignore: if key in ignore:
continue continue
hndlr = handler.get(key, id_handler) hndlr = handler.get(key, id_handler)
data = XSS.escape(GT.sanitize_for_xml(hndlr(results[key]))) data = GT.sanitize_for_xml(hndlr(results[key]))
sys.stdout.write(template.format(key, data)) sys.stdout.write(template.format(key, data))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment