Commit d0aaa23b authored by Francis Dupont's avatar Francis Dupont

[5210] Fixed PYTHONPATH for distcheck

parent ccd736b3
...@@ -9,7 +9,7 @@ check-python: ...@@ -9,7 +9,7 @@ check-python:
@for pytest in $(PYTESTS) ; do \ @for pytest in $(PYTESTS) ; do \
echo Running python test: $$pytest ; \ echo Running python test: $$pytest ; \
chmod +x $(abs_builddir)/$$pytest ; \ chmod +x $(abs_builddir)/$$pytest ; \
PYTHONPATH=$(PYTHONPATH):$(abs_top_builddir)/src/bin/shell python $(abs_builddir)/$$pytest || exit ; \ PYTHONPATH=$(PYTHONPATH):$(abs_top_srcdir)/src/bin/shell python $(abs_builddir)/$$pytest || exit ; \
done done
check-shell: check-shell:
...@@ -17,6 +17,7 @@ check-shell: ...@@ -17,6 +17,7 @@ check-shell:
echo Running shell test: $$shtest ; \ echo Running shell test: $$shtest ; \
export KEA_LOCKFILE_DIR=$(abs_top_builddir); \ export KEA_LOCKFILE_DIR=$(abs_top_builddir); \
export KEA_PIDFILE_DIR=$(abs_top_builddir); \ export KEA_PIDFILE_DIR=$(abs_top_builddir); \
export PYTHONPATH=$(PYTHONPATH):$(abs_top_srcdir)/src/bin/shell; \
${SHELL} $(abs_builddir)/$$shtest || exit ; \ ${SHELL} $(abs_builddir)/$$shtest || exit ; \
done 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