From c3cd767f5174d8091081837018ca6850447d8754 Mon Sep 17 00:00:00 2001 From: Meng-Hung Chen Date: Mon, 28 Apr 2025 15:08:02 +0800 Subject: [PATCH] Update arch-test guides The "riscv-arch-test" needs the "ENABLE_FULL4G" option enabled. Or simply run ".ci/riscv-tests.sh" that it will set the needed flags for all tests. Close #506. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd218d54..9ec8c3f8 100644 --- a/README.md +++ b/README.md @@ -196,9 +196,14 @@ $ python3 -m pip install git+https://github.com/riscv/riscof [RISC-V GNU Compiler Toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain) should be prepared in advance. You can obtain prebuilt GNU toolchain for `riscv32-elf` from the [Automated Nightly Release](https://github.com/riscv-collab/riscv-gnu-toolchain/releases). If `ENABLE_SYSTEM=1` was previously set, run `make distclean` before proceeding. -Then, run the following command: +Then, run the following command to run all tests: ```shell -$ make ENABLE_ARCH_TEST=1 arch-test +$ .ci/riscv-tests.sh +``` + +Or run it with the configuration you want: +```shell +$ make arch-test ENABLE_ARCH_TEST=1 ENABLE_FULL4G=1 ``` For macOS users, installing `sdiff` might be required: