Skip to content

Commit

Permalink
Uncomment out run-test line for copying over vector testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelJSr committed Nov 4, 2024
1 parent 4b3da9b commit 33f6110
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/riscv/riscv-vector-tests/run-test.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,19 @@ fi

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
RESTORE_PREV_DIR=$(pwd)
if [ ! -d "$SCRIPT_DIR/testcases" ]; then
mkdir -p "$SCRIPT_DIR/testcases/v$VLEN"x"$XLEN"
fi
cd $SCRIPT_DIR/testcases/v$VLEN"x"$XLEN

passed=0
failed=0
selected=0

rm *".ddr4.log"
for testcase in ${testcases[@]}; do
rm "$testcase"*.elf "$testcase"*.bin "$testcase"*.dump "$testcase"*.log
# cp -f $SCRIPT_DIR/../../../../../third_party/riscv-vector-tests/out/v"$VLEN"x"$XLEN"machine/bin/stage2/"$testcase"* .
cp -f $SCRIPT_DIR/../../../third_party/riscv-vector-tests/out/v"$VLEN"x"$XLEN"machine/bin/stage2/"$testcase"* .
done

# count all available testcases, exclude *.elf, *.bin, *.dump, *.log to prevent double counting
Expand Down

0 comments on commit 33f6110

Please sign in to comment.