[Piglit] [PATCH] piglit: don't report fail for WAFFLE_ERROR_BUILT_WITHOUT_SUPPORT
Brian Paul
brianp at vmware.com
Mon Nov 18 12:59:45 PST 2013
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);
--
1.7.10.4
More information about the Piglit
mailing list