summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-07-28 12:58:07 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-07-28 12:58:07 +0100
commit19f44982348d247057df4481010c1e3ddc80bac2 (patch)
treef308da98013653bcdb34b69c50b9298514b7ad31 /test/cairo-test.c
parente2f912dc5bbfad3a6f4b5e1dbfbe51be148b3232 (diff)
downloadcairo-19f44982348d247057df4481010c1e3ddc80bac2.tar.gz
[test] Wrap yet another call to get_image_surface() inside a timeout.
I missed this call to get_image_surface() that is now being hit having restored the reference image for dash-infinite-loop.
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index 67323b5cf..eeb8b6f61 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -1176,9 +1176,12 @@ REPEAT:
}
}
+ /* be more generous as we may need to use external renderers */
+ alarm (4 * ctx->timeout);
test_image = target->get_image_surface (surface, 0,
ctx->test->width,
ctx->test->height);
+ alarm (0);
if (cairo_surface_status (test_image)) {
cairo_test_log (ctx, "Error: Failed to extract image: %s\n",
cairo_status_to_string (cairo_surface_status (test_image)));