summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/create-for-stream.c8
-rw-r--r--test/fallback-resolution.c8
-rw-r--r--test/multi-page.c4
-rw-r--r--test/ps-features.c4
-rw-r--r--test/svg-clip.c4
-rw-r--r--test/svg-surface.c4
6 files changed, 24 insertions, 8 deletions
diff --git a/test/create-for-stream.c b/test/create-for-stream.c
index 5cea4ab8..f0854962 100644
--- a/test/create-for-stream.c
+++ b/test/create-for-stream.c
@@ -243,7 +243,9 @@ main (void)
cairo_test_init (&ctx, test_name);
#if CAIRO_HAS_PS_SURFACE
- if (cairo_test_is_target_enabled (&ctx, "ps")) {
+ if (cairo_test_is_target_enabled (&ctx, "ps2") ||
+ cairo_test_is_target_enabled (&ctx, "ps3"))
+ {
if (status == CAIRO_TEST_UNTESTED)
status = CAIRO_TEST_SUCCESS;
@@ -275,7 +277,9 @@ main (void)
#endif
#if CAIRO_HAS_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"))
+ {
if (status == CAIRO_TEST_UNTESTED)
status = CAIRO_TEST_SUCCESS;
diff --git a/test/fallback-resolution.c b/test/fallback-resolution.c
index 7c33c1e2..60ff78bf 100644
--- a/test/fallback-resolution.c
+++ b/test/fallback-resolution.c
@@ -129,7 +129,9 @@ main (void)
break;
case PS:
#if CAIRO_HAS_PS_SURFACE
- if (cairo_test_is_target_enabled (&ctx, "ps")) {
+ if (cairo_test_is_target_enabled (&ctx, "ps2") ||
+ cairo_test_is_target_enabled (&ctx, "ps3"))
+ {
surface = cairo_ps_surface_create (backend_filename[backend],
SIZE, SIZE);
cairo_boilerplate_ps_surface_force_fallbacks (surface);
@@ -138,7 +140,9 @@ main (void)
break;
case SVG:
#if CAIRO_HAS_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"))
+ {
surface = cairo_svg_surface_create (backend_filename[backend],
SIZE, SIZE);
cairo_boilerplate_svg_surface_force_fallbacks (surface);
diff --git a/test/multi-page.c b/test/multi-page.c
index 4519437a..50002800 100644
--- a/test/multi-page.c
+++ b/test/multi-page.c
@@ -139,7 +139,9 @@ main (void)
cairo_test_init (&ctx, "multi-page");
#if CAIRO_HAS_PS_SURFACE
- if (cairo_test_is_target_enabled (&ctx, "ps")) {
+ if (cairo_test_is_target_enabled (&ctx, "ps2") ||
+ cairo_test_is_target_enabled (&ctx, "ps3"))
+ {
if (result == CAIRO_TEST_UNTESTED)
result = CAIRO_TEST_SUCCESS;
diff --git a/test/ps-features.c b/test/ps-features.c
index 43c35873..64b5c603 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;
}
diff --git a/test/svg-clip.c b/test/svg-clip.c
index 0286677f..255b71fc 100644
--- a/test/svg-clip.c
+++ b/test/svg-clip.c
@@ -112,7 +112,9 @@ main (void)
cairo_surface_t *surface;
cairo_test_init (&ctx, "svg-clip");
- 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;
}
diff --git a/test/svg-surface.c b/test/svg-surface.c
index 9a626337..c4eadc9f 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;
}