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.
################################################################################################
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
dir=$(echo $dir | cut -d':' -f1)
dir=$(echo $dir1 | cut -d':' -f1)
echo $dir
if [ $dir == "src" ]
then
continue
fi
for fn in `ls $dir/src/*.S`
do
result=`grep 'inst_' $fn | tail -n 1`