diff options
author | Timofey <t.danshin@corp.mail.ru> | 2017-02-22 19:31:55 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2017-02-22 19:34:15 +0300 |
commit | 24150a43d79736295102ac8ed8bf5d223750afd7 (patch) | |
tree | 24706f8ca9f1047300c43465bd31fd4483a21ba9 | |
parent | 803ba3f4491c0ac53ca65d6e5c1a69beaee3c481 (diff) |
Now we replace zero char with slash zero.beta-648
-rwxr-xr-x | tools/python/testlog_to_xml_converter.py | 3 |
1 files changed, 1 insertions, 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 |