[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.
This commit is contained in:
Chris Wilson 2009-07-20 11:02:04 +01:00
parent e288317748
commit 164e0d2ea3

View file

@ -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;