[pve-devel] [PATCH storage 11/11] build: run tests when building deb
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed May 17 11:42:38 CEST 2017
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 386fea6..23a9605 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ install: pvesm.1 pvesm.bash-completion
.PHONY: deb
deb: ${DEB}
-${DEB}:
+${DEB}: check
rm -rf debian
mkdir debian
make DESTDIR=${CURDIR}/debian install
@@ -62,6 +62,9 @@ ${DEB}:
rm -rf debian
lintian ${DEB}
+check:
+ make -C test
+
.PHONY: clean
clean:
make cleanup-docgen
--
2.1.4
More information about the pve-devel
mailing list