diff options
Diffstat (limited to 'test/extend-pad.c')
| -rw-r--r-- | test/extend-pad.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/test/extend-pad.c b/test/extend-pad.c index b122f152..ed4ffd02 100644 --- a/test/extend-pad.c +++ b/test/extend-pad.c @@ -30,15 +30,6 @@ #define SIZE 90 -static cairo_test_draw_function_t draw; - -static const cairo_test_t test = { - "extend-pad", - "Test CAIRO_EXTEND_PAD for surface patterns", - SIZE, SIZE, - draw -}; - static cairo_test_status_t draw (cairo_t *cr, int width, int height) { @@ -94,8 +85,9 @@ draw (cairo_t *cr, int width, int height) return CAIRO_TEST_SUCCESS; } -int -main (void) -{ - return cairo_test (&test); -} +CAIRO_TEST (extend_pad, + "Test CAIRO_EXTEND_PAD for surface patterns", + "XFAIL=!image,pdf,ps,svg extend", /* keywords */ + NULL, /* requirements */ + SIZE, SIZE, + NULL, draw) |
