test: run at build time

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-01-21 13:53:59 +01:00 committed by Thomas Lamprecht
parent 9a12a08ce9
commit 964e7e865f

View File

@ -58,6 +58,7 @@ install: pveum.1 oathkeygen pveum.bash-completion pveum.zsh-completion
test:
perl -I. ./pveum verifyapi
perl -I. -T -e "use PVE::CLI::pveum; PVE::CLI::pveum->verify_api();"
make -C test check
${BUILDDIR}:
rm -rf ${BUILDDIR}