<p dir="ltr">Maybe a better plan is to have the test detect that those aren't defined and skip?</p>
<div class="gmail_quote">On Jul 9, 2015 22:52, "Vinson Lee" <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>><br>
---<br>
 tests/egl/egl-util.h |    7 +++++++<br>
 1 files changed, 7 insertions(+), 0 deletions(-)<br>
<br>
diff --git a/tests/egl/egl-util.h b/tests/egl/egl-util.h<br>
index 249319d..614e586 100644<br>
--- a/tests/egl/egl-util.h<br>
+++ b/tests/egl/egl-util.h<br>
@@ -15,6 +15,13 @@<br>
 #include <EGL/egl.h><br>
 #include <EGL/eglext.h><br>
<br>
+#ifndef EGL_KHR_gl_colorspace<br>
+#define EGL_KHR_gl_colorspace 1<br>
+#define EGL_GL_COLORSPACE_KHR             0x309D<br>
+#define EGL_GL_COLORSPACE_SRGB_KHR        0x3089<br>
+#define EGL_GL_COLORSPACE_LINEAR_KHR      0x308A<br>
+#endif /* EGL_KHR_gl_colorspace */<br>
+<br>
 struct egl_state {<br>
        Display *dpy;<br>
        Window win;<br>
--<br>
1.7.1<br>
<br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</blockquote></div>