diff --git a/Makefile b/Makefile index 1537a2d8..5a51888b 100644 --- a/Makefile +++ b/Makefile @@ -95,6 +95,7 @@ help: @echo " test-all: Run all tests" @echo " test-data: Generate test data" @echo " test-module: Run all module unit-tests" + @echo " test-stage: Run all stage unit-tests" @echo " test-run: Run all osbuild pipeline tests" $(BUILDDIR)/: @@ -225,6 +226,13 @@ test-module: --rootdir=$(SRCDIR) \ -v +.PHONY: test-stage +test-stage: + @$(PYTHON3) -m pytest \ + $(SRCDIR)/stages/test \ + --rootdir=$(SRCDIR) \ + -v + .PHONY: test-run test-run: @[[ $${EUID} -eq 0 ]] || (echo "Error: Root privileges required!"; exit 1)