[cairo-commit] 2 commits - test/big-line.c test/big-line-ps-ref.png test/big-line-ps-rgb24-ref.png test/big-line-ref.png test/big-line-rgb24-ref.png test/Makefile.am

Carl Worth cworth at kemper.freedesktop.org
Thu Feb 28 15:42:01 PST 2008


 test/Makefile.am               |    1 +
 test/big-line-ps-ref.png       |binary
 test/big-line-ps-rgb24-ref.png |binary
 test/big-line-ref.png          |binary
 test/big-line-rgb24-ref.png    |binary
 test/big-line.c                |    3 ++-
 6 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 4cc174f72f635e885b5f5fdc3d67789d3952cd2e
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Feb 28 15:41:36 2008 -0800

    Mark the big-line test as XFAIL

diff --git a/test/Makefile.am b/test/Makefile.am
index c359f1f..3020711 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -606,6 +606,7 @@ $(REFERENCE_IMAGES)
 # everything from this list by fixing the bugs. (We don't necessarily
 # have to be that strict for "snapshots" though.)
 XFAIL_TESTS =					\
+big-line$(EXEEXT)				\
 big-trap$(EXEEXT)				\
 extend-pad$(EXEEXT)				\
 filter-nearest-offset$(EXEEXT)			\
diff --git a/test/big-line.c b/test/big-line.c
index e727125..cb1d84e 100644
--- a/test/big-line.c
+++ b/test/big-line.c
@@ -29,7 +29,8 @@ static cairo_test_draw_function_t draw;
 
 cairo_test_t test = {
     "big-line",
-    "Test drawing of simple lines with positive and negative coordinates > 2^16",
+    "Test drawing of simple lines with positive and negative coordinates > 2^16\n"
+    "This currently fails because of 16-bit limitations in pixman.",
     100, 100,
     draw
 };
commit 5d0bc97b2000a7b7e40a7a3918f09d90bdf5376a
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Feb 28 15:35:46 2008 -0800

    Fix incorrect reference images for big-line test
    
    I mistakenly generated the original reference images with
    a 16.16 version of cairo, (which manifests a different
    buggy behavior than does the current 24.8 cairo).

diff --git a/test/big-line-ps-ref.png b/test/big-line-ps-ref.png
index b8a7d9b..2a4f57c 100644
Binary files a/test/big-line-ps-ref.png and b/test/big-line-ps-ref.png differ
diff --git a/test/big-line-ps-rgb24-ref.png b/test/big-line-ps-rgb24-ref.png
index ead463b..d3d2356 100644
Binary files a/test/big-line-ps-rgb24-ref.png and b/test/big-line-ps-rgb24-ref.png differ
diff --git a/test/big-line-ref.png b/test/big-line-ref.png
index 4cac577..7bfb379 100644
Binary files a/test/big-line-ref.png and b/test/big-line-ref.png differ
diff --git a/test/big-line-rgb24-ref.png b/test/big-line-rgb24-ref.png
index 0ac754b..f1fc49d 100644
Binary files a/test/big-line-rgb24-ref.png and b/test/big-line-rgb24-ref.png differ


More information about the cairo-commit mailing list