Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimofey <t.danshin@corp.mail.ru>2017-02-22 19:31:55 +0300
committerSergey Yershov <syershov@maps.me>2017-02-22 19:34:15 +0300
commit24150a43d79736295102ac8ed8bf5d223750afd7 (patch)
tree24706f8ca9f1047300c43465bd31fd4483a21ba9
parent803ba3f4491c0ac53ca65d6e5c1a69beaee3c481 (diff)
Now we replace zero char with slash zero.beta-648
-rwxr-xr-xtools/python/testlog_to_xml_converter.py3
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