From 6f701a16b3012b8987e7913d9c692a365a7b5e5e Mon Sep 17 00:00:00 2001 From: Kip Macsai-Goren Date: Sun, 27 Feb 2022 23:29:46 +0000 Subject: [PATCH] added snippet to ignore comments in .diff files as well --- tests/wally-riscv-arch-test/riscv-test-env/verify.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/wally-riscv-arch-test/riscv-test-env/verify.sh b/tests/wally-riscv-arch-test/riscv-test-env/verify.sh index 6a809b73..3e06a2cc 100755 --- a/tests/wally-riscv-arch-test/riscv-test-env/verify.sh +++ b/tests/wally-riscv-arch-test/riscv-test-env/verify.sh @@ -36,7 +36,8 @@ do else echo -e "\e[31m ... FAIL \e[39m" FAIL=$((${FAIL} + 1)) - sdiff <(grep -o '^[^#]*' ${ref}) ${sig} > ${dif} + # KMG: changed sdiff similar to above + sdiff --ignore-case --ignore-trailing-space --strip-trailing-cr <(grep -o '^[^#]*' ${ref}) ${sig} > ${dif} fi done