projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3370c5f
)
glcpp: Print errors on stdout instead of stderr (non-standalone version).
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 16 Jun 2010 20:19:27 +0000
(13:19 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 21 Jun 2010 18:31:55 +0000
(11:31 -0700)
Otherwise, piglit marks tests as "warn" when the shader was (correctly)
failing.
glcpp/pp.c
patch
|
blob
|
history
diff --git
a/glcpp/pp.c
b/glcpp/pp.c
index 7211bdb8d9014e4c97c2bbde52f65dce056a6ce6..04ea0a479725969a1ac748e5b59b495960a0fc28 100644
(file)
--- 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;