From: Emil Velikov <emil.veli...@collabora.com>

In the unlikely case that the function fails, we want some feedback
about the issue. It's not a failure per-se, but we don't want to
silently continue.

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
 tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c 
b/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c
index 45abe9801..a6f5fa815 100644
--- a/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c
+++ b/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c
@@ -64,7 +64,7 @@ main(void)
        dpy = eglGetDisplay(NULL);
        if (!dpy) {
                printf("failed to get EGLDisplay\n");
-               piglit_report_result(PIGLIT_SKIP);
+               piglit_report_result(PIGLIT_WARN);
        }
 
        queryDisplayAttrib(dpy, EGL_DEVICE_EXT, (EGLAttrib *)&device);
-- 
2.18.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to