vici: Execute python tests during "check" if py.test is available
authorMartin Willi <martin@revosec.ch>
Wed, 11 Mar 2015 09:18:56 +0000 (10:18 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 18 Mar 2015 12:59:15 +0000 (13:59 +0100)
src/libcharon/plugins/vici/python/Makefile.am

index 098e91e..7be733e 100644 (file)
@@ -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