[cairo-commit] cairo/test .cvsignore, 1.2, 1.3 Makefile.am, 1.4, 1.5 cairo_test.h, 1.1, 1.2 text_cache_crash.c, NONE, 1.1 text_rotate.c, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Thu Nov 4 14:23:52 PST 2004


Committed by: cworth

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

Modified Files:
	.cvsignore Makefile.am cairo_test.h 
Added Files:
	text_cache_crash.c text_rotate.c 
Log Message:
        * test/text_cache_crash.c: Add new test demonstrating assertion
        failure in cairo_cache_lookup.

        * test/text_rotate.c: Add new test showing problems with rotated
        text.


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- .cvsignore	27 Oct 2004 17:48:58 -0000	1.2
+++ .cvsignore	4 Nov 2004 22:23:50 -0000	1.3
@@ -5,6 +5,8 @@
 fill_rule
 line_width
 move_to_show_surface
+text_cache_crash
+text_rotate
 *-out.png
 *-diff.png
 

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile.am	27 Oct 2004 18:42:45 -0000	1.4
+++ Makefile.am	4 Nov 2004 22:23:50 -0000	1.5
@@ -2,7 +2,9 @@
 TESTS = 		\
 fill_rule		\
 line_width		\
-move_to_show_surface
+move_to_show_surface	\
+text_cache_crash	\
+text_rotate
 
 # And all new test go here too. I really don't like having to repeat
 # this list. Anyone know a good way to avoid it? Can I use a wildcard
@@ -10,7 +12,9 @@
 EXTRA_DIST = \
 fill_rule-ref.png \
 line_width-ref.png \
-move_to_show_surface-ref.png
+move_to_show_surface-ref.png \
+text_cache_crash-ref.png \
+text_rotate-ref.png
 
 # This list is only for known bugs (not regressions). We do need to
 # fix these before the next release, but they are expected to fail for
@@ -21,7 +25,8 @@
 # regression bugs that should not be listed here. Instead they should
 # be fixed before the code is committed.
 XFAIL_TESTS = \
-move_to_show_surface
+move_to_show_surface \
+text_rotate
 
 check_PROGRAMS = $(TESTS)
 
@@ -49,5 +54,7 @@
 fill_rule_SOURCES = fill_rule.c $(cairo_test_lib)
 line_width_SOURCES = line_width.c $(cairo_test_lib)
 move_to_show_surface_SOURCES = move_to_show_surface.c $(cairo_test_lib)
+text_cache_crash_SOURCES = text_cache_crash.c $(cairo_test_lib)
+text_rotate_SOURCES = text_rotate.c $(cairo_test_lib)
 
 CLEANFILES = *-out.png *-diff.png

Index: cairo_test.h
===================================================================
RCS file: /cvs/cairo/cairo/test/cairo_test.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cairo_test.h	26 Oct 2004 21:38:43 -0000	1.1
+++ cairo_test.h	4 Nov 2004 22:23:50 -0000	1.2
@@ -26,6 +26,7 @@
 #ifndef _CAIRO_TEST_H_
 #define _CAIRO_TEST_H_
 
+#include <math.h>
 #include <cairo.h>
 
 typedef enum cairo_test_status {

--- NEW FILE: text_cache_crash.c ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: text_rotate.c ---
(This appears to be a binary file; contents omitted.)




More information about the cairo-commit mailing list