diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-28 12:58:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-28 12:58:07 +0100 |
commit | 19f44982348d247057df4481010c1e3ddc80bac2 (patch) | |
tree | f308da98013653bcdb34b69c50b9298514b7ad31 /test/cairo-test.c | |
parent | e2f912dc5bbfad3a6f4b5e1dbfbe51be148b3232 (diff) | |
download | cairo-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.c | 3 |
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))); |