update fds-flash tool
This commit is contained in:
@@ -15,6 +15,8 @@ help:
|
||||
'make workstation-install Install the Arch fds-tools package with pacman' \
|
||||
'make workstation-binaries Build native binaries on generic Linux' \
|
||||
'make workstation-test Verify software builds, multi-partition images and file write/readback' \
|
||||
'make flash-test Verify guided/unattended flashing with disposable files' \
|
||||
'make flash-vm-test Verify block-device flashing and rejection paths in an isolated ARM VM' \
|
||||
'make emulator-test Boot FDS and test cartridge hotplug with the public emulator' \
|
||||
'make bootstrap Prepare Arch x86_64 host and Void build container' \
|
||||
'make packages Build and export every FDS base package' \
|
||||
@@ -265,7 +267,18 @@ workstation-binaries:
|
||||
|
||||
workstation-test: workstation-binaries
|
||||
cargo test --locked --offline --target $$(rustc -vV | sed -n 's/^host: //p') -p fds-common -p fds-burn -p fds-software -p fds-workstation
|
||||
python3 tests/integration/workstation-flash.py --cli out/workstation/fds-flash
|
||||
python3 tests/integration/workstation-images.py --cli out/workstation/fds-cartridge --image-tool-runner tools/in-image-tools --xbps-tool-runner tools/in-void --xbps-bin "$(CURDIR)/.host/xbps/usr/bin" 2>&1 | tee out/logs/workstation-images.log
|
||||
|
||||
emulator-test: workstation-binaries
|
||||
python3 tests/integration/workstation-emulator.py --cli out/workstation/fds-emulator --qemu-runner tools/in-void 2>&1 | tee out/logs/workstation-emulator.log
|
||||
|
||||
.PHONY: flash-test flash-vm-test
|
||||
flash-test: workstation-binaries
|
||||
cargo test --locked --offline --target $$(rustc -vV | sed -n 's/^host: //p') -p fds-workstation flash::
|
||||
python3 tests/integration/workstation-flash.py --cli out/workstation/fds-flash
|
||||
|
||||
flash-vm-test: flash-test
|
||||
./tools/cargo-build --locked --offline --release --target aarch64-unknown-linux-musl -p fds-workstation --bin fds-flash
|
||||
./tools/verify-elf target/aarch64-unknown-linux-musl/release/fds-flash aarch64 static
|
||||
python3 tests/integration/workstation-flash-vm.py
|
||||
|
||||
Reference in New Issue
Block a user