From e67765a97bec944ad1bb553644a60ad87f02ff10 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 11 Apr 2014 12:25:17 -0700 Subject: framework: Fix concurrency regression introduced by Test refactor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For whatever reason the concurrency flag was not passed to GLSLParserTest and ShaderTest after the refactor. This patch fixes that by always passing that keyword argument as was done before. Signed-off-by: Dylan Baker Reviewed-by: Marek Olšák --- framework/glsl_parser_test.py | 2 +- framework/shader_test.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py index e996643aa..4c1da4903 100644 --- a/framework/glsl_parser_test.py +++ b/framework/glsl_parser_test.py @@ -154,7 +154,7 @@ class GLSLParserTest(PiglitTest): command.append('--check-link') command.extend(config.get('config', 'require_extensions').split()) - super(GLSLParserTest, self).__init__(command) + super(GLSLParserTest, self).__init__(command, run_concurrent=True) class GLSLParserException(Exception): diff --git a/framework/shader_test.py b/framework/shader_test.py index 572810097..fecd8072f 100644 --- a/framework/shader_test.py +++ b/framework/shader_test.py @@ -83,7 +83,8 @@ class ShaderTest(PiglitTest): else: raise ShaderTestParserException("No GL version set") - super(ShaderTest, self).__init__([prog, arguments, '-auto']) + super(ShaderTest, self).__init__([prog, arguments, '-auto'], + run_concurrent=True) class ShaderTestParserException(Exception): -- cgit v1.2.3