From 6076eba61f5251ab7ace0b79e6efe8fd96d745d9 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 11 Dec 2021 12:08:53 +0000 Subject: [PATCH] Add run_all script under riscv-compliance --- test/sim/riscv-compliance/run_32i.sh | 2 ++ test/sim/riscv-compliance/run_32privilege.sh | 10 ++++++++++ test/sim/riscv-compliance/run_all.sh | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 test/sim/riscv-compliance/run_32i.sh create mode 100755 test/sim/riscv-compliance/run_32privilege.sh create mode 100755 test/sim/riscv-compliance/run_all.sh diff --git a/test/sim/riscv-compliance/run_32i.sh b/test/sim/riscv-compliance/run_32i.sh new file mode 100644 index 0000000..c5089be --- /dev/null +++ b/test/sim/riscv-compliance/run_32i.sh @@ -0,0 +1,2 @@ +#!/bin/bash +make diff --git a/test/sim/riscv-compliance/run_32privilege.sh b/test/sim/riscv-compliance/run_32privilege.sh new file mode 100755 index 0000000..d8237f5 --- /dev/null +++ b/test/sim/riscv-compliance/run_32privilege.sh @@ -0,0 +1,10 @@ +#!/bin/bash +make TEST_ARCH=privilege BIN_ARCH=rv32i TESTLIST=" \ + ebreak \ + ecall \ + misalign-lh-01 \ + misalign-lhu-01 \ + misalign-lw-01 \ + misalign-sh-01 \ + misalign-sw-01 + " diff --git a/test/sim/riscv-compliance/run_all.sh b/test/sim/riscv-compliance/run_all.sh new file mode 100755 index 0000000..c7ad1cf --- /dev/null +++ b/test/sim/riscv-compliance/run_all.sh @@ -0,0 +1,6 @@ +#!/bin/bash +./run_32i.sh +./run_32im.sh +./run_32ic.sh +# These are TODO for sw reasons -- not sure why they don't bundle the handlers with the tests +# ./run_32privilege.sh