[cairo-commit] cairo/test cairo-test.c, 1.55, 1.55.2.1 clip-all.c,
1.1, 1.1.2.1
Carl Worth
commit at pdx.freedesktop.org
Wed Aug 31 16:15:55 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv15182/test
Modified Files:
Tag: BRANCH_1_0
cairo-test.c clip-all.c
Log Message:
2005-08-31 Carl Worth <cworth at 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.
Index: cairo-test.c
===================================================================
RCS file: /cvs/cairo/cairo/test/cairo-test.c,v
retrieving revision 1.55
retrieving revision 1.55.2.1
diff -u -d -r1.55 -r1.55.2.1
--- cairo-test.c 23 Aug 2005 12:18:48 -0000 1.55
+++ cairo-test.c 31 Aug 2005 23:15:53 -0000 1.55.2.1
@@ -382,6 +382,8 @@
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
Index: clip-all.c
===================================================================
RCS file: /cvs/cairo/cairo/test/clip-all.c,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- clip-all.c 31 Aug 2005 16:00:02 -0000 1.1
+++ clip-all.c 31 Aug 2005 23:15:53 -0000 1.1.2.1
@@ -65,5 +65,6 @@
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");
}
More information about the cairo-commit
mailing list