testmaps: ignore space change in json diff

This commit is contained in:
Eric Wasylishen 2021-10-07 00:38:06 -06:00
parent b855bbd0f2
commit f0e3d32ffc
1 changed files with 2 additions and 2 deletions

View File

@ -77,10 +77,10 @@ for bsp in ${COMMIT_JSON_MAPS}; do
cp ${bsp}.qbsplog reference_bsp_json/${bsp}.qbsplog
else
echo "Diff of reference_bsp_json/${bsp}.qbsplog and ${bsp}.qbsplog:"
diff -U3 --strip-trailing-cr reference_bsp_json/${bsp}.qbsplog ${bsp}.qbsplog
diff -U3 -w reference_bsp_json/${bsp}.qbsplog ${bsp}.qbsplog
echo "Diff of reference_bsp_json/${bsp}.json and ${bsp}.json:"
diff -U3 --strip-trailing-cr reference_bsp_json/${bsp}.json ${bsp}.json || exit 1
diff -U3 -w reference_bsp_json/${bsp}.json ${bsp}.json || exit 1
fi
done