summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/post.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/config/post.in b/src/config/post.in
index 861117c9e9..d25484910f 100644
--- a/src/config/post.in
+++ b/src/config/post.in
@@ -139,9 +139,11 @@ check-pytests:: check-pytests-@HAVE_PYTHON@
check-pytests-yes:
@pytests="$(PYTESTS)"; \
for t in $$pytests; do \
- echo PYTHONPATH=$(BUILDTOP):$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
+ echo PYTHONPATH=$(BUILDTOP):$(top_srcdir)/util \
+ VALGRIND="$(VALGRIND)" \
$(PYTHON) $(srcdir)/$$t $(PYTESTFLAGS); \
- PYTHONPATH=`pwd`:$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
+ PYTHONPATH=$(BUILDTOP):$(top_srcdir)/util \
+ VALGRIND="$(VALGRIND)" \
$(PYTHON) $(srcdir)/$$t $(PYTESTFLAGS) || exit 1; \
done