Commit db1bd785 authored by Nicolai Hähnle's avatar Nicolai Hähnle Committed by Marek Olšák

deqp_egl: add support for mustpass lists

Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
parent 39df5bd5
......@@ -26,6 +26,7 @@ from __future__ import (
)
from framework.test import deqp
from framework.options import OPTIONS
__all__ = ['profile']
......@@ -33,6 +34,10 @@ _EGL_BIN = deqp.get_option('PIGLIT_DEQP_EGL_BIN',
('deqp-egl', 'bin'),
required=True)
_DEQP_MUSTPASS = deqp.get_option('PIGLIT_DEQP_EGL_MUSTPASS',
('deqp-egl', 'mustpasslist'),
required=OPTIONS.deqp_mustpass)
_EXTRA_ARGS = deqp.get_option('PIGLIT_DEQP_EGL_EXTRA_ARGS',
('deqp-egl', 'extra_args'),
default='').split()
......@@ -48,7 +53,6 @@ class DEQPEGLTest(deqp.DEQPBaseTest):
profile = deqp.make_profile( # pylint: disable=invalid-name
deqp.iter_deqp_test_cases(
deqp.gen_caselist_txt(_EGL_BIN, 'dEQP-EGL-cases.txt',
_EXTRA_ARGS)),
deqp.select_source(_EGL_BIN, 'dEQP-EGL-cases.txt', _DEQP_MUSTPASS,
_EXTRA_ARGS),
DEQPEGLTest)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment