Mark several new tests added during 1.7 as XFAIL.

The following tests were added during the 1.7 cycle to
demonstrate bugs:

	alpha-similar operator operator-alpha self-copy-overlap

In all cases, the identical bug existed in the last major
release, (1.6.4), so these are not new regressions, but merely
bugs that we're now aware of. The correct way to handle bugs
such as these is to mark them as expected failures (XFAIL).
This commit is contained in:
Carl Worth 2008-09-24 16:51:44 -07:00
parent c3750cf218
commit 62107b8015
5 changed files with 12 additions and 4 deletions

View file

@ -777,6 +777,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 = \
alpha-similar$(EXEEXT) \
big-line$(EXEEXT) \
big-trap$(EXEEXT) \
extend-pad$(EXEEXT) \
@ -784,6 +785,9 @@ filter-nearest-offset$(EXEEXT) \
filter-bilinear-extents$(EXEEXT) \
large-source$(EXEEXT) \
long-lines$(EXEEXT) \
operator$(EXEEXT) \
operator-alpha$(EXEEXT) \
self-copy-overlap$(EXEEXT) \
self-intersecting$(EXEEXT) \
surface-pattern$(EXEEXT) \
surface-pattern-big-scale-down$(EXEEXT) \

View file

@ -29,7 +29,8 @@ static cairo_test_draw_function_t draw;
static const cairo_test_t test = {
"alpha-similar",
"Tests creation of similar alpha surfaces",
"Tests creation of similar alpha surfaces"
"\nApplication of a pure-alpha similar source is inconsistent across backends.",
10, 10,
draw
};

View file

@ -33,7 +33,8 @@ static cairo_test_draw_function_t draw;
static const cairo_test_t test = {
"operator-alpha",
"Tests using set_operator() with an non-opaque source",
"Tests using set_operator() with an non-opaque source"
"\nCurrently failing on the PDF backend for an unknown reason.",
(SIZE+PAD) * N_OPERATORS + PAD, SIZE + 2*PAD,
draw
};

View file

@ -33,7 +33,8 @@ static cairo_test_draw_function_t draw;
static const cairo_test_t test = {
"operator",
"Tests using set_operator()",
"Tests using set_operator()"
"\nCurrently failing on the PDF backend for an unknown reason.",
(SIZE+PAD) * N_OPERATORS + PAD, SIZE + 2*PAD,
draw
};

View file

@ -32,7 +32,8 @@ static cairo_test_draw_function_t draw;
/* This test is only interesting if the target has alpha */
static const cairo_test_t test = {
"self-copy-overlap",
"Tests painting to itself using itself as the source",
"Tests painting to itself using itself as the source"
"\nBackends treat this case inconsistently---vector backends are creating snapshots.",
200, 200,
draw
};