]> git.proxmox.com Git - qemu-server.git/commitdiff
build: run tests on build
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 17 May 2017 10:40:58 +0000 (12:40 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 17 May 2017 11:58:18 +0000 (13:58 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Makefile

index e3df3e3e319a3d7ab513380a380e89f037ab767e..7d894549bab4616ae5f35cb7a2c9a5731c5381a7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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