Fix the actual python command to match the displayed one in the
authorGreg Hudson <ghudson@mit.edu>
Sat, 24 Apr 2010 16:39:49 +0000 (16:39 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sat, 24 Apr 2010 16:39:49 +0000 (16:39 +0000)
check-pytests-yes rule in r23913.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23931 dc483132-0cff-0310-8789-dd5450dbe970

src/config/post.in

index 861117c9e9e7a22f138849766f64604d60f8eb3d..d25484910f1ebdc76754edd7f60cb8fb840c9285 100644 (file)
@@ -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