[Piglit] [PATCH 3/3] igt: timeout tests by default after 20 minutes

Daniel Vetter daniel.vetter at ffwll.ch
Tue Nov 12 02:36:33 PST 2013


I bit gross, we probably need more fine-grained limits for
thrashing/swapping tests vs. others. But at least a start.
---
 tests/igt.tests | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/igt.tests b/tests/igt.tests
index e0eb826..f388492 100644
--- a/tests/igt.tests
+++ b/tests/igt.tests
@@ -51,6 +51,7 @@ profile = TestProfile()
 class IGTTest(ExecTest):
     def __init__(self, binary, arguments=[]):
         ExecTest.__init__(self, [path.join(igtTestRoot, binary)] + arguments)
+        self.timeout = 60*20 # 20 minutes deadline by default
 
     def interpretResult(self, out, returncode, results, dmesg):
         if returncode == 0:
-- 
1.8.1.4



More information about the Piglit mailing list