[cairo-commit] cairo/test cairo-test.c, 1.55, 1.56 clip-all.c, 1.1, 1.2

Carl Worth commit at pdx.freedesktop.org
Wed Aug 31 16:17:30 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv15365/test

Modified Files:
	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.56
diff -u -d -r1.55 -r1.56
--- cairo-test.c	23 Aug 2005 12:18:48 -0000	1.55
+++ cairo-test.c	31 Aug 2005 23:17:28 -0000	1.56
@@ -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.2
diff -u -d -r1.1 -r1.2
--- clip-all.c	31 Aug 2005 16:00:02 -0000	1.1
+++ clip-all.c	31 Aug 2005 23:17:28 -0000	1.2
@@ -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