summaryrefslogtreecommitdiff
path: root/test/smask-mask.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/smask-mask.c')
-rw-r--r--test/smask-mask.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/test/smask-mask.c b/test/smask-mask.c
index 721ca48c..11cff82f 100644
--- a/test/smask-mask.c
+++ b/test/smask-mask.c
@@ -25,15 +25,6 @@
#include "cairo-test.h"
-static cairo_test_draw_function_t draw;
-
-static const cairo_test_t test = {
- "smask-mask",
- "Test the support of \"soft\" masks with a secondary mask",
- 60, 60,
- draw
-};
-
static cairo_test_status_t
draw (cairo_t *cr, int width, int height)
{
@@ -97,8 +88,9 @@ draw (cairo_t *cr, int width, int height)
return CAIRO_TEST_SUCCESS;
}
-int
-main (void)
-{
- return cairo_test (&test);
-}
+CAIRO_TEST (smask_mask,
+ "Test the support of \"soft\" masks with a secondary mask",
+ "smask, mask", /* keywords */
+ NULL, /* requirements */
+ 60, 60,
+ NULL, draw)