[Piglit] [PATCH] cts_gl.py: only generate tests for GL45-CTS

Dylan Baker dylan at pnwbakers.com
Fri Sep 9 16:34:39 UTC 2016


Quoting Marek Olšák (2016-09-09 06:10:56)
> From: Marek Olšák <marek.olsak at amd.com>
> 
> Older versions don't work and there is no interest in fixing the official
> gl45release CTS branch, so it's useless to add those forever-broken tests.
> 
> Using '-t gl45-cts' is annoying, because adding '-t cube' adds non-GL45
> tests instead of filtering the already filtered list.

-t takes a regex so you could do something like -t 'gl45*cube'

That said I have no opinion one way or the other about this.

Dylan

> ---
>  tests/cts_gl.py | 18 ------------------
>  1 file changed, 18 deletions(-)
> 
> diff --git a/tests/cts_gl.py b/tests/cts_gl.py
> index d650ffd..f647613 100644
> --- a/tests/cts_gl.py
> +++ b/tests/cts_gl.py
> @@ -62,31 +62,13 @@ class DEQPCTSTest(deqp.DEQPBaseTest):
>  
>      @property
>      def extra_args(self):
>          return super(DEQPCTSTest, self).extra_args + \
>              [x for x in _EXTRA_ARGS if not x.startswith('--deqp-case')]
>  
>  # Add all of the suites by default, users can use filters to remove them.
>  profile = deqp.make_profile(  # pylint: disable=invalid-name
>      itertools.chain(
>          deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL30-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL31-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL32-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL33-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL40-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL41-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL42-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL43-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
> -            deqp.gen_caselist_txt(_CTS_BIN, 'GL44-CTS-cases.txt', _EXTRA_ARGS)),
> -        deqp.iter_deqp_test_cases(
>              deqp.gen_caselist_txt(_CTS_BIN, 'GL45-CTS-cases.txt', _EXTRA_ARGS)),
>      ),
>      DEQPCTSTest)
> -- 
> 2.7.4
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160909/8f0e2ae5/attachment.sig>


More information about the Piglit mailing list