From a415916ecdad080857ac7f8eafa17f091d9343fc Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 28 Mar 2018 11:31:27 +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. --- 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