summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-17 12:28:33 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-17 12:28:33 +0100
commitfc011bfcb98cfcc86b8ab81a247608e13ed70cdc (patch)
tree11270d3de7830b2d6641121772bdb50acc4c392d
parentcea41a61c104f235c1f896207115507aed93d9ea (diff)
test: Record the current status of radial-outer-focus as xfail
Debate rages as to the correct way to handle this. In some ways the current output is expected due to the numerical instability in handling the inner-focus-on-the-outer-circle. However, the result looks less than desirable so some solution (which may not be inside cairo per-se) is sought.
-rw-r--r--test/Makefile.refs1
-rw-r--r--test/radial-outer-focus.c3
-rw-r--r--test/reference/radial-outer-focus.xfail.pngbin0 -> 34234 bytes
3 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile.refs b/test/Makefile.refs
index 74001787..bae5edb5 100644
--- a/test/Makefile.refs
+++ b/test/Makefile.refs
@@ -2015,6 +2015,7 @@ REFERENCE_IMAGES = \
reference/radial-gradient.ref.png \
reference/radial-gradient.traps.argb32.ref.png \
reference/radial-gradient.traps.rgb24.ref.png \
+ reference/radial-outer-focus.xfail.png \
reference/random-clip.base.argb32.ref.png \
reference/random-clip.base.rgb24.ref.png \
reference/random-clip.ref.png \
diff --git a/test/radial-outer-focus.c b/test/radial-outer-focus.c
index 42862199..e0389474 100644
--- a/test/radial-outer-focus.c
+++ b/test/radial-outer-focus.c
@@ -33,6 +33,9 @@ draw (cairo_t *cr, int width, int height)
double angle;
int i, j;
+ cairo_set_source_rgb (cr, 0, 0, 1);
+ cairo_paint (cr);
+
angle = 0.0;
for (i = 0; i < 4; i++) {
diff --git a/test/reference/radial-outer-focus.xfail.png b/test/reference/radial-outer-focus.xfail.png
new file mode 100644
index 00000000..53e9f823
--- /dev/null
+++ b/test/reference/radial-outer-focus.xfail.png
Binary files differ