Skip to content

Commit

Permalink
Added some comments for the vector regression testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelJSr committed Oct 31, 2024
1 parent 095e8d5 commit c2f64a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/regression.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@ vector()
echo "begin vector tests..."

make -C sim/simx
# REG_TESTS=1 informs the script to delete the previous binary after each vector test to save disk space
# Otherwise, the vector regression tests would run out of disk space eventually
TOOLDIR=@TOOLDIR@ XLEN=@XLEN@ VLEN=256 REG_TESTS=1 ./tests/riscv/riscv-vector-tests/run-test.sh

echo "vector tests done!"
Expand Down Expand Up @@ -483,7 +485,8 @@ start=$SECONDS

for test in "${tests[@]}"; do
if [[ "$test" != "vector" ]]; then
# We need to remove vector tests to save space
# We need to remove vector tests to save disk space for non-vector regression testing
# Otherwise, large regressions tests such as "Debug" will run out of disk space
rm -rf tests/riscv/riscv-vector-tests
fi
$test
Expand Down

0 comments on commit c2f64a6

Please sign in to comment.