compiler/
kernel/
lib/
scripts/
seed/
sublime/
test/
acceptance/
compile
549 B
metrics
5.4 KiB
replay
840 B
run
693 B
sizes
3.6 KiB
boot/
bootstrap/
cycles/
dispatch/
loader/
mmio/
modules/
native/
packages/
pages/
runtime/
scheduling/
shared/
slots/
smp/
sync/
termination/
tests/
trap/
run
2.7 KiB
runner.rad
10.3 KiB
vim/
.gitignore
336 B
.gitsigners
112 B
CONTRIBUTING
2.1 KiB
LICENSE
1.1 KiB
Makefile
10.2 KiB
README
2.5 KiB
STYLE
2.5 KiB
std.lib
1.5 KiB
std.lib.test
551 B
test/acceptance/run
raw
| 1 | #!/bin/sh |
| 2 | # Build and test the sibling emulator and the full kernel before reporting acceptance. |
| 3 | set -eu |
| 4 | mkdir -p bin/acceptance |
| 5 | if ! make -C ../kernel-emulator test > bin/acceptance/emulator.log 2>&1; then |
| 6 | cat bin/acceptance/emulator.log |
| 7 | exit 1 |
| 8 | fi |
| 9 | if ! KERNEL_REPLAY=1 make test RAD_EMULATOR=../kernel-emulator/bin/emulator > bin/acceptance/kernel.log 2>&1; then |
| 10 | cat bin/acceptance/kernel.log |
| 11 | exit 1 |
| 12 | fi |
| 13 | python3 test/acceptance/sizes > bin/acceptance/sizes.log |
| 14 | python3 test/acceptance/metrics bin/acceptance/kernel.log > bin/acceptance/metrics.log |
| 15 | cat bin/acceptance/sizes.log bin/acceptance/metrics.log |
| 16 | printf 'kernel acceptance: emulator and complete kernel matrix passed\n' |