summaryrefslogtreecommitdiff
path: root/test/arc-infinite-loop.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-12-15 15:28:49 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-15 15:32:19 +0000
commit07abd21a033a429e337632557d4bc91ca230fe2e (patch)
tree4e6afcffe9ca3366fa7e2888efd754f00f6d4f08 /test/arc-infinite-loop.c
parent65040d3e3f5e00bea8be0d33a200d8d62e11e053 (diff)
downloadcairo-07abd21a033a429e337632557d4bc91ca230fe2e.tar.gz
test/arc-infinite-loop: Random return value fun.
Diffstat (limited to 'test/arc-infinite-loop.c')
-rw-r--r--test/arc-infinite-loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/arc-infinite-loop.c b/test/arc-infinite-loop.c
index e648c70ac..8b469eacf 100644
--- a/test/arc-infinite-loop.c
+++ b/test/arc-infinite-loop.c
@@ -49,6 +49,8 @@ draw (cairo_t *cr, int width, int height)
/* Check if the code that handles huge angles hangs */
cairo_arc (cr, 0, 0, 1, 0, 1024 / DBL_EPSILON * M_PI);
+
+ return CAIRO_TEST_SUCCESS;
}
CAIRO_TEST (arc_infinite_loop,