summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile2
-rw-r--r--Makefile9
2 files changed, 10 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 326c03e8..0d5cd65c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -178,7 +178,7 @@ pipeline {
stage('Test ISO') {
steps {
sh """
- sudo scripts/check-qemu-install --debug build/live-image-amd64.hybrid.iso
+ sudo make test
"""
}
}
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: