From 69e79ccdf379f8b7f0976ac95eb1eb2155ef0c00 Mon Sep 17 00:00:00 2001 From: Kip Macsai-Goren Date: Fri, 4 Feb 2022 19:17:46 +0000 Subject: [PATCH] Allowed commenting in signature files --- 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 f69a4c633..c01fd329c 100755 --- a/tests/wally-riscv-arch-test/riscv-test-env/verify.sh +++ b/tests/wally-riscv-arch-test/riscv-test-env/verify.sh @@ -28,7 +28,8 @@ do echo -e "Check $(printf %-24s ${stub}) \e[33m ... IGNORE \e[39m" continue fi - diff --ignore-case --strip-trailing-cr ${ref} ${sig} &> /dev/null + # KMG: added snippet to ignore comments in reference file + diff -I '#*' -I '//*' --ignore-case --strip-trailing-cr ${ref} ${sig} &> /dev/null if [ $? == 0 ] then echo -e "\e[32m ... OK \e[39m"