Files
gtk3/debian
Steve Langasek 3df81bab55 Import Debian changes 3.24.41-1.1
gtk+3.0 (3.24.41-1.1) unstable; urgency=medium
.
  * Non-maintainer upload.
  * Rename libraries for 64-bit time_t transition.  Closes: #1064083
2024-02-29 13:51:11 -05:00
..
2024-02-29 13:51:11 -05:00
2024-02-29 13:51:11 -05:00
2024-02-22 07:29:22 -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 :-(