From: Martin Willi Date: Wed, 11 Mar 2015 09:18:56 +0000 (+0100) Subject: vici: Execute python tests during "check" if py.test is available X-Git-Tag: 5.3.0rc1~28^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7e3c5943fc152dd02ea156221b8d7b30c238921;p=thirdparty%2Fstrongswan.git vici: Execute python tests during "check" if py.test is available --- diff --git a/src/libcharon/plugins/vici/python/Makefile.am b/src/libcharon/plugins/vici/python/Makefile.am index 098e91ed8d..7be733e25b 100644 --- a/src/libcharon/plugins/vici/python/Makefile.am +++ b/src/libcharon/plugins/vici/python/Makefile.am @@ -26,3 +26,7 @@ clean-local: setup.py install-exec-local: dist/vici-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg $(EASY_INSTALL) $(PYTHONEGGINSTALLDIR) \ dist/vici-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg + +if USE_PY_TEST + TESTS = $(PY_TEST) +endif