From 24150a43d79736295102ac8ed8bf5d223750afd7 Mon Sep 17 00:00:00 2001 From: Timofey Date: Wed, 22 Feb 2017 19:31:55 +0300 Subject: Now we replace zero char with slash zero. --- tools/python/testlog_to_xml_converter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/python/testlog_to_xml_converter.py b/tools/python/testlog_to_xml_converter.py index 5c15bb99f2..62f8e3a2ba 100755 --- a/tools/python/testlog_to_xml_converter.py +++ b/tools/python/testlog_to_xml_converter.py @@ -134,8 +134,6 @@ class Parser: return self.var_should_pass - - def check_for_exe_boundaries(self, line): if line.startswith(PrefixesInLog.BEGIN): if self.current_exe: #if we never had an End to a Beginning @@ -204,6 +202,7 @@ class Parser: if line == "All tests passed." or re.match("\d{1,} tests failed", line, re.IGNORECASE): self.var_should_pass = True return False + line = line.replace("\0", "\\0") self.test_info.append_comment(line) return False -- cgit v1.2.3