Files
gtk3/debian
Simon McVittie 87d7280ebf d/rules: Don't build gtk-update-icon-cache on release architectures
Ideally src:gtk4 would take over gtk-update-icon-cache on all
architectures, but it isn't buildable on all -ports architectures yet,
and the -ports architectures are more susceptible to packages temporarily
disappearing.
2024-09-16 11:06:06 +01:00
..
2024-09-11 16:28:49 +01:00
2024-08-20 16:21:25 -04:00

Debugging reftest failures
==========================

In a local build
----------------

There must be a better way to do this, but this works...

top_srcdir=<path to unpacked package>
top_builddir=${srcdir}/debian/build/deb
srcdir=${srcdir}/testsuite/reftests
builddir=${builddir}/testsuite/reftests

cd "${builddir}"
debian/tests/run-with-display x11 \
dbus-run-session -- \
env \
    -u XDG_RUNTIME_DIR \
    REFTEST_MODULE_DIR="${builddir}" \
    G_TEST_SRCDIR="${srcdir}" \
    G_TEST_BUILDDIR="${builddir}" \
./gtk-reftest \
    -o "${builddir}/output" \
    -d "${srcdir}" \
    -k \
2>&1 | tee test.log

Look for "not ok" in test.log.

Compare output/foo.ref.png and output/foo.out.png.

output/foo.diff.png shows an artificially-emphasized difference, if you
are having trouble spotting what is different.

On a buildd
-----------

You can't. Good luck reproducing it locally :-(