Commit 5e9f4e3a authored by Naoki Kambe's avatar Naoki Kambe

- fix CLEANFILES

- add tests directry in PYTHONPATH


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3221 e5f2f494-b856-4b98-b285-d166d9295462
parent fda35d7b
PYTESTS = b10-stats_test.py b10-stats_stub_test.py
EXTRA_DIST = $(PYTESTS)
CLEANFILES = unittest_fakesession.pyc
CLEANFILES = fake_time.pyc
# later will have configure option to choose this, like: coverage run --branch
PYCOVERAGE = $(PYTHON)
......@@ -8,7 +8,7 @@ PYCOVERAGE = $(PYTHON)
check-local:
for pytest in $(PYTESTS) ; do \
echo Running test: $$pytest ; \
env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/bin/stats \
env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/bin/stats:$(abs_top_builddir)/src/bin/stats/tests \
B10_FROM_BUILD=$(abs_top_builddir) \
$(PYCOVERAGE) $(abs_srcdir)/$$pytest || exit ; \
done
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