Files
gtk3/debian
Simon McVittie 4e9b18f20f d/libgtk-3-0t64.bug-control: Include libgtk-session-lock0 in bug reports
This library is a fork of gtk-layer-shell, and like its parent, it
calls into undocumented GTK internals that have no stability guarantee.
2025-03-16 16:19:06 +00:00
..
2025-03-13 20:30:55 -04:00
2025-01-27 08:19:07 -05:00
2025-01-27 08:12:34 -05:00
2025-01-27 08:12:34 -05: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 :-(