summaryrefslogtreecommitdiff
path: root/test/ps-features.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-09-27 21:53:21 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-09-27 21:53:21 +0100
commitcca1fc6358e9d0213dd2b41a5bfd1629eec6511e (patch)
tree0d129d14ac7b72a2d691a459e9c5dd292079483f /test/ps-features.c
parent39e4a0bcd04191eecfc593653a4ba32a28fcac6a (diff)
downloadcairo-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/ps-features.c')
-rw-r--r--test/ps-features.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ps-features.c b/test/ps-features.c
index 43c358736..64b5c6034 100644
--- a/test/ps-features.c
+++ b/test/ps-features.c
@@ -98,7 +98,9 @@ main (void)
char dsc[255];
cairo_test_init (&ctx, "ps-features");
- if (! cairo_test_is_target_enabled (&ctx, "ps")) {
+ if (! (cairo_test_is_target_enabled (&ctx, "ps2") ||
+ cairo_test_is_target_enabled (&ctx, "ps3")))
+ {
cairo_test_fini (&ctx);
return CAIRO_TEST_UNTESTED;
}