Commit 27df2550 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Wrap the test in "if HAVE_BOOST_PYTHON".


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac153@1754 e5f2f494-b856-4b98-b285-d166d9295462
parent 5c10d34b
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment