validate:launcher: Always print final report + enhance output

This commit is contained in:
Thibault Saunier 2014-07-23 17:49:21 +02:00
parent 35b6bfb7c8
commit 24fe345f73
2 changed files with 3 additions and 1 deletions

View file

@ -375,10 +375,10 @@ user argument, you can thus overrides command line options using that.
e = None
try:
tests_launcher.run_tests()
tests_launcher.final_report()
except Exception as e:
pass
finally:
tests_launcher.final_report()
httpsrv.stop()
if e is not None:
raise

View file

@ -105,6 +105,8 @@ class Reporter(Loggable):
printc("Final Report:", title=True)
for test in sorted(self.results, key=lambda test: test.result):
printc(test)
if test.result != Result.PASSED:
print "\n"
print "\n"
lenstat = (len("Statistics") + 1)