Commit e23b9614 authored by Likun Zhang's avatar Likun Zhang
Browse files

Make sure generated file 'bind10_config.py' can be found by log_test when running 'make distcheck'

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2343 e5f2f494-b856-4b98-b285-d166d9295462
parent 7276b76e
...@@ -7,6 +7,6 @@ PYCOVERAGE = $(PYTHON) ...@@ -7,6 +7,6 @@ PYCOVERAGE = $(PYTHON)
check-local: check-local:
for pytest in $(PYTESTS) ; do \ for pytest in $(PYTESTS) ; do \
echo Running test: $$pytest ; \ echo Running test: $$pytest ; \
env PYTHONPATH=$(abs_top_srcdir)/src/lib/python::$(abs_top_builddir)/src/lib/python/isc/log \ env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/lib/python/isc/log \
$(PYCOVERAGE) $(abs_srcdir)/$$pytest ; \ $(PYCOVERAGE) $(abs_srcdir)/$$pytest ; \
done done
...@@ -19,7 +19,7 @@ PYTHON_EXEC=${PYTHON_EXEC:-@PYTHON@} ...@@ -19,7 +19,7 @@ PYTHON_EXEC=${PYTHON_EXEC:-@PYTHON@}
export PYTHON_EXEC export PYTHON_EXEC
TEST_PATH=@abs_top_srcdir@/src/lib/python/isc/log/tests TEST_PATH=@abs_top_srcdir@/src/lib/python/isc/log/tests
PYTHONPATH=@abs_top_srcdir@/src/lib/python PYTHONPATH=@abs_top_srcdir@/src/lib/python:@abs_top_builddir@/src/lib/python
export PYTHONPATH export PYTHONPATH
cd ${TEST_PATH} cd ${TEST_PATH}
......
Supports Markdown
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