[cairo-commit] cairo/test .cvsignore, 1.14, 1.15 Makefile.am, 1.29, 1.30 cairo-test.c, 1.16, 1.17 select-font-no-show-text.c, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Wed Apr 13 14:45:07 PDT 2005


Committed by: cworth

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

Modified Files:
	.cvsignore Makefile.am cairo-test.c 
Added Files:
	select-font-no-show-text.c 
Log Message:

        * test/.cvsignore:
        * test/Makefile.am:
        * test/select-font-no-show-text.c: (draw), (main): Add new
        set-surface-no-show-text test.

        * test/cairo-test.c: (cairo_test): Be sure to call cairo_destroy
        even if the image size is 0,0 so that we can test bugs triggered
        during cleanup.


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- .cvsignore	11 Apr 2005 21:04:56 -0000	1.14
+++ .cvsignore	13 Apr 2005 21:45:05 -0000	1.15
@@ -14,10 +14,12 @@
 move-to-show-surface
 path-data
 pixman-rotate
+select-font-no-show-text
 text-cache-crash
 text-rotate
 transforms
 translate-show-surface
+trap-clip
 user-data
 *-out.png
 *-diff.png

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- Makefile.am	13 Apr 2005 18:23:43 -0000	1.29
+++ Makefile.am	13 Apr 2005 21:45:05 -0000	1.30
@@ -11,6 +11,7 @@
 move-to-show-surface	\
 path-data		\
 pixman-rotate		\
+select-font-no-show-text\
 text-cache-crash	\
 text-rotate		\
 transforms		\
@@ -90,6 +91,7 @@
 move_to_show_surface_LDADD = $(LDADDS)
 path_data_LDADD = $(LDADDS)
 pixman_rotate_LDADD = $(LDADDS)
+select_font_no_show_text_LDADD = $(LDADDS)
 text_cache_crash_LDADD = $(LDADDS)
 text_rotate_LDADD = $(LDADDS)
 transforms_LDADD = $(LDADDS)

Index: cairo-test.c
===================================================================
RCS file: /cvs/cairo/cairo/test/cairo-test.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- cairo-test.c	4 Apr 2005 16:47:12 -0000	1.16
+++ cairo-test.c	13 Apr 2005 21:45:05 -0000	1.17
@@ -154,6 +154,7 @@
 
     /* Skip image check for tests with no image (width,height == 0,0) */
     if (test->width == 0 || test->height == 0) {
+	cairo_destroy (cr);
 	free (png_buf);
 	free (diff_buf);
 	return CAIRO_TEST_SUCCESS;

--- NEW FILE: select-font-no-show-text.c ---
(This appears to be a binary file; contents omitted.)




More information about the cairo-commit mailing list