From 9357e55fc684ed9779de38df495f7a2aa4022885 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Wed, 30 Mar 2022 12:02:27 +0200 Subject: [PATCH] Makefile: add convenience 'print-vm' target Add a simple convenience target that prints the filename of the test image without creating it beforehand. This can be useful to know what is the expected filename, so it is possible to provide an own test image instead of the generated one. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 82b58ec..9121d98 100644 --- a/Makefile +++ b/Makefile @@ -147,6 +147,10 @@ $(VM_IMAGE): $(TARFILE) $(NODE_CACHE) bots test/vm.install vm: $(VM_IMAGE) echo $(VM_IMAGE) +# convenience target to print the filename of the test image +print-vm: + echo $(VM_IMAGE) + # convenience target to setup all the bits needed for the integration tests # without actually running them prepare-check: $(NODE_MODULES_TEST) $(VM_IMAGE) test/common @@ -187,4 +191,4 @@ $(NODE_MODULES_TEST): package.json env -u NODE_ENV npm install env -u NODE_ENV npm prune -.PHONY: all clean install devel-install print-version dist node-cache rpm check vm update-po +.PHONY: all clean install devel-install print-version dist node-cache rpm check vm update-po print-vm