mirror of https://github.com/python/cpython.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...
This commit is contained in:
parent
ccc2e3d05d
commit
75e0058cde
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue