testsuite: If validation result is not as expected, log the diff
It's easier to diagnose test failures if everything (within reason) is in the build log.
I'm seeing a test failure in this location on Debian riscv64, which turns out to be that when using GALLIUM_DRIVER=softpipe
to work around LLVM JIT and therefore llvmpipe being known-broken on this architecture, something in the graphics driver stack repeatedly logs libEGL warning: egl: failed to create dri2 screen
which is not one of the expected messages.
The actual test failure is probably more of a Mesa problem than a GTK problem, but the ability to diagnose it is useful.
Edited by Simon McVittie