[Piglit] [PATCH 2/4] util/gl: Print diagnostic when skipping due to lack of GLSL

Chad Versace chad.versace at linux.intel.com
Fri Nov 30 17:46:47 PST 2012


In the GLES1 implementations of functions
piglit_require_{GLSL,vertex_shader,fragment_shader}, print an explanation
before skipping.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 tests/util/piglit-shader-gles1.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/util/piglit-shader-gles1.c b/tests/util/piglit-shader-gles1.c
index 88606ca..4902ba9 100644
--- a/tests/util/piglit-shader-gles1.c
+++ b/tests/util/piglit-shader-gles1.c
@@ -30,17 +30,20 @@
 void
 piglit_require_GLSL(void)
 {
+	printf("GLES1 lacks GLSL\n");
 	piglit_report_result(PIGLIT_SKIP);
 }
 
 void
 piglit_require_vertex_shader(void)
 {
+	printf("GLES1 lacks GLSL\n");
 	piglit_report_result(PIGLIT_SKIP);
 }
 
 void
 piglit_require_fragment_shader(void)
 {
+	printf("GLES1 lacks GLSL\n");
 	piglit_report_result(PIGLIT_SKIP);
 }
-- 
1.7.11.7



More information about the Piglit mailing list