Skip to content

Update arch-test guides #590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your-config>
```

For macOS users, installing `sdiff` might be required:
Expand Down