From 83f5b748c3c14d6d0df879bccf340620982ca515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 22 Apr 2013 17:16:44 +0200 Subject: Make tests less chatty; silence them using our shiny new gdSetErrorMethod --- tests/png/bug00011.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/png/bug00011.c') 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); -- cgit v1.2.1