Commit 8890d3bd authored by Denis Bilenko's avatar Denis Bilenko

generate_report.py: count tracebacks in the output better

parent e2c6fbba
......@@ -117,7 +117,7 @@ class TestResult:
warning = output.count('warning')
if warning:
r += ['%s warnings' % warning]
tracebacks = output.count('traceback')
tracebacks = output.count('traceback (most recent call last):')
if tracebacks:
r += ['%s tracebacks' % tracebacks]
return r
......
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