summaryrefslogtreecommitdiff
path: root/test/caps-sub-paths.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-08-23 01:50:25 +0000
committerCarl Worth <cworth@cworth.org>2005-08-23 01:50:25 +0000
commiteb206f0a12aac21807bfba5414ad0ed34a62fc37 (patch)
tree1bdc4273352df64226aa8f593eed6ddcf40665bc /test/caps-sub-paths.c
parent4b0ed008ba51a4e2e9f62c360f6ae8dcb708817c (diff)
downloadcairo-eb206f0a12aac21807bfba5414ad0ed34a62fc37.tar.gz
Use the expect_failure variant of cairo_test so that make check prints the reason this test fails.
Diffstat (limited to 'test/caps-sub-paths.c')
-rw-r--r--test/caps-sub-paths.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/caps-sub-paths.c b/test/caps-sub-paths.c
index 70195bb85..2aa74e77d 100644
--- a/test/caps-sub-paths.c
+++ b/test/caps-sub-paths.c
@@ -59,5 +59,6 @@ draw (cairo_t *cr, int width, int height)
int
main (void)
{
- return cairo_test (&test, draw);
+ return cairo_test_expect_failure (&test, draw,
+ "All but the last subpath are missing caps");
}