Skip to content

Commit

Permalink
Release procedure move to use sim test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas committed Nov 8, 2024
1 parent 9f794fe commit 62d43b6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/dev/release-procedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,13 @@ cp sonata-vX.Y.bit.slot3.uf2 ../

### Automated testing

Run tests on FPGA (note python3.11 or above required), adjust the /dev part to the UART as required.
Run tests on simulation (note python3.11 or above required). FPGA testing is currently done in CI and requires quite a few add-ons to your board.

```shell
./util/test_runner.py fpga -e ./sw/cheri/build/tests/test_runner -t ./util/sonata-openocd-cfg.tcl /dev/ttyUSB2
# Build the simulator
fusesoc --cores-root=. run --target=sim --tool=verilator --setup --build lowrisc:sonata:system
# Run the tests
util/test_runner.py sim -e sw/cheri/build/tests/test_runner --simulator-binary build/lowrisc_sonata_system_0/sim-verilator/Vtop_verilator
```

### Bare-metal testing
Expand Down

0 comments on commit 62d43b6

Please sign in to comment.