diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-03 16:38:03 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-31 12:30:11 +0000 |
commit | e90073f7ddc6f461a935bc360c409b04f1fe9f74 (patch) | |
tree | efda94d1ecd13143cdad23f14552661165e7601e /test/ps-surface-source.c | |
parent | 8457972d40088cda165f31fdd7bd9b4c19c6e095 (diff) | |
download | cairo-e90073f7ddc6f461a935bc360c409b04f1fe9f74.tar.gz |
[test] Build test suite into single binary.
Avoid calling libtool to link every single test case, by building just one
binary from all the sources.
This binary is then given the task of choosing tests to run (based on user
selection and individual test requirement), forking each test into its own
process and accumulating the results.
Diffstat (limited to 'test/ps-surface-source.c')
-rw-r--r-- | test/ps-surface-source.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/ps-surface-source.c b/test/ps-surface-source.c index 8f584d675..41016f4e3 100644 --- a/test/ps-surface-source.c +++ b/test/ps-surface-source.c @@ -26,7 +26,6 @@ #include "cairo-test.h" #include <cairo-ps.h> -#define NAME "ps" #include "surface-source.c" static cairo_surface_t * @@ -34,8 +33,15 @@ create_source_surface (int size) { cairo_surface_t *surface; - surface = cairo_ps_surface_create ("ps-surface-source.ps", size, size); + surface = cairo_ps_surface_create ("ps-surface-source-out.ps", size, size); cairo_surface_set_fallback_resolution (surface, 72., 72.); return surface; } + +CAIRO_TEST (ps_surface_source, + "Test using a PS surface as the source", + "source", /* keywords */ + NULL, /* requirements */ + SIZE, SIZE, + preamble, draw) |