[cairo-commit]
cairo/test Makefile.am, 1.11, 1.12 clip_twice-ref.png,
NONE, 1.1 clip_twice.c, NONE, 1.1
Kristian Hogsberg
commit at pdx.freedesktop.org
Wed Jan 26 21:46:03 PST 2005
Committed by: krh
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv5426/test
Modified Files:
Makefile.am
Added Files:
clip_twice-ref.png clip_twice.c
Log Message:
2005-01-26 Kristian Høgsberg <krh at redhat.com>
* test/clip_twice.c, test/clip_twice-ref.png: New test case to
verify that the clip surface is correctly updated when extending
an existing clip path.
Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile.am 26 Jan 2005 21:41:55 -0000 1.11
+++ Makefile.am 27 Jan 2005 05:46:01 -0000 1.12
@@ -6,16 +6,19 @@
move_to_show_surface \
text_cache_crash \
text_rotate \
-coverage
+coverage \
+clip_twice
# 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 \
-leaky_polygon-ref.png \
-line_width-ref.png \
-move_to_show_surface-ref.png
+EXTRA_DIST = \
+fill_rule-ref.png \
+leaky_polygon-ref.png \
+line_width-ref.png \
+move_to_show_surface-ref.png \
+coverage-ref.png \
+clip_twice.png
# Once we can draw the text_rotate.c test case correctly, we should
# create and add text_rotate-ref.png to the list of reference PNGs.
@@ -28,10 +31,13 @@
# here. New failures due to local, uncommitted code changes are
# regression bugs that should not be listed here. Instead they should
# be fixed before the code is committed.
+#
+# clip_twice fails because of loss of precision when converting to and
+# from premultiplied alpha in the test framework.
XFAIL_TESTS = \
move_to_show_surface \
text_rotate \
-coverage
+clip_twice
check_PROGRAMS = $(TESTS)
@@ -65,6 +71,7 @@
text_cache_crash_SOURCES = text_cache_crash.c $(cairo_test_lib)
text_rotate_SOURCES = text_rotate.c $(cairo_test_lib)
coverage_SOURCES = coverage.c $(cairo_test_lib)
+clip_twice_SOURCES = clip_twice.c $(cairo_test_lib)
noinst_PROGRAMS = imagediff
imagediff_SOURCES = imagediff.c $(cairo_test_lib)
--- NEW FILE: clip_twice-ref.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: clip_twice.c ---
(This appears to be a binary file; contents omitted.)
More information about the cairo-commit
mailing list