[pve-devel] [PATCH container 4/4] build: run tests when building

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


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

diff --git a/src/Makefile b/src/Makefile
index 928db5e..19931e5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -27,6 +27,10 @@ pct.bash-completion:
 	PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->generate_bash_completions();" >$@.tmp
 	mv $@.tmp $@
 
+.PHONY: check
+check: test
+	make -C test
+
 .PHONY: install
 install: pct lxc-pve.conf lxc-pve-prestart-hook lxc-pve-autodev-hook lxc-pve-poststop-hook lxcnetaddbr pct.1 pct.conf.5 pve-update-lxc-config pct.bash-completion
 	PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->verify_api();"
-- 
2.1.4





More information about the pve-devel mailing list