From: Guido van Rossum Date: Fri, 19 Jan 2001 20:21:59 +0000 (+0000) Subject: "make test" was still broken when building in a subdirectory: Andrew's X-Git-Tag: v2.1a1~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75e0058cdee9ccc48e63e87171defa33e3c6ea19;p=thirdparty%2FPython%2Fcpython.git "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... --- diff --git a/Makefile.in b/Makefile.in index eee92b42af25..9a94a7b5e27b 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