Otherwise there will be a spinner in the final call to summary that's printed when piglit finishes.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- framework/log.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/framework/log.py b/framework/log.py index 213b04f..083c0ac 100644 --- a/framework/log.py +++ b/framework/log.py @@ -122,10 +122,12 @@ class QuietLog(BaseLog): self._endcode = '\n' self.__counter = next(self._test_counter) - self._state['running'].append(self.__counter) def start(self, name): - pass + # This cannot be done in the constructor, since the constructor gets + # called for the final summary too. + with self._LOCK: + self._state['running'].append(self.__counter) def _log(self, status): """ non-locked helper for logging -- 2.10.0 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit