[Piglit] [PATCH] generators: Add extensions requirements to gen_constant_array_size_tests

Dave Airlie airlied at gmail.com
Wed Jul 6 19:33:46 UTC 2016


Reviewed-by: Dave Airlie <airlied at redhat.com>

On 7 July 2016 at 05:31, Dylan Baker <dylan at pnwbakers.com> wrote:
> This fixes int64 failures.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  generated_tests/gen_constant_array_size_tests.py | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/generated_tests/gen_constant_array_size_tests.py b/generated_tests/gen_constant_array_size_tests.py
> index 8462c02..9c1a9a8 100644
> --- a/generated_tests/gen_constant_array_size_tests.py
> +++ b/generated_tests/gen_constant_array_size_tests.py
> @@ -87,7 +87,11 @@ class ParserTest(object):
>          extension requirements that the test has.  Returns the empty
>          list by default.
>          """
> -        return []
> +        ret = []
> +        if self.__signature.extension:
> +            ret.append(self.__signature.extension)
> +
> +        return ret
>
>      @abc.abstractmethod
>      def test_suffix(self):
> --
> 2.9.0
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list