mirror of https://github.com/python/cpython
Add $(srcdir) in front of the test program's name (else it won't work
when $(srcdir) isn't '.', i.e. when using VPATH).
This commit is contained in:
parent
b9d338cbfb
commit
042a05172f
|
@ -158,7 +158,7 @@ python: Makefiles
|
|||
# Test the interpreter (twice, once without .pyc files, once with)
|
||||
TESTPATH= $(srcdir)/Lib:$(srcdir)/Lib/test:./Modules
|
||||
TESTOPTS=
|
||||
TESTPROG= Lib/test/regrtest.py
|
||||
TESTPROG= $(srcdir)/Lib/test/regrtest.py
|
||||
test: python
|
||||
-rm -f $(srcdir)/Lib/test/*.pyc
|
||||
PYTHONPATH=$(TESTPATH) ./python $(TESTPROG) $(TESTOPTS)
|
||||
|
|
Loading…
Reference in New Issue