[Piglit] [PATCH 2/4] egl_khr_create_context: Remove printf to avoid piglit warning.

Matt Turner mattst88 at gmail.com
Fri Jul 26 16:34:34 PDT 2013


---
 tests/egl/spec/egl_khr_create_context/default-minor-version-gles.c | 1 -
 tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c     | 2 --
 2 files changed, 3 deletions(-)

diff --git a/tests/egl/spec/egl_khr_create_context/default-minor-version-gles.c b/tests/egl/spec/egl_khr_create_context/default-minor-version-gles.c
index 0d02625..d7db749 100644
--- a/tests/egl/spec/egl_khr_create_context/default-minor-version-gles.c
+++ b/tests/egl/spec/egl_khr_create_context/default-minor-version-gles.c
@@ -33,7 +33,6 @@ int main(int argc, char **argv)
 	int minor;
 
 	if (!EGL_KHR_create_context_setup(EGL_OPENGL_ES_BIT)) {
-		fprintf(stderr, "ES 1 not available, trying ES 2.\n");
 		attribs[1] = 2;
 		if (!EGL_KHR_create_context_setup(EGL_OPENGL_ES2_BIT)) {
 			fprintf(stderr, "ES 2 not available.\n");
diff --git a/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c b/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c
index 0ee24de..ccee25b 100644
--- a/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c
+++ b/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c
@@ -90,8 +90,6 @@ int main(int argc, char **argv)
 	unsigned i;
 
 	if (!EGL_KHR_create_context_setup(EGL_OPENGL_ES_BIT)) {
-		fprintf(stderr, "ES 1 not available, trying ES 2.\n");
-
 		if (!EGL_KHR_create_context_setup(EGL_OPENGL_ES2_BIT)) {
 			fprintf(stderr, "ES 2 not available.\n");
 			piglit_report_result(PIGLIT_SKIP);
-- 
1.8.1.5



More information about the Piglit mailing list