From: Kenneth Graunke Date: Wed, 16 Jun 2010 20:19:27 +0000 (-0700) Subject: glcpp: Print errors on stdout instead of stderr (non-standalone version). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b673ff91abec7d0ddb09a1fcddc734c3425eb8eb;p=mesa.git glcpp: Print errors on stdout instead of stderr (non-standalone version). Otherwise, piglit marks tests as "warn" when the shader was (correctly) failing. --- diff --git a/glcpp/pp.c b/glcpp/pp.c index 7211bdb8d90..04ea0a47972 100644 --- a/glcpp/pp.c +++ b/glcpp/pp.c @@ -33,7 +33,7 @@ preprocess(void *talloc_ctx, const char **shader, size_t *shader_len) glcpp_parser_parse (parser); errors = parser->errors[0] != '\0'; - fprintf(stderr, "%s", parser->errors); + printf("%s", parser->errors); talloc_steal(talloc_ctx, parser->output); *shader = parser->output;