[Piglit] [PATCH v2 2/2] generated_tests: Fix require_extensions for constant_array_size
Dylan Baker
dylan at pnwbakers.com
Fri Feb 24 00:29:17 UTC 2017
The extension requires a GL_ prefix, which the template didn't have.
v2: - Actually fix things
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
generated_tests/gen_constant_array_size_tests.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/generated_tests/gen_constant_array_size_tests.py b/generated_tests/gen_constant_array_size_tests.py
index 9c1a9a882..7c87d98da 100644
--- a/generated_tests/gen_constant_array_size_tests.py
+++ b/generated_tests/gen_constant_array_size_tests.py
@@ -191,8 +191,8 @@ class ParserTest(object):
float(self.glsl_version()) / 100)
req_extensions = list(self.additional_extensions())
if req_extensions:
- parser_test += ' * require_extensions: {0}\n'.format(
- ' '.join(req_extensions))
+ parser_test += ' * require_extensions: {}\n'.format(
+ ' '.join('GL_{}'.format(r) for r in req_extensions))
parser_test += ' * [end config]\n'
parser_test += ' *\n'
parser_test += ' * Check that the following test vectors are constant'\
--
2.11.1
More information about the Piglit
mailing list