diff options
Diffstat (limited to 'test/surface-pattern.c')
-rw-r--r-- | test/surface-pattern.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/test/surface-pattern.c b/test/surface-pattern.c index 7739cae6..ff95475c 100644 --- a/test/surface-pattern.c +++ b/test/surface-pattern.c @@ -29,19 +29,9 @@ #include <stdio.h> #define SIZE 140 - -/* Not GhostScript does not support /Interpolate on rotated images, so the PS +/* Note GhostScript does not support /Interpolate on rotated images, so the PS * output looks terrible, but is a known issue. */ -static cairo_test_draw_function_t draw; - -static const cairo_test_t test = { - "surface-pattern", - "Test transformed repeated surface patterns", - SIZE, SIZE, - draw -}; - static cairo_test_status_t draw (cairo_t *cr, int width, int height) { @@ -91,8 +81,10 @@ draw (cairo_t *cr, int width, int height) return CAIRO_TEST_SUCCESS; } -int -main (void) -{ - return cairo_test (&test); -} +CAIRO_TEST (surface_pattern, + "Test transformed repeated surface patterns" + "\nExhibiting a strange (very minor) failure in ps backend with device-offset", + "transform", /* keywords */ + NULL, /* requirements */ + SIZE, SIZE, + NULL, draw) |