Commit 55a476ec authored by Ralf Schmitt's avatar Ralf Schmitt

speedup _error_re matching

--HG--
extra : transplant_source : %A9P%8D%C3%D0%90%94lS%7E%A1%8B%B3%D8%BB%A94%9E4m
parent 20f2b249
......@@ -353,7 +353,7 @@ def get_failed_testcases(cursor, runid):
_warning_re = re.compile('\w*warning', re.I)
_error_re = re.compile(r'(?P<prefix>\s*)Traceback \(most recent call last\):' +
r'(\n(?P=prefix)\s+.*)+\n(?P=prefix)(?P<error>[\w\.]+)')
r'(\n(?P=prefix)[ \t]+[^\n]*)+\n(?P=prefix)(?P<error>[\w\.]+)')
def get_warnings(output):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment