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

Alejandro Piñeiro apinheiro at igalia.com
Sat Sep 10 12:41:53 UTC 2016


On 09/09/16 15:10, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> Older versions don't work and there is no interest in fixing the official

Could you elaborate that older versions doesn't work? We are right now
focusing on gl44, and except some local patches that we needed to add in
order to get some tests working, it is going fine. Although perhaps you
are talking about the need to patch CTS to get those 44 tests working ...

> 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.
> ---
>  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)
> 

-- 
Alejandro Piñeiro <apinheiro at igalia.com>


More information about the Piglit mailing list