diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-27 21:53:21 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-27 21:53:21 +0100 |
commit | cca1fc6358e9d0213dd2b41a5bfd1629eec6511e (patch) | |
tree | 0d129d14ac7b72a2d691a459e9c5dd292079483f /test/svg-surface.c | |
parent | 39e4a0bcd04191eecfc593653a4ba32a28fcac6a (diff) | |
download | cairo-cca1fc6358e9d0213dd2b41a5bfd1629eec6511e.tar.gz |
[test] Fix target specific tests for recent SVG/PS version split.
A few tests explicitly checked whether the "ps" or "svg" target was
enabled and this broke because of the name change. So fixup, to run
the generic test if either PS or SVG target is enabled as appropriate.
Diffstat (limited to 'test/svg-surface.c')
-rw-r--r-- | test/svg-surface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/svg-surface.c b/test/svg-surface.c index 9a626337d..c4eadc9f3 100644 --- a/test/svg-surface.c +++ b/test/svg-surface.c @@ -95,7 +95,9 @@ main (void) cairo_surface_t *surface; cairo_test_init (&ctx, "svg-surface"); - if (! cairo_test_is_target_enabled (&ctx, "svg")) { + if (! (cairo_test_is_target_enabled (&ctx, "svg11") || + cairo_test_is_target_enabled (&ctx, "svg12"))) + { cairo_test_fini (&ctx); return CAIRO_TEST_UNTESTED; } |