summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-09-09 16:40:58 -0700
committerCarl Worth <cworth@cworth.org>2006-09-09 17:32:50 -0700
commitaeca64f6cdbf6af154a4fb8b19cb40ee0ecd0bd8 (patch)
tree10041a9f77b02a93215a053db7e8e7a08ef086da /test/cairo-test.c
parent97f26c523590dcb208a7c0e4d00fd66f4ca58605 (diff)
boilerplate: Allow targets to distinguish between test and perf.
Add a new cairo_boilerplate_mode_t so that the boilerplate targets can do slightly different things if being tested for correctness vs. being run for performance.
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index 36a40cf9..d95d1500 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -220,6 +220,7 @@ cairo_test_for_target (cairo_test_t *test,
target->content,
test->width,
test->height,
+ CAIRO_BOILERPLATE_MODE_TEST,
&target->closure);
if (test->width && test->height) {