Browse Source

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
Jeremy C. Reed 15 years ago
parent
commit
27df255092
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/bin/xfrout/tests/Makefile.am

+ 4 - 0
src/bin/xfrout/tests/Makefile.am

@@ -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