summaryrefslogtreecommitdiff
path: root/test/fallback-resolution.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-08-12 13:33:04 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-08-13 21:55:19 +0100
commitd56ea9cc879650db0ad2e6b05e483f30f9f21566 (patch)
treef58334bf9ca6d3eef3ef0e7f5813c8b211f3ddac /test/fallback-resolution.c
parentf85a4aec1f94f8fbd8e4db770ff1f70c3286fc90 (diff)
downloadcairo-d56ea9cc879650db0ad2e6b05e483f30f9f21566.tar.gz
[test] Set CAIRO_TEST_UNTESTED to 77
77 is the magic exit code used by automake to indicate a skipped test, so by using it we can get a slightly more informative test log.
Diffstat (limited to 'test/fallback-resolution.c')
-rw-r--r--test/fallback-resolution.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/fallback-resolution.c b/test/fallback-resolution.c
index 44b467b96..84ec285c7 100644
--- a/test/fallback-resolution.c
+++ b/test/fallback-resolution.c
@@ -91,7 +91,7 @@ main (void)
cairo_test_context_t ctx;
cairo_t *cr;
cairo_status_t status;
- cairo_test_status_t ret = CAIRO_TEST_SUCCESS;
+ cairo_test_status_t ret = CAIRO_TEST_UNTESTED;
double ppi[] = { 600., 300., 150., 75., 37.5 };
backend_t backend;
int page, num_pages;
@@ -132,6 +132,9 @@ main (void)
if (surface == NULL)
continue;
+ if (ret == CAIRO_TEST_UNTESTED)
+ ret = CAIRO_TEST_SUCCESS;
+
cr = cairo_create (surface);
cairo_set_tolerance (cr, 3.0);