Add call to XSynchronize, (the expected clip-all failure isn't occuring without it for some reason).

Note reason for expected failure.
This commit is contained in:
Carl Worth 2005-08-31 16:17:28 +00:00
parent d56b0d1d80
commit f25ebec368
3 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2005-08-31 Carl Worth <cworth@cworth.org>
* test/cairo-test.c: (create_xlib_surface): Add call to
XSynchronize, (the expected clip-all failure isn't occuring
without it for some reason).
* test/clip-all.c: (main): Note reason for expected failure.
2005-08-31 Owen Taylor <otaylor@redhat.com>
* src/cairo-xlib-surface.c (_get_image_surface)

View file

@ -382,6 +382,8 @@ create_xlib_surface (int width, int height, void **closure)
return NULL;
}
XSynchronize (xtc->dpy, 1);
/* XXX: Currently we don't do any xlib testing when the X server
* doesn't have the Render extension. We could do better here,
* (perhaps by converting the tests from ARGB32 to RGB24). One

View file

@ -65,5 +65,6 @@ draw (cairo_t *cr, int width, int height)
int
main (void)
{
return cairo_test (&test, draw);
return cairo_test_expect_failure (&test, draw,
"Need to avoid trying to create size-0 Pixmaps in cairo-xlib");
}