From f0e3d32ffcd176cbf3d9917e6fb0a4946deb5d7d Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Thu, 7 Oct 2021 00:38:06 -0600 Subject: [PATCH] testmaps: ignore space change in json diff --- testmaps/automatated_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testmaps/automatated_tests.sh b/testmaps/automatated_tests.sh index 70444700..10300dd2 100755 --- a/testmaps/automatated_tests.sh +++ b/testmaps/automatated_tests.sh @@ -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