From 864e061b817134f9c363410045088721461f46f9 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 18:50:39 -0600 Subject: fix: remove obsolete test for deleted zfs-snap-prune - Remove test-zfs-snap-prune.sh (tested deleted script) - Update Makefile to reference existing custom/ scripts - Remove test-unit target (no unit tests remain) --- Makefile | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c8dc277..08eb282 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,8 @@ -# Makefile for archzfs ISO build and testing +# Makefile for archangel ISO build and testing # # Usage: -# make - Run all tests and build -# make test - Run all tests (unit + integration) -# make test-unit - Run unit tests only (fast) +# make - Run lint and build +# make test - Run lint # make test-install - Run install tests in VM (slow) # make build - Build the ISO # make release - Full test + build + deploy @@ -12,20 +11,15 @@ # # Test configurations are in scripts/test-configs/ -.PHONY: all test test-unit test-install build release clean lint +.PHONY: all test test-install build release clean lint # Default target -all: test build - -# Unit tests (fast, no VM needed) -test-unit: - @echo "==> Running unit tests..." - ./scripts/test-zfs-snap-prune.sh +all: lint build # Lint all bash scripts lint: @echo "==> Running shellcheck..." - @shellcheck -x build.sh scripts/*.sh custom/install-archzfs custom/grub-zfs-snap custom/zfs-snap-prune || true + @shellcheck -x build.sh scripts/*.sh custom/archangel custom/archsetup-zfs custom/zfsrollback custom/zfssnapshot custom/lib/*.sh || true @echo "==> Shellcheck complete" # Build the ISO (requires sudo) @@ -38,8 +32,8 @@ test-install: build @echo "==> Running install tests..." ./scripts/test-install.sh -# All tests -test: lint test-unit +# All tests (lint only - VM tests via test-install) +test: lint # Full release: test everything, build, deploy release: test test-install -- cgit v1.2.3