aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/vici/python
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-03-11 10:18:56 +0100
committerMartin Willi <martin@revosec.ch>2015-03-18 13:59:15 +0100
commitc7e3c5943fc152dd02ea156221b8d7b30c238921 (patch)
tree741e716a86054c7d22debbd3339a24a84d1a6c84 /src/libcharon/plugins/vici/python
parent07302b2f7c15fa9938223254c76d8802054bd511 (diff)
downloadstrongswan-c7e3c5943fc152dd02ea156221b8d7b30c238921.tar.bz2
strongswan-c7e3c5943fc152dd02ea156221b8d7b30c238921.tar.xz
vici: Execute python tests during "check" if py.test is available
Diffstat (limited to 'src/libcharon/plugins/vici/python')
-rw-r--r--src/libcharon/plugins/vici/python/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcharon/plugins/vici/python/Makefile.am b/src/libcharon/plugins/vici/python/Makefile.am
index 098e91ed8..7be733e25 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