diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-08-05 14:55:27 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-08-16 09:46:56 -0700 |
commit | 5fbc5ec2ccae05a59622f18b0232c6e6e0b02bc9 (patch) | |
tree | 87265c6dd1bbcbcf5a042ed284800660ecc5fef1 /tests/deqp_gles2.py | |
parent | c7eabcbeb6fd740285f9ca2004c1f0d411d68496 (diff) |
framework: add commandline option for deqp-mustpass
Rather than relying on just setting the option in the configuration file
turning on the functionality add a switch.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'tests/deqp_gles2.py')
-rw-r--r-- | tests/deqp_gles2.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/deqp_gles2.py b/tests/deqp_gles2.py index 29d995520..518a4e04c 100644 --- a/tests/deqp_gles2.py +++ b/tests/deqp_gles2.py @@ -25,6 +25,7 @@ from __future__ import ( ) from framework.test import deqp +from framework.options import OPTIONS __all__ = ['profile'] @@ -34,7 +35,8 @@ _DEQP_GLES2_BIN = deqp.get_option('PIGLIT_DEQP_GLES2_BIN', required=True) _DEQP_MUSTPASS = deqp.get_option('PIGLIT_DEQP2_MUSTPASS', - ('deqp-gles2', 'mustpasslist')) + ('deqp-gles2', 'mustpasslist'), + required=OPTIONS.deqp_mustpass) _EXTRA_ARGS = deqp.get_option('PIGLIT_DEQP_GLES2_EXTRA_ARGS', ('deqp-gles2', 'extra_args'), |