From 164e0d2ea38baacd5888bffa5bebb5d64bfee01b Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 20 Jul 2009 11:02:04 +0100 Subject: [PATCH] [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. --- test/cairo-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cairo-test.c b/test/cairo-test.c index b5d098de7..80a82001f 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;