From 460fa0bb4adee44ba94c8c8dc59a4ea5e349e984 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 28 May 2022 17:22:28 +0100 Subject: [PATCH] Fix run-isa-tests.sh to fail on first failed test. Fix bad environment trap routing causing ecall ISA test to hang. Make breakpoint test instant-pass when triggers aren't implemented. --- test/sim/riscv-tests/riscv-tests | 2 +- test/sim/riscv-tests/run-isa-tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 test/sim/riscv-tests/run-isa-tests.sh diff --git a/test/sim/riscv-tests/riscv-tests b/test/sim/riscv-tests/riscv-tests index 0c35c37..de4f8d0 160000 --- a/test/sim/riscv-tests/riscv-tests +++ b/test/sim/riscv-tests/riscv-tests @@ -1 +1 @@ -Subproject commit 0c35c3705973deb37a528e9a4df24c1c3192ce1c +Subproject commit de4f8d03fc168a54c23f4254c3724e927daa1828 diff --git a/test/sim/riscv-tests/run-isa-tests.sh b/test/sim/riscv-tests/run-isa-tests.sh old mode 100644 new mode 100755 index 9a793d4..7aa00ba --- a/test/sim/riscv-tests/run-isa-tests.sh +++ b/test/sim/riscv-tests/run-isa-tests.sh @@ -8,4 +8,4 @@ make XLEN=32 clean # virtual memory test machine configuration. make -j$(nproc) XLEN=32 SKIP_V=1 rv32ui rv32uc rv32um rv32ua rv32mi -for test in $(find -name "*-p-*.bin"); do echo $test; ../../../tb_cxxrtl/tb --bin $test --cycles 10000; done \ No newline at end of file +for test in $(find -name "*-p-*.bin"); do echo $test; ../../../tb_cxxrtl/tb --bin $test --cycles 10000 --vcd $test.vcd --cpuret; done \ No newline at end of file