[Piglit] [PATCH] framework: there are 0 completed tests at the beginning

Ilia Mirkin imirkin at alum.mit.edu
Fri Feb 14 23:33:38 PST 2014


This fixes a minor annoyance, that the test id displayed was lower than
the completed count in single-threaded runs.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 framework/log.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/log.py b/framework/log.py
index ba045da..8ae7541 100644
--- a/framework/log.py
+++ b/framework/log.py
@@ -33,7 +33,7 @@ class Log(object):
     """
     def __init__(self, total):
         self.__total = total
-        self.__complete = 1
+        self.__complete = 0
         self.__running = []
         self.__generator = (x for x in xrange(self.__total))
         self.__pad = len(str(self.__total))
-- 
1.8.3.2



More information about the Piglit mailing list