[Piglit] [PATCH] framework/log.py: print a final summary line after a run has finished

Thomas Wood thomas.wood at intel.com
Thu Mar 20 09:04:59 PDT 2014


Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
 framework/log.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/framework/log.py b/framework/log.py
index c15134b..fc37001 100644
--- a/framework/log.py
+++ b/framework/log.py
@@ -93,6 +93,10 @@ class Log(object):
         assert result in self.__summary_keys
         self.__summary[result] += 1
 
+        # print a final summary line
+        if self.__complete == self.__total:
+            self.__print(value, result)
+
     @synchronized_self
     def log(self, name, result):
         """ Print to the screen 
-- 
1.8.5.3



More information about the Piglit mailing list