[2/2] generated_tests: Fix require_extensions for constant_array_size

Submitted by Dylan Baker on Feb. 24, 2017, 12:25 a.m.

Details

Message ID 20170224002548.17138-2-dylan@pnwbakers.com
State New
Headers show
Series "Series without cover letter" ( rev: 3 2 1 ) in Piglit

Not browsing as part of any series.

Commit Message

Dylan Baker Feb. 24, 2017, 12:25 a.m.
The extension requires a GL_ prefix, which the template didn't have.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
cc: Jason Ekstrand <jason@jlekstrand.net>
---
 generated_tests/gen_constant_array_size_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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'