summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-02 17:51:47 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-02 17:51:47 +0100
commit3da1a284dc2620cf3c4a1e962cb53e415444ab2d (patch)
tree66b2fa23a5997aabd2616829ff58f4a0ea37f6c8 /Makefile
parent47647d40164b81c02367499ad3a0a9eb67029c8c (diff)
downloadvyos-build-3da1a284dc2620cf3c4a1e962cb53e415444ab2d.tar.gz
vyos-build-3da1a284dc2620cf3c4a1e962cb53e415444ab2d.zip
Jenkins: add "make test" helper
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6c22fd4a..2bceac58 100644
--- a/Makefile
+++ b/Makefile
@@ -220,6 +220,15 @@ vep1400: check_build_config clean prepare
cd ..
@scripts/copy-image
+.PHONY: test
+.ONESHELL:
+test:
+ if [ ! -f build/live-image-amd64.hybrid.iso ]; then
+ echo "Could not find build/live-image-amd64.hybrid.iso"
+ exit 1
+ fi
+ scripts/check-qemu-install --debug build/live-image-amd64.hybrid.iso
+
.PHONY: clean
.ONESHELL:
clean: