Use the expect_failure variant of cairo_test so that make check prints the reason this test fails.

This commit is contained in:
Carl Worth 2005-08-23 01:50:25 +00:00
parent 4b0ed008ba
commit eb206f0a12
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-08-23 Carl Worth <cworth@cworth.org>
* test/caps-sub-paths.c: Use the expect_failure variant of
cairo_test so that make check prints the reason this test fails.
2005-08-23 Carl Worth <cworth@cworth.org>
* test/.cvsignore:

View file

@ -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");
}