summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-07-23 17:49:21 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-07-23 17:49:44 +0200
commit24fe345f73a1e9fdc9f8529c569bcf78ed7f8185 (patch)
tree3e92b1cdefe8178feedfc2ae6a23991686c6e1ea
parent35b6bfb7c8cfaa7bdf3d7462b26835f0165307ae (diff)
validate:launcher: Always print final report + enhance output
-rw-r--r--validate/tools/launcher/main.py2
-rw-r--r--validate/tools/launcher/reporters.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/validate/tools/launcher/main.py b/validate/tools/launcher/main.py
index 22a51dd..3c4e8f9 100644
--- a/validate/tools/launcher/main.py
+++ b/validate/tools/launcher/main.py
@@ -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
diff --git a/validate/tools/launcher/reporters.py b/validate/tools/launcher/reporters.py
index ddee44e..ca11861 100644
--- a/validate/tools/launcher/reporters.py
+++ b/validate/tools/launcher/reporters.py
@@ -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)