[cairo-commit] cairo/test Makefile.am, 1.91.2.1, 1.91.2.2 clip-all.c, 1.1.2.1, 1.1.2.2

Carl Worth commit at pdx.freedesktop.org
Mon Sep 19 17:27:25 PDT 2005


Committed by: cworth

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

Modified Files:
      Tag: BRANCH_1_0
	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.91.2.1
retrieving revision 1.91.2.2
diff -u -d -r1.91.2.1 -r1.91.2.2
--- Makefile.am	13 Sep 2005 19:20:15 -0000	1.91.2.1
+++ Makefile.am	20 Sep 2005 00:27:22 -0000	1.91.2.2
@@ -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.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- clip-all.c	31 Aug 2005 23:15:53 -0000	1.1.2.1
+++ clip-all.c	20 Sep 2005 00:27:22 -0000	1.1.2.2
@@ -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