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

Marek Olšák maraeo at gmail.com
Fri Sep 9 13:10:56 UTC 2016


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



More information about the Piglit mailing list