[Piglit] [PATCH 2/2] generated_tests: Fix require_extensions for constant_array_size
Dylan Baker
dylan at pnwbakers.com
Fri Feb 24 00:25:48 UTC 2017
The extension requires a GL_ prefix, which the template didn't have.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
cc: Jason Ekstrand <jason at jlekstrand.net>
---
generated_tests/gen_constant_array_size_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generated_tests/gen_constant_array_size_tests.py b/generated_tests/gen_constant_array_size_tests.py
index 9c1a9a882..f64fe1807 100644
--- a/generated_tests/gen_constant_array_size_tests.py
+++ b/generated_tests/gen_constant_array_size_tests.py
@@ -191,7 +191,7 @@ class ParserTest(object):
float(self.glsl_version()) / 100)
req_extensions = list(self.additional_extensions())
if req_extensions:
- parser_test += ' * require_extensions: {0}\n'.format(
+ parser_test += ' * require_extensions: {}\n'.format(
' '.join(req_extensions))
parser_test += ' * [end config]\n'
parser_test += ' *\n'
--
2.11.1
More information about the Piglit
mailing list