|
@@ -1,6 +1,8 @@
|
|
|
PYTESTS = xfrout_test.py
|
|
|
EXTRA_DIST = $(PYTESTS)
|
|
|
|
|
|
+if HAVE_BOOST_PYTHON
|
|
|
+
|
|
|
# later will have configure option to choose this, like: coverage run --branch
|
|
|
PYCOVERAGE = $(PYTHON)
|
|
|
# test using command-line arguments, so use check-local target instead of TESTS
|
|
@@ -10,3 +12,5 @@ check-local:
|
|
|
env PYTHONPATH=$(abs_top_srcdir)/src/bin/xfrout:$(abs_top_srcdir)/src/lib/python:$(abs_top_srcdir)/src/lib/dns/.libs:$(abs_top_srcdir)/src/lib/xfr/.libs \
|
|
|
$(PYCOVERAGE) $$pytest ; \
|
|
|
done
|
|
|
+
|
|
|
+endif
|