[Piglit] [PATCH] Interpret dEQP "QualityWarning" as pass

Ilia Mirkin imirkin at alum.mit.edu
Thu Jun 25 18:05:39 PDT 2015


On Thu, Jun 25, 2015 at 8:52 PM, Mark Janes <mark.a.janes at intel.com> wrote:
> Many tests in the functional.fbo.completeness.attachment_combinations
> report "QualityWarning" intermittently.  This particular warning is
> emitted because dEQP attempted to create an unsupported framebuffer.
>
> "warning" is interpreted as "failure" in junit, but this output from
> dEQP is clearly not a failure.

So... fix junit. "warn" is not a failure output by piglit.

> ---
>  framework/test/deqp.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/framework/test/deqp.py b/framework/test/deqp.py
> index 1462ca2..f4bf1cd 100644
> --- a/framework/test/deqp.py
> +++ b/framework/test/deqp.py
> @@ -105,7 +105,7 @@ class DEQPBaseTest(Test):
>      __metaclass__ = abc.ABCMeta
>      __RESULT_MAP = {"Pass": "pass",
>                      "Fail": "fail",
> -                    "QualityWarning": "warn",
> +                    "QualityWarning": "pass",
>                      "InternalError": "fail",
>                      "Crash": "crash",
>                      "NotSupported": "skip"}
> --
> 2.1.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list