File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/riscv/riscv-vector-tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,11 @@ failed=0
8888
8989for testcase in ${testcases[@]} ; do
9090 echo " Testcase: $testcase "
91- find . -type f -name " ${testcase} * " 2> /dev/null | while read -r f; do
91+ while read -r f; do
9292 " $RISCV_TOOLCHAIN_PATH /bin/riscv$XLEN -unknown-elf-objdump" -D " $f " > " $f .dump"
9393 " $RISCV_TOOLCHAIN_PATH /bin/riscv$XLEN -unknown-elf-objcopy" -O binary " $f " " $f .bin"
9494 echo " running $SCRIPT_DIR /../../../sim/simx/simx -v $f .bin"
95- " $SCRIPT_DIR /../../../sim/simx/simx" -v " $f .bin" & > " $f .log"
95+ " $SCRIPT_DIR /../../../sim/simx/simx" -v " $f .bin" > " $f .log"
9696 if [ $? -eq 1 ]; then
9797 echo " $f PASSED"
9898 (( passed++ ))
@@ -106,7 +106,7 @@ for testcase in ${testcases[@]}; do
106106 cat " $f .log"
107107 rm -f " $f ..bin" " $f .dump" " $f .log" > /dev/null 2>&1
108108 fi
109- done
109+ done <<< $( find . -type f -name " ${testcase} * " 2> /dev/null)
110110done
111111
112112popd
You can’t perform that action at this time.
0 commit comments