summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-07-20 11:02:04 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-07-20 18:56:10 +0100
commit164e0d2ea38baacd5888bffa5bebb5d64bfee01b (patch)
tree54b9f71d19742a94d920d9ae7a60eb116445d512 /test/cairo-test.c
parente2883177487ba294a0c97bafb00e2f56e5fe84d9 (diff)
[test] Misidentification of XFAIL as NEW
cut'n'paste error compared the image against the known failure instead of any recorded new failure, when checking for NEW fails.
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index b5d098de..80a82001 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -1214,7 +1214,7 @@ REPEAT:
ret = CAIRO_TEST_SUCCESS;
goto UNWIND_CAIRO;
}
- if (cairo_test_files_equal (out_png_path, xfail_png_path)) {
+ if (cairo_test_files_equal (out_png_path, new_png_path)) {
cairo_test_log (ctx, "PNG file exactly matches current failure image.\n");
cairo_surface_destroy (test_image);
ret = CAIRO_TEST_NEW;