reftest_compare_surfaces: Report how much the images differ
authorSimon McVittie <smcv@debian.org>
Sat, 13 Feb 2021 18:26:24 +0000 (18:26 +0000)
committerJeremy Bícha <jbicha@ubuntu.com>
Mon, 27 Nov 2023 15:58:51 +0000 (10:58 -0500)
commit9c53016816f92d54759fcbf114c01b0bf46fb097
tree6d2903e8bf6ad0c4ffd9efae46bff39fb7eace9f
parent5787c158882baa4f05c1c534ae1b59c3389451a5
reftest_compare_surfaces: Report how much the images differ

In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
totally different rendering and more subtle issues.

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required

Gbp-Pq: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
testsuite/gsk/compare-render.c
testsuite/reftests/gtk-reftest.c
testsuite/reftests/reftest-compare.c
testsuite/reftests/reftest-compare.h