mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
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. Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
6e54589d9e
commit
5c3ea03dca
@ -32,6 +32,7 @@ for t in ${TESTS[*]}; do
|
||||
echo "ok $I $name"
|
||||
rm "$diff"
|
||||
else
|
||||
sed -e 's/^/# /' < "$diff"
|
||||
echo "not ok $I $name"
|
||||
cp "$expected" "$ref"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user