From 978b882381af6599d23927946db201f8b99e3859 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 15 Jan 2022 15:30:11 -0700 Subject: [PATCH] automated_tests.sh: debugging test failure on appveyor --- testmaps/automatated_tests.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/testmaps/automatated_tests.sh b/testmaps/automatated_tests.sh index ffc433f5..fd2e4bf6 100755 --- a/testmaps/automatated_tests.sh +++ b/testmaps/automatated_tests.sh @@ -83,7 +83,15 @@ for bsp in ${COMMIT_JSON_MAPS}; do diff -U3 -w reference_bsp_json/${bsp}.qbsplog ${bsp}.qbsplog echo "Diff of reference_bsp_json/${bsp}.json and ${bsp}.json:" - diff -U3 -w reference_bsp_json/${bsp}.json ${bsp}.json || exit 1 + diff -U3 -w reference_bsp_json/${bsp}.json ${bsp}.json + + diffreturn=$? + if [[ $diffreturn -ne 0 ]]; then + echo "Diff returned $diffreturn" + file reference_bsp_json/${bsp}.json + file ${bsp}.json + exit 1 + fi fi done