summaryrefslogtreecommitdiff
path: root/test/clip-all.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-09-19 17:24:52 +0000
committerCarl Worth <cworth@cworth.org>2005-09-19 17:24:52 +0000
commit8fc9e099fd0c53c4e2119cfd0f6c63b48b293043 (patch)
tree94d706d842efd44e0580f34f040dc9083566cc63 /test/clip-all.c
parentfa5d17f4667719803fe27207ca1ec1e7a5882080 (diff)
Avoid attempting to create a size-0 Pixmap, (to prevent the associated X error). This actually showed up when the clip region is empty. Thanks to Radek Doulík for the bug report.
Remove clip-all from the XFAIL list since it works now.
Diffstat (limited to 'test/clip-all.c')
-rw-r--r--test/clip-all.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/clip-all.c b/test/clip-all.c
index 428445bcb..0fbcc4ac1 100644
--- a/test/clip-all.c
+++ b/test/clip-all.c
@@ -65,6 +65,5 @@ draw (cairo_t *cr, int width, int height)
int
main (void)
{
- return cairo_test_expect_failure (&test, draw,
- "Need to avoid trying to create size-0 Pixmaps in cairo-xlib");
+ return cairo_test (&test, draw);
}