Skip to content

Commit

Permalink
CI: Prevent duplicate execution of architectural test suites
Browse files Browse the repository at this point in the history
In riscv-arch-test, each test-suite is independent without dependencies
on others. Current architectural tests caused some test suites, like
RV32I, to execute multiple times unnecessarily. Modify to ensure each
test runs only once, speeding up the CI process. This reduce
compliance-test execution time on my GitHub action from 10m4s to 6m53s.
  • Loading branch information
visitorckw committed May 4, 2024
1 parent 23f6cd2 commit 432caa9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .ci/riscv-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,4 @@ set -x
export PATH=`pwd`/toolchain/riscv/bin:$PATH

make clean
make arch-test RISCV_DEVICE=I || exit 1
make arch-test RISCV_DEVICE=IM || exit 1
make arch-test RISCV_DEVICE=IC || exit 1
make arch-test RISCV_DEVICE=FCZicsr || exit 1
make arch-test RISCV_DEVICE=IZifencei || exit 1
make arch-test RISCV_DEVICE=IZicsr || exit 1
make arch-test RISCV_DEVICE=FZicsr || exit 1
make arch-test RISCV_DEVICE=IMA || exit 1
make arch-test RISCV_DEVICE=IMAFCZicsrZifencei || exit 1

0 comments on commit 432caa9

Please # to comment.