summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-10-16 17:19:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-10-18 09:55:06 +0100
commit336eddfdbb31865e3669ceb775089c63ce1db27f (patch)
tree08e14b150c4fc83ba1236df26f8ad95106207611 /test/cairo-test.h
parentd48f9340514c258cfece1b72d2f7e3f7b2d3c7b1 (diff)
downloadcairo-336eddfdbb31865e3669ceb775089c63ce1db27f.tar.gz
[test/get-clip] Check the status on the secondary context.
As we solely use a secondary context, we must manually report NO_MEMORY errors whilst running under memfault.
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index 79a5d7191..257107142 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -192,6 +192,10 @@ cairo_bool_t
cairo_test_malloc_failure (const cairo_test_context_t *ctx,
cairo_status_t status);
+cairo_test_status_t
+cairo_test_status_from_status (const cairo_test_context_t *ctx,
+ cairo_status_t status);
+
char *
cairo_test_reference_image_filename (const cairo_test_context_t *ctx,
const char *base_name,