[Piglit] [PATCH] log.py: Fix overwriting of final summary

Dylan Baker baker.dylan.c at gmail.com
Wed Oct 29 19:01:38 PDT 2014


Currently when piglit finishes running it prints a final summary. It
does not however, print a newline afterwards. This means that the
summary is partially overwritten by the 'thanks for running piglit'
message.

This patch corrects that problem, making the final output look much
nicer.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/log.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/log.py b/framework/log.py
index e0e7115..caad972 100644
--- a/framework/log.py
+++ b/framework/log.py
@@ -138,6 +138,7 @@ class QuietLog(BaseLog):
     def summary(self):
         with self._LOCK:
             self._print_summary()
+            self._print('\n')
 
     def _print_summary(self):
         """ Print the summary result
-- 
2.1.2



More information about the Piglit mailing list