A try/finally works better here anyway.
Signed-off-by: Dylan Baker <[email protected]>
---
framework/profile.py | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 1edab03..53a17b7 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -345,14 +345,8 @@ class TestProfile(object):
# pool
run_threads(single, (x for x in six.iteritems(self.test_list)
if not x[1].run_concurrent))
-
- log.get().summary()
- except (KeyboardInterrupt, Exception):
- # In the event that C-c is pressed, or any sort of exception would
- # generate a stacktrace, print the status line so that it's clear,
- # then die. Pressing C-c again will kill immediately.
+ finally:
log.get().summary()
- raise
if self._monitoring.abort_needed:
raise exceptions.PiglitAbort(self._monitoring.error_message)
--
git-series 0.8.10
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit