[Piglit] [PATCH 2/5] tests/deqp_gles3.py: use framework/tests/deqp.py

Dylan Baker baker.dylan.c at gmail.com
Thu May 21 14:32:32 PDT 2015


> +class DEQPGLES3Test(deqp.DEQPBaseTest):
> +    deqp_bin = _DEQP_GLES3_EXE
> +    extra_args = deqp.get_option('PIGLIT_DEQP_GLES3_EXTRA_ARGS',
> +                                 ('deqp-gles3', 'extra_args')) or []

This should actually be:
    extra_args = deqp.get_option('PIGLIT_DEQP_GLES3_EXTRA_ARGS',
                                 ('deqp-gles3', 'extra_args')).split() or []

I've fixed this locally in this file as well as in deqp_gles2.py and
deqp_gles31.py

Sorry for the noise.

>  
> -        test = DEQPTest(deqp_testname)
> -        profile.test_list[piglit_testname] = test
> +    def __init__(self, *args, **kwargs):
> +        super(DEQPGLES3Test, self).__init__(*args, **kwargs)
>  
>  
> -profile = TestProfile()
> -add_tests()
> +profile = deqp.make_profile(  # pylint: disable=invalid-name
> +    deqp.iter_deqp_test_cases(filter_mustpass(
> +        deqp.gen_caselist_txt(_DEQP_GLES3_EXE, 'dEQP-GLES3-cases.txt'))),
> +    DEQPGLES3Test)
> -- 
> 2.4.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150521/055d289f/attachment.sig>


More information about the Piglit mailing list