5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-24 02:04:10 +03:00

build: run tests on build

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2017-05-17 12:40:58 +02:00 committed by Wolfgang Bumiller
parent 101a1b3f95
commit 35c78505d7

View File

@ -90,7 +90,7 @@ install: ${PKGSOURCES}
.PHONY: deb
deb: ${DEB}
${DEB}: ${PKGSOURCES}
${DEB}: ${PKGSOURCES} check
rm -f *.deb
rm -rf build
mkdir build
@ -108,6 +108,10 @@ ${DEB}: ${PKGSOURCES}
mv build.deb ${DEB}
lintian ${DEB}
.PHONY: check
check: test
make -C test
.PHONY: upload
upload: ${DEB}
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch