foundry
Foundry OS: the operating system built on the Rustbelt kernel
| author | Grok Bot <grokbot@localhost> | 2026-10-31 18:57:10 -0700 |
|---|---|---|
| commit | 141a05d5007b1a1bf8025c1ce8cfa9c560e8f8a1 | |
| parent | b3a7cc7ae7b8dd158853a83411c3346eec91103c | |
| tree | browse files at this commit | |
make test-reference: run the same headless checks on the kernel's own disk.img
| M | Makefile | +6 -1 |
1 file changed, 6 insertions, 1 deletion
@@ -16,7 +16,7 @@ KBOOT := $(OUT)/kernel/bootimage.bin KBOOT_HL := $(OUT)/kernel/bootimage-headless.bin .DEFAULT_GOAL := image-.PHONY: help image rust fixtures staging kernel kernel-src run test compare musl clean distclean+.PHONY: help image rust fixtures staging kernel kernel-src run test test-reference compare musl clean distclean help: @echo "Foundry OS (userland for the Rustbelt kernel $(KERNEL_VERSION) @ $(KERNEL_REV))"@@ -28,6 +28,7 @@ help: @echo " make kernel build the pinned kernel into out/kernel-target" @echo " make run boot the image in a QEMU window" @echo " make test headless boot + the shell self-test + expected-line checks"+ @echo " make test-reference the same headless test, but booting the kernel's own disk.img (baseline)" @echo " make compare compare out/$(IMAGE_NAME) with the kernel's own disk.img" @echo " make musl fetch (cache/) + build musl $(MUSL_VERSION) into out/sysroot (not in the image yet)" @echo " make clean rm -rf out (distclean also removes cache/)"@@ -66,6 +67,10 @@ run: image kernel test: image kernel scripts/run-headless.sh $(IMAGE) $(KBOOT_HL) $(KTARGET) $(OUT) +# The baseline: the kernel's own disk.img through the very same checks.+test-reference: kernel+ scripts/run-headless.sh $(KTARGET)/disk.img $(KBOOT_HL) $(KTARGET) $(OUT)/reference+ compare: image kernel scripts/compare-image.sh $(IMAGE) $(KTARGET)/disk.img $(OUT)