[10/11] tests: Add support for deqp_gles* for group at a time mode

Submitted by Dylan Baker on Aug. 26, 2016, 6:31 p.m.

Details

Message ID 50162ba3e2eca7a62af782abd60fd6767b582521.1472236000.git-series.dylan@pnwbakers.com
State New
Headers show
Series "unittests: Fix shared data for backends." ( rev: 1 ) in Piglit

Not browsing as part of any series.

Commit Message

Dylan Baker Aug. 26, 2016, 6:31 p.m.
These profiles don't actually support group mode, but with this patch
the provide a nice message about why they don't when one selects it.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
---
 tests/deqp_gles2.py  | 5 ++++-
 tests/deqp_gles3.py  | 5 ++++-
 tests/deqp_gles31.py | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/tests/deqp_gles2.py b/tests/deqp_gles2.py
index 1544740..1e72bec 100644
--- a/tests/deqp_gles2.py
+++ b/tests/deqp_gles2.py
@@ -56,4 +56,7 @@  class DEQPGLES2Test(deqp.DEQPSingleTest):
 profile = deqp.make_profile(  # pylint: disable=invalid-name
     deqp.select_source(_DEQP_GLES2_BIN, 'dEQP-GLES2-cases.txt', _DEQP_MUSTPASS,
                        _EXTRA_ARGS),
-    DEQPGLES2Test)
+    single=DEQPGLES2Test,
+    group=deqp.DEQPUnsupportedMode(
+        'dEQP-GLES2 is actually slower in group mode than single mode '
+        'so it has been disabled, please run in single mode.'))
diff --git a/tests/deqp_gles3.py b/tests/deqp_gles3.py
index 4151319..b610b3e 100644
--- a/tests/deqp_gles3.py
+++ b/tests/deqp_gles3.py
@@ -95,4 +95,7 @@  class DEQPGLES3Test(deqp.DEQPSingleTest):
 profile = deqp.make_profile(  # pylint: disable=invalid-name
     deqp.select_source(_DEQP_GLES3_BIN, 'dEQP-GLES3-cases.txt', _DEQP_MUSTPASS,
                        _EXTRA_ARGS),
-    DEQPGLES3Test)
+    single=DEQPGLES3Test,
+    group=deqp.DEQPUnsupportedMode(
+        'dEQP-GLES3 is actually slower in group mode than single mode '
+        'so it has been disabled, please run in single mode.'))
diff --git a/tests/deqp_gles31.py b/tests/deqp_gles31.py
index 4011f55..bcd5df4 100644
--- a/tests/deqp_gles31.py
+++ b/tests/deqp_gles31.py
@@ -55,4 +55,7 @@  class DEQPGLES31Test(deqp.DEQPSingleTest):
 profile = deqp.make_profile(  # pylint: disable=invalid-name
     deqp.select_source(_DEQP_GLES31_BIN, 'dEQP-GLES31-cases.txt',
                        _DEQP_MUSTPASS, _EXTRA_ARGS),
-    DEQPGLES31Test)
+    single=DEQPGLES31Test,
+    group=deqp.DEQPUnsupportedMode(
+        'dEQP-GLES31 is actually slower in group mode than single mode '
+        'so it has been disabled, please run in single mode.'))