[pve-devel] [PATCH qemu-server 4/4] build: run tests on build

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed May 17 12:40:58 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e3df3e3..7d89454 100644
--- 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 at repo.proxmox.com upload --product pve --dist stretch
-- 
2.1.4





More information about the pve-devel mailing list