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;