[cairo-commit] cairo/test .cvsignore, 1.1, 1.2 Makefile.am, 1.2, 1.3 fill_rule-ref.png, NONE, 1.1 fill_rule.c, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Wed Oct 27 10:49:00 PDT 2004


Committed by: cworth

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

Modified Files:
	.cvsignore Makefile.am 
Added Files:
	fill_rule-ref.png fill_rule.c 
Log Message:

        * test/fill_rule.c: Add new test for cairo_set_fill_rule. Also
        demonstrate some of the current tessellation bugs with the version
        of the code that is in CVS.


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cvsignore	26 Oct 2004 21:38:43 -0000	1.1
+++ .cvsignore	27 Oct 2004 17:48:58 -0000	1.2
@@ -2,6 +2,7 @@
 .libs
 Makefile
 Makefile.in
+fill_rule
 line_width
 move_to_show_surface
 *-out.png

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am	27 Oct 2004 01:19:55 -0000	1.2
+++ Makefile.am	27 Oct 2004 17:48:58 -0000	1.3
@@ -1,10 +1,20 @@
+# All new test cases go here
 TESTS = 		\
+fill_rule		\
 line_width		\
 move_to_show_surface
 
-# Known bugs (not regressions). We do need to fix these before the
-# next release, but they are expected to fail for now, so they don't
-# need to hold up any new code commit.
+# 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
+# here?
+EXTRA_DIST = \
+fill_rule-ref.png \
+line_width-ref.png \
+move_to_show_surface-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
+# now, so they don't need to hold up any new code commit.
 #
 # When new bugs are found in committed code they can be listed
 # here. New failures due to local, uncommitted code changes are
@@ -13,12 +23,6 @@
 XFAIL_TESTS = \
 move_to_show_surface
 
-# Ugh, don't like having to repeat this list so much. Can I use a
-# wildcard here?
-EXTRA_DIST = \
-line_width-ref.png \
-move_to_show_surface-ref.png
-
 check_PROGRAMS = $(TESTS)
 
 # We're using _GNU_SOURCE to get the prototype for asprintf. This may
@@ -39,6 +43,10 @@
 xmalloc.c	\
 xmalloc.h
 
+# ARGH! I have to repeat the list of tests a third time. Maybe it's
+# time to break down and auto-generate the Makefile.am or something
+# from autogen.sh. My, but this is painful...
+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)
 

--- NEW FILE: fill_rule-ref.png ---
(This appears to be a binary file; contents omitted.)

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




More information about the cairo-commit mailing list