diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-04-22 17:16:44 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-04-22 17:16:44 +0200 |
commit | 83f5b748c3c14d6d0df879bccf340620982ca515 (patch) | |
tree | 664f97259f2542459fc11e1b88b9a49e8a6089f8 /tests/png/bug00011.c | |
parent | f3375cbc332df6de91128d6590e6caea52966489 (diff) | |
download | libgd-83f5b748c3c14d6d0df879bccf340620982ca515.tar.gz |
Make tests less chatty; silence them using our shiny new gdSetErrorMethod
Diffstat (limited to 'tests/png/bug00011.c')
-rw-r--r-- | tests/png/bug00011.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/png/bug00011.c b/tests/png/bug00011.c index 62bd568..865c87e 100644 --- a/tests/png/bug00011.c +++ b/tests/png/bug00011.c @@ -11,10 +11,9 @@ int main() char path[2048]; sprintf(path, "%s/png/emptyfile", GDTEST_TOP_DIR); - printf("opening %s\n", path); fp = fopen(path, "rb"); if (!fp) { - printf("failed, cannot open file\n"); + fprintf(stderr, "failed, cannot open file: %s\n", path); return 1; } im = gdImageCreateFromPng(fp); |