Fixed testcount to not make spurious warnings about src

This commit is contained in:
David Harris 2024-06-05 13:41:20 -07:00
parent cfe83f5b49
commit 5d8c060e4f

View File

@ -30,10 +30,14 @@
## and limitations under the License. ## and limitations under the License.
################################################################################################ ################################################################################################
for dir in `ls ${WALLY}/addins/riscv-arch-test/riscv-test-suite/rv*/*` for dir1 in `ls ${WALLY}/addins/riscv-arch-test/riscv-test-suite/rv*/*`
do do
dir=$(echo $dir | cut -d':' -f1) dir=$(echo $dir1 | cut -d':' -f1)
echo $dir echo $dir
if [ $dir == "src" ]
then
continue
fi
for fn in `ls $dir/src/*.S` for fn in `ls $dir/src/*.S`
do do
result=`grep 'inst_' $fn | tail -n 1` result=`grep 'inst_' $fn | tail -n 1`