"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...
This commit is contained in:
Guido van Rossum 2001-01-19 20:21:59 +00:00
parent ccc2e3d05d
commit 75e0058cde
1 changed files with 2 additions and 2 deletions

View File

@ -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