[Piglit] [PATCH] Interpret dEQP "QualityWarning" as pass
Mark Janes
mark.a.janes at intel.com
Fri Jun 26 09:33:28 PDT 2015
Ilia Mirkin <imirkin at alum.mit.edu> writes:
> 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.
>
I'm fine with changing piglit's junit back end to interpret "warn" as a
junit "pass". Changing the dEQP wrapper has smaller scope. Chad
recommended changing deqp.py because:
* dEQP warnings appear to be bogus
* dEQP warnings are intermittent
* dEQP has fewer users at this point (is anyone running it?)
I could work around these warnings by not running the tests which
produce warnings in Intel's automation, but then we would never know if
the tests regress.
-Mark
>> ---
>> 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