Jenkins: add "make test" helper

This commit is contained in:
Christian Poessinger 2020-02-02 17:51:47 +01:00
parent 47647d4016
commit 3da1a284dc
2 changed files with 10 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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
"""
}
}

View File

@ -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: