[Piglit] [PATCH v2 2/2] generated_tests: Fix require_extensions for constant_array_size
Jason Ekstrand
jason at jlekstrand.net
Fri Feb 24 00:38:17 UTC 2017
Tested-by: Jason Ekstrand <jason at jlekstrand.net>
On Thu, Feb 23, 2017 at 4:29 PM, Dylan Baker <dylan at pnwbakers.com> wrote:
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170223/cd17ed8f/attachment-0001.html>
More information about the Piglit
mailing list