test: on-hardware SMP self-test (revoke/kill must stop every hart) + make test-qemu
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
IMG="boot.img"
|
||||
IMG="${IMG:-boot.img}"
|
||||
IMG_SIZE_KB=4096
|
||||
TARGET="riscv64gc-unknown-none-elf"
|
||||
BUILD_DIR="target/${TARGET}/release"
|
||||
@@ -30,6 +30,10 @@ copy log-server "log.elf"
|
||||
copy permission-manager "permis.elf"
|
||||
copy storage-qemu "storage.elf"
|
||||
copy session-server "session.elf"
|
||||
# Only the test image: its presence makes init run the SMP self-test.
|
||||
if [ -n "${SMPTEST:-}" ]; then
|
||||
copy smptest "smptest.elf"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Disk contents:"
|
||||
|
||||
Reference in New Issue
Block a user