diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-07-27 17:44:55 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2018-08-21 14:20:31 +0100 |
commit | 1b502660b9bfb59ddf0aaaffbfc2e6160b62c610 (patch) | |
tree | 0c11836f59431dbcc63f8a191ec029149a72b1c9 | |
parent | b3908537c470861e3b914edfee8a9ae8f5ee83fd (diff) |
egl_ext_device_query: return PIGLIT_WARN when eglGetDisplay fails
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.velikov@collabora.com>
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
-rw-r--r-- | tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |