From 432caa97f349bac694a112fa724557b787eca00d Mon Sep 17 00:00:00 2001 From: Kuan-Wei Chiu Date: Sat, 4 May 2024 16:38:29 +0800 Subject: [PATCH] CI: Prevent duplicate execution of architectural test suites 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. --- .ci/riscv-tests.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.ci/riscv-tests.sh b/.ci/riscv-tests.sh index 71f733c3..4f6e5075 100755 --- a/.ci/riscv-tests.sh +++ b/.ci/riscv-tests.sh @@ -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