Skip to content

Commit c3cd767

Browse files
committed
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.
1 parent 42c8986 commit c3cd767

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,14 @@ $ python3 -m pip install git+https://github.com/riscv/riscof
196196
[RISC-V GNU Compiler Toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain) should be prepared in advance.
197197
You can obtain prebuilt GNU toolchain for `riscv32-elf` from the [Automated Nightly Release](https://github.com/riscv-collab/riscv-gnu-toolchain/releases).
198198
If `ENABLE_SYSTEM=1` was previously set, run `make distclean` before proceeding.
199-
Then, run the following command:
199+
Then, run the following command to run all tests:
200200
```shell
201-
$ make ENABLE_ARCH_TEST=1 arch-test
201+
$ .ci/riscv-tests.sh
202+
```
203+
204+
Or run it with the configuration you want:
205+
```shell
206+
$ make arch-test ENABLE_ARCH_TEST=1 ENABLE_FULL4G=1 <your-config>
202207
```
203208
204209
For macOS users, installing `sdiff` might be required:

0 commit comments

Comments
 (0)