update docs
This commit is contained in:
@@ -2,11 +2,14 @@ SHELL := /bin/bash
|
||||
.SHELLFLAGS := -eu -o pipefail -c
|
||||
.DEFAULT_GOAL := help
|
||||
.NOTPARALLEL:
|
||||
.PHONY: console-vm cartridge-test data-test desktop-test
|
||||
.PHONY: console-vm cartridge-test data-test desktop-test clean clean-preview clean-test
|
||||
|
||||
.PHONY: help bootstrap smoke-test check dasung dasung-test rootfs rootfs-test init-test vm tooling tooling-test kernel initramfs system-card boot-volume boot-test console-test performance-test
|
||||
help:
|
||||
@printf '%s\n' 'FDS/OS — static Rust tools and native s6' \
|
||||
'make clean-preview Show obsolete build/test directories and Rust output selected for cleanup' \
|
||||
'make clean Remove that output; keep current images, latest tests, caches and releases' \
|
||||
'make clean-test Test cleanup protections using small disposable fixtures' \
|
||||
'make workstation Build native Linux software/cartridge and QEMU command-line tools' \
|
||||
'make workstation-test Verify software builds, multi-partition images and file write/readback' \
|
||||
'make emulator-test Boot FDS and test cartridge hotplug with the public emulator' \
|
||||
@@ -51,6 +54,15 @@ help:
|
||||
'make init-test Boot an ARM VM and verify s6 PID 1 and service control' \
|
||||
'make vm Open a temporary root shell in the verified test VM'
|
||||
|
||||
clean-preview:
|
||||
./tools/clean-builds --dry-run
|
||||
|
||||
clean:
|
||||
./tools/clean-builds
|
||||
|
||||
clean-test:
|
||||
python3 tests/integration/clean-checks.py
|
||||
|
||||
bootstrap:
|
||||
@mkdir -p out/logs
|
||||
./tools/bootstrap-host 2>&1 | tee out/logs/bootstrap.log
|
||||
@@ -81,6 +93,7 @@ smoke-test:
|
||||
check:
|
||||
./tests/integration/m0-checks
|
||||
cargo fmt --all -- --check
|
||||
$(MAKE) clean-test
|
||||
|
||||
dasung:
|
||||
@mkdir -p out/logs
|
||||
@@ -235,7 +248,7 @@ workstation:
|
||||
|
||||
workstation-test: workstation
|
||||
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-images.py --cli out/workstation/fds-cartridge --image-tool-runner tools/in-image-tools --cc "$(CURDIR)/tools/in-void" aarch64-linux-gnu-gcc 2>&1 | tee out/logs/workstation-images.log
|
||||
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
|
||||
python3 tests/integration/workstation-emulator.py --cli out/workstation/fds-emulator --qemu-runner tools/in-void 2>&1 | tee out/logs/workstation-emulator.log
|
||||
|
||||
Reference in New Issue
Block a user