aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-24 07:58:15 -0600
committerCraig Jennings <c@cjennings.net>2026-02-24 07:58:15 -0600
commit27314720d250137f2efbd7a5bf63788723b73393 (patch)
treec28040eb893bcb69fa5cb8d5df2b8c79f0ffdd8d
parent5143437376e6ada7dce3fad37093769c43e4b8a5 (diff)
downloadarchangel-27314720d250137f2efbd7a5bf63788723b73393.tar.gz
archangel-27314720d250137f2efbd7a5bf63788723b73393.zip
refactor: rename vm-* Makefile targets to test-* for discoverability
-rw-r--r--Makefile22
-rw-r--r--README.org20
2 files changed, 21 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index bc77a4d..870b0ec 100644
--- a/Makefile
+++ b/Makefile
@@ -8,18 +8,18 @@
# make release - Full test + build + deploy
#
# Manual VM testing:
-# make vm - Boot ISO in a single-disk VM
-# make vm-multi - Boot ISO in a 2-disk VM (mirror/RAID)
-# make vm-multi3 - Boot ISO in a 3-disk VM (raidz1)
-# make vm-boot - Boot from installed disk (after install)
-# make vm-clean - Remove VM disks and OVMF vars
+# make test-vm - Boot ISO in a single-disk VM
+# make test-multi - Boot ISO in a 2-disk VM (mirror/RAID)
+# make test-multi3 - Boot ISO in a 3-disk VM (raidz1)
+# make test-boot - Boot from installed disk (after install)
+# make test-clean - Remove VM disks and OVMF vars
#
# make clean - Clean build artifacts
# make distclean - Clean everything including releases
#
# Test configurations are in scripts/test-configs/
-.PHONY: test test-install build release clean distclean lint vm vm-multi vm-multi3 vm-boot vm-clean
+.PHONY: test test-install test-vm test-multi test-multi3 test-boot test-clean build release clean distclean lint
# Lint all bash scripts
lint:
@@ -54,23 +54,23 @@ release: test test-install
# --- Manual VM testing ---
# Boot ISO in a single-disk VM
-vm:
+test-vm:
./scripts/test-vm.sh
# Boot ISO in a 2-disk VM (for mirror/RAID testing)
-vm-multi:
+test-multi:
./scripts/test-vm.sh --multi-disk
# Boot ISO in a 3-disk VM (for raidz1 testing)
-vm-multi3:
+test-multi3:
./scripts/test-vm.sh --multi-disk=3
# Boot from installed disk (after running install in VM)
-vm-boot:
+test-boot:
./scripts/test-vm.sh --boot-disk
# Remove VM disks and start fresh
-vm-clean:
+test-clean:
./scripts/test-vm.sh --clean
# --- Cleanup ---
diff --git a/README.org b/README.org
index 1075020..516ed41 100644
--- a/README.org
+++ b/README.org
@@ -44,11 +44,11 @@ Archangel currently uses linux-lts for stability. Choosing linux and linux-zen k
make build
# Launch a VM for interactive testing
-make vm # single disk
-make vm-multi # 2 disks (mirror/RAID)
-make vm-multi3 # 3 disks (raidz1)
-make vm-boot # boot from installed disk
-make vm-clean # remove VM disks, start fresh
+make test-vm # single disk
+make test-multi # 2 disks (mirror/RAID)
+make test-multi3 # 3 disks (raidz1)
+make test-boot # boot from installed disk
+make test-clean # remove VM disks, start fresh
# Run automated install tests (all configs)
make test-install
@@ -150,7 +150,7 @@ modifying the installer or build scripts to catch regressions.
** Basic VM Test
#+BEGIN_SRC bash
-make vm
+make test-vm
#+END_SRC
This creates a 50GB virtual disk and boots the ISO.
@@ -159,10 +159,10 @@ This creates a 50GB virtual disk and boots the ISO.
#+BEGIN_SRC bash
# Two 50GB disks (for mirror)
-make vm-multi
+make test-multi
# Three 50GB disks (for raidz1)
-make vm-multi3
+make test-multi3
#+END_SRC
** SSH Access to VM
@@ -180,13 +180,13 @@ sshpass -p archangel ssh -p 2222 root@localhost
** Clean VM State
#+BEGIN_SRC bash
-make vm-clean
+make test-clean
#+END_SRC
** Boot from Installed Disk
#+BEGIN_SRC bash
-make vm-boot
+make test-boot
#+END_SRC
* Installation Walkthrough