[Piglit] [PATCH] framework: use the correct executable for GLES parser tests
Marek Olšák
maraeo at gmail.com
Thu Apr 30 05:34:45 PDT 2015
From: Marek Olšák <marek.olsak at amd.com>
---
framework/test/glsl_parser_test.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/framework/test/glsl_parser_test.py b/framework/test/glsl_parser_test.py
index 0ab3b0e..964cdb5 100644
--- a/framework/test/glsl_parser_test.py
+++ b/framework/test/glsl_parser_test.py
@@ -97,8 +97,10 @@ class GLSLParserTest(PiglitBaseTest):
"from config".format(opt))
# Create the command and pass it into a PiglitTest()
+ glsl = config['glsl_version'];
command = [
- 'glslparsertest',
+ 'glslparsertest_gles2' if glsl == '1.00' or glsl == '3.00'
+ else 'glslparsertest',
filepath,
config['expect_result'],
config['glsl_version']
--
2.1.0
More information about the Piglit
mailing list