[Piglit] [PATCH 25/27] framework/test/base: Remove timeout parameter
Dylan Baker
dylan at pnwbakers.com
Mon Oct 24 19:55:11 UTC 2016
This doesn't work and never has, setting it would cause an exception,
and I'm not exactly sure how to fix it. It's also unused, so we can
bring it back later if we need it.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
framework/test/base.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/framework/test/base.py b/framework/test/base.py
index 6b7cab6..4e7c8b2 100644
--- a/framework/test/base.py
+++ b/framework/test/base.py
@@ -175,7 +175,7 @@ class Test(object):
__slots__ = ['run_concurrent', 'env', 'result', 'cwd', '_command']
timeout = None
- def __init__(self, command, run_concurrent=False, timeout=None):
+ def __init__(self, command, run_concurrent=False):
assert isinstance(command, list), command
self.run_concurrent = run_concurrent
@@ -183,9 +183,6 @@ class Test(object):
self.env = {}
self.result = TestResult()
self.cwd = None
- if timeout is not None:
- assert isinstance(timeout, int)
- self.timeout = timeout
def execute(self, path, log, options):
""" Run a test
--
git-series 0.8.10
More information about the Piglit
mailing list