Tests from the upstream tests are in this directory. AFAICT, the RISCOF tests are (were?) originally derived from this repository and are more comprehensive. However, this repo looks easier to start with.
While tests are run via pytest
, binaries are generated using the
dodo.py
at the root of this repo. If you need to
regenerate binaries, use pdm run compile-upstream
. This will also check out
the submodule and for you. Although the DoIt tasks are documented, using pdm
should be preferred over running doit
directly.
(Make sure doit
is installed via pdm install -G dev
. You must provide your
own copy of riscv64-unknown-elf-gcc
.)