[Piglit] [PATCH] piglit: don't report fail for WAFFLE_ERROR_BUILT_WITHOUT_SUPPORT
Brian Paul
brianp at vmware.com
Wed Nov 20 06:06:48 PST 2013
On 11/18/2013 01:59 PM, Brian Paul wrote:
> If we build waffle w/out ES support and we run all.tests, quick.tests,
> etc. we get lots of 'fail' results for the ES tests. This change causes
> those tests to be reported as 'skip' instead.
> ---
> tests/util/piglit-util-waffle.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/util/piglit-util-waffle.c b/tests/util/piglit-util-waffle.c
> index ade3987..b1ad0a2 100644
> --- a/tests/util/piglit-util-waffle.c
> +++ b/tests/util/piglit-util-waffle.c
> @@ -82,7 +82,8 @@ wfl_fatal_error(const char *func_name)
>
> wfl_log_error(func_name);
>
> - if (info->code == WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM)
> + if (info->code == WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM ||
> + info->code == WAFFLE_ERROR_BUILT_WITHOUT_SUPPORT)
> piglit_report_result(PIGLIT_SKIP);
> else
> piglit_report_result(PIGLIT_FAIL);
>
Ping?
-Brian
More information about the Piglit
mailing list