Skip to content

Commit

Permalink
Re-add the CHERIoT RTOS test suite to Nix testing
Browse files Browse the repository at this point in the history
This commit re-adds the CHERIoT RTOS test suite to the simulator and
FPGA test suites, effectively reverting commit `4171621`. After RTL
changes and moving the CHERIoT RTOS revision over to using our
local hyperram hack, the CHERIoT RTOS test suite now passes on
`sonata-system` again.
  • Loading branch information
AlexJones0 authored and HU90m committed Sep 30, 2024
1 parent 631a836 commit 4209cb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@
${./util/test_runner.py} -t 30 fpga "$1" \
--elf-file ${sonata-system-software}/bin/test_runner \
--tcl-file ${./util/sonata-openocd-cfg.tcl}
${./util/test_runner.py} -t 600 fpga "$1" \
--uf2-file ${cheriot-rtos-test-suite}/share/test-suite.uf2
'';
};

Expand All @@ -231,6 +233,9 @@
checkPhase = ''
python ${./util/test_runner.py} -t 60 sim \
--elf-file ${sonata-system-software}/bin/test_runner
python ${./util/test_runner.py} -t 600 sim \
--sim-boot-stub ${sonata-sim-boot-stub.out}/share/sim_boot_stub \
--elf-file ${cheriot-rtos-test-suite}/share/test-suite
'';
installPhase = "mkdir $out";
};
Expand Down

0 comments on commit 4209cb7

Please sign in to comment.