These profiles don't actually support running without process isolation, but with this patch the provide a nice message about why they don't when one selects it. The reason is that they actually run slower with process isolation than without.
Signed-off-by: Dylan Baker <[email protected]> --- tests/deqp_gles2.py | 5 ++++- tests/deqp_gles3.py | 5 ++++- tests/deqp_gles31.py | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) 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.')) -- git-series 0.8.10 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
