[Piglit] [PATCH 1/6] util/wfl: print to strerr if we get the wrong GL version

Emil Velikov emil.l.velikov at gmail.com
Tue Mar 29 22:44:56 UTC 2016


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 tests/util/piglit-framework-gl/piglit_wfl_framework.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/util/piglit-framework-gl/piglit_wfl_framework.c b/tests/util/piglit-framework-gl/piglit_wfl_framework.c
index faf758b..2cc9e35 100644
--- a/tests/util/piglit-framework-gl/piglit_wfl_framework.c
+++ b/tests/util/piglit-framework-gl/piglit_wfl_framework.c
@@ -385,8 +385,8 @@ check_gl_version(const struct piglit_gl_test_config *test_config,
 		if (actual_version >= test_config->supports_gl_compat_version)
 		   return true;
 
-		printf("piglit: info: Requested a %s, but actual context "
-		       "version is %d.%d\n",
+		fprintf(stderr, "piglit: error: Requested a %s, but actual "
+		       "context version is %d.%d\n",
 		       context_description,
 		       actual_version / 10,
 		       actual_version % 10);
-- 
2.6.2



More information about the Piglit mailing list