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

Dylan Baker baker.dylan.c at gmail.com
Tue Jan 19 11:50:53 PST 2016


Quoting baker.dylan.c at gmail.com (2015-12-16 16:52:48)
> 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
> 

I'm planning to push this in the next couple of days unless someone has
more comments.

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20160119/3c3b988b/attachment.sig>


More information about the Piglit mailing list