summaryrefslogtreecommitdiff
path: root/test/trap-clip.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-10 20:25:38 +0000
committerCarl Worth <cworth@cworth.org>2005-05-10 20:25:38 +0000
commitb05c85eafb953fbe082b67875865ae4e4ca56ed2 (patch)
treee6997cd68fd5f9772e7a79342bbe01f568357f92 /test/trap-clip.c
parent40796148b87eea991a9c624061a978821f108de6 (diff)
downloadcairo-b05c85eafb953fbe082b67875865ae4e4ca56ed2.tar.gz
Removing mucking around with stderr and add a cairo_test_log function instead.
Switch all error messages from fprintf(stderr,...) to cairo_test_log(...).
Diffstat (limited to 'test/trap-clip.c')
-rw-r--r--test/trap-clip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trap-clip.c b/test/trap-clip.c
index 241680392..2ad43ea5f 100644
--- a/test/trap-clip.c
+++ b/test/trap-clip.c
@@ -186,7 +186,7 @@ draw (cairo_t *cr, int width, int height)
pattern_funcs[i] (cr, x, y);
draw_funcs[j] (cr, x, y);
if (cairo_status (cr))
- fprintf (stderr, "%d %d HERE!\n", i, j);
+ cairo_test_log ("%d %d HERE!\n", i, j);
cairo_restore (cr);
}
@@ -194,7 +194,7 @@ draw (cairo_t *cr, int width, int height)
}
if (cairo_status (cr) != CAIRO_STATUS_SUCCESS)
- fprintf (stderr, "%d %d .HERE!\n", i, j);
+ cairo_test_log ("%d %d .HERE!\n", i, j);
return CAIRO_TEST_SUCCESS;
}