From 1af670d5be7501bc799a49dca5f430f2ad6b5946 Mon Sep 17 00:00:00 2001 From: David Harris Date: Wed, 5 Jun 2024 13:42:29 -0700 Subject: [PATCH] Fixed testcount to not make spurious warnings about src --- bin/testcount.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/testcount.pl b/bin/testcount.pl index 86e56da4c..7ac75d676 100755 --- a/bin/testcount.pl +++ b/bin/testcount.pl @@ -30,9 +30,9 @@ ## and limitations under the License. ################################################################################################ -for dir1 in `ls ${WALLY}/addins/riscv-arch-test/riscv-test-suite/rv*/*` +for dir in `ls ${WALLY}/addins/riscv-arch-test/riscv-test-suite/rv*/*` do - dir=$(echo $dir1 | cut -d':' -f1) + dir=$(echo $dir | cut -d':' -f1) echo $dir if [ $dir == "src" ] then