From 75e0058cdee9ccc48e63e87171defa33e3c6ea19 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 19 Jan 2001 20:21:59 +0000 Subject: [PATCH] "make test" was still broken when building in a subdirectory: Andrew's fix set PYTHONPATH to something starting with $(srcdir)/build/lib.... The use of $(srcdir) was wrong here, it should be ./build/lib... --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index eee92b42af..9a94a7b5e2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -220,8 +220,8 @@ TESTPROG= $(srcdir)/Lib/test/regrtest.py TESTPYTHON= ./python$(EXE) -tt test: all platform -rm -f $(srcdir)/Lib/test/*.py[co] - -PYTHONPATH=$(srcdir)/build/lib.`cat platform` $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) - PYTHONPATH=$(srcdir)/build/lib.`cat platform` $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) + -PYTHONPATH=./build/lib.`cat platform` $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) + PYTHONPATH=./build/lib.`cat platform` $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) # Install everything install: altinstall bininstall maninstall -- 2.50.1