[Piglit] [PATCH v5 0/4] Use subprocess32 to provide thread safe timeouts

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Dec 16 16:52:48 PST 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

This is a pretty minor update to the v4. It adds a few comments, and
fixes a (pretty serious) but that caused test classes with no timeout
set to have a timeout of 0 seconds, instead of an unlimited timeout.

This is available at my github:
https://github.com/dcbaker/piglit submit/subprocess32

Dylan Baker (4):
  framework/tests: add helper for checking for 3rd party modules
  framework/tests/base_tests.py: fix descriptions of two timeout tests
  framework/tests/base_tests.py: use utils helper to simplify test
  framework/test/base.py: use subprocess32 for timeouts.

 framework/test/base.py                  | 144 ++++++++++++++------------------
 framework/tests/base_tests.py           | 135 +++++++++++++++++++++++++++---
 framework/tests/junit_backends_tests.py |   3 +-
 framework/tests/utils.py                |   9 ++
 tox.ini                                 |   2 +
 5 files changed, 196 insertions(+), 97 deletions(-)

-- 
2.6.4



More information about the Piglit mailing list