[Piglit] [RFC v2 36/39] piglit_test.py: Change run_concurrent to True by default

Dylan Baker baker.dylan.c at gmail.com
Mon Feb 2 17:37:41 PST 2015


This will flip the value of the flag for PiglitGLTest, ShaderTest, and
GLSLParserTest. It will not affect PiglitCLTest (That's OpenCL), because
of the previous patch, which causes PiglitCLTest to use a unique
concurrency setting method.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/test/piglit_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
index 2f6282d..927488f 100644
--- a/framework/test/piglit_test.py
+++ b/framework/test/piglit_test.py
@@ -60,8 +60,8 @@ class PiglitBaseTest(Test):
     Expect one line prefixed PIGLIT: in the output, which contains a result
     dictionary. The plain output is appended to this dictionary
     """
-    def __init__(self, *args, **kwargs):
-        super(PiglitBaseTest, self).__init__(*args, **kwargs)
+    def __init__(self, command, run_concurrent=True, **kwargs):
+        super(PiglitBaseTest, self).__init__(command, run_concurrent, **kwargs)
 
         # Prepend TEST_BIN_DIR to the path.
         self._command[0] = os.path.join(TEST_BIN_DIR, self._command[0])
-- 
2.2.2



More information about the Piglit mailing list