[cairo-commit] cairo/test Makefile.am,1.92,1.93 clip-all.c,1.2,1.3

Carl Worth commit at pdx.freedesktop.org
Mon Sep 19 17:24:54 PDT 2005


Committed by: cworth

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

Modified Files:
	Makefile.am clip-all.c 
Log Message:

2005-09-19  Carl Worth  <cworth at cworth.org>

        * src/cairo-xlib-surface.c: (_create_a8_picture): 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.

        * test/Makefile.am:
        * test/clip-all.c: (main): Remove clip-all from the XFAIL list
        since it works now.


Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- Makefile.am	13 Sep 2005 19:11:32 -0000	1.92
+++ Makefile.am	20 Sep 2005 00:24:52 -0000	1.93
@@ -146,7 +146,6 @@
 # provide an explanation for the expected failure.
 XFAIL_TESTS =			\
 a8-mask				\
-clip-all			\
 filter-nearest-offset		\
 pixman-rotate			\
 self-intersecting		\

Index: clip-all.c
===================================================================
RCS file: /cvs/cairo/cairo/test/clip-all.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- clip-all.c	31 Aug 2005 23:17:28 -0000	1.2
+++ clip-all.c	20 Sep 2005 00:24:52 -0000	1.3
@@ -65,6 +65,5 @@
 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);
 }



More information about the cairo-commit mailing list