diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-10-26 17:16:06 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-11-12 20:49:08 +0100 |
commit | 97b219a5e74a30c5cb80dc7012cab8d118dd753a (patch) | |
tree | ee1aeb16bea26750de962dac0e79ad739099d4ea /test/pass-through.c | |
parent | c8b5d270f6a9f36e14d6e1462dfd589475926be8 (diff) | |
download | cairo-97b219a5e74a30c5cb80dc7012cab8d118dd753a.tar.gz |
test: Re-enable pass-through
The pass-through test was not updated to the current test conventions
and was not enabled in the Makefiles.
Diffstat (limited to 'test/pass-through.c')
-rw-r--r-- | test/pass-through.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/test/pass-through.c b/test/pass-through.c index 96f91ba1c..17a38db99 100644 --- a/test/pass-through.c +++ b/test/pass-through.c @@ -25,15 +25,6 @@ #include "cairo-test.h" -static cairo_test_draw_function_t draw; - -static const cairo_test_t test = { - "pass-through", - "Tests pixel values", - 16, 256, - draw -}; - static cairo_test_status_t draw (cairo_t *cr, int width, int height) { @@ -92,8 +83,9 @@ draw (cairo_t *cr, int width, int height) return CAIRO_TEST_SUCCESS; } -int -main (void) -{ - return cairo_test (&test); -} +CAIRO_TEST (pass_through, + "tests pixel values", + "color", /* keywords */ + NULL, /* requirements */ + 16, 256, + NULL, draw) |