From: Nicolai Hähnle <nicolai.haeh...@amd.com> --- tests/deqp_gles3.py | 4 ---- tests/deqp_vk.py | 3 --- 2 files changed, 7 deletions(-)
diff --git a/tests/deqp_gles3.py b/tests/deqp_gles3.py index 210c6e4ed..6441a9600 100644 --- a/tests/deqp_gles3.py +++ b/tests/deqp_gles3.py @@ -81,18 +81,14 @@ _EXTRA_ARGS = deqp.get_option('PIGLIT_DEQP_GLES3_EXTRA_ARGS', class DEQPGLES3Test(deqp.DEQPBaseTest): deqp_bin = _DEQP_GLES3_BIN @property def extra_args(self): return super(DEQPGLES3Test, self).extra_args + \ [x for x in _EXTRA_ARGS if not x.startswith('--deqp-case')] - def __init__(self, *args, **kwargs): - super(DEQPGLES3Test, self).__init__(*args, **kwargs) - - profile = deqp.make_profile( # pylint: disable=invalid-name deqp.select_source(_DEQP_GLES3_BIN, 'dEQP-GLES3-cases.txt', _DEQP_MUSTPASS, _EXTRA_ARGS), DEQPGLES3Test) diff --git a/tests/deqp_vk.py b/tests/deqp_vk.py index 4df9e3b63..1f3d58d38 100644 --- a/tests/deqp_vk.py +++ b/tests/deqp_vk.py @@ -48,23 +48,20 @@ _DEQP_ASSERT = re.compile( class DEQPVKTest(deqp.DEQPBaseTest): """Test representation for Khronos Vulkan CTS.""" timeout = 60 deqp_bin = _DEQP_VK_BIN @property def extra_args(self): return super(DEQPVKTest, self).extra_args + \ [x for x in _EXTRA_ARGS if not x.startswith('--deqp-case')] - def __init__(self, *args, **kwargs): - super(DEQPVKTest, self).__init__(*args, **kwargs) - def interpret_result(self): if 'Failed to compile shader at vkGlslToSpirV' in self.result.out: self.result.result = 'skip' self.result.out += \ '\n\nMarked as skip because GLSLang failed to compile shaders' elif _DEQP_ASSERT.search(self.result.err): self.result.result = 'skip' self.result.out += \ '\n\nMarked as skip because of a internal dEQP assertion' else: -- 2.11.0 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit