1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

add flatpak test

This commit is contained in:
Jason N. 2024-03-05 16:58:24 -05:00
parent d14ca6c503
commit 1b0319ae83
4 changed files with 52 additions and 20 deletions

View file

@ -187,11 +187,16 @@ clean:
install-deps:
dnf install -y lorax xorriso skopeo flatpak dbus-daemon ostree
test: test-iso
test: test-iso test-vm
test-iso:
$(eval _TESTS = $(filter-out README.md,$(shell ls tests/iso)))
$(foreach test,$(_TESTS),chmod +x tests/iso/$(test))
$(foreach test,$(_TESTS),./tests/iso/$(test) deploy.iso)
test-vm:
$(eval _TESTS = $(filter-out README.md,$(shell ls tests/vm)))
$(foreach test,$(_TESTS),chmod +x tests/vm/$(test))
$(foreach test,$(_TESTS),./tests/vm/$(test) deploy.iso)
.PHONY: clean install-deps test test-iso
.PHONY: clean install-deps test test-iso test-vm