summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-01-10 13:04:52 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-08-13 21:55:09 +0100
commitf85a4aec1f94f8fbd8e4db770ff1f70c3286fc90 (patch)
tree046aa588f02008f66abd5680a658d1489bd11fd1 /test/cairo-test.h
parent436c0c8be28546813139f391a62303d4c1894fc3 (diff)
downloadcairo-f85a4aec1f94f8fbd8e4db770ff1f70c3286fc90.tar.gz
[test] Export a function to check whether a target is enabled.
Allow individuals tests to check whether a test target is enabled - useful for those tests that circumvent cairo_test() and perform feature testing.
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 09f5fd875..4c3cbced1 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -176,6 +176,10 @@ cairo_test_paint_checkered (cairo_t *cr);
#define CAIRO_TEST_DOUBLE_EQUALS(a,b) (fabs((a)-(b)) < 0.00001)
+cairo_bool_t
+cairo_test_is_target_enabled (const cairo_test_context_t *ctx,
+ const char *target);
+
CAIRO_END_DECLS
#endif