From b614b729392fe0c78898fef5c2458bcd145f32a7 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 28 Mar 2018 13:00:38 +0200 Subject: [PATCH] build: Add a `make vm` convenience target With this one does not need to type the full path to the VM. This is useful to demonstrate how to use other test frameworks than cockpit's test API. Closes #19 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0168a8..3e76130 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,10 @@ rpm: dist-gzip $(VM_IMAGE): rpm bots bots/image-customize -v -r 'rpm -e cockpit-starter-kit || true' -i cockpit -i `pwd`/cockpit-starter-kit-*.noarch.rpm -s $(CURDIR)/test/vm.install $(TEST_OS) +# convenience target for the above +vm: $(VM_IMAGE) + echo $(VM_IMAGE) + # run the browser integration tests; skip check for SELinux denials check: node_modules/react-lite $(VM_IMAGE) test/common TEST_AUDIT_NO_SELINUX=1 test/check-starter-kit @@ -76,4 +80,4 @@ test/common: node_modules/react-lite: npm install -.PHONY: all clean install devel-install dist-gzip srpm rpm check +.PHONY: all clean install devel-install dist-gzip srpm rpm check vm