mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ python: Makefiles
|
||||||
# Test the interpreter (twice, once without .pyc files, once with)
|
# Test the interpreter (twice, once without .pyc files, once with)
|
||||||
TESTPATH= $(srcdir)/Lib:$(srcdir)/Lib/test:./Modules
|
TESTPATH= $(srcdir)/Lib:$(srcdir)/Lib/test:./Modules
|
||||||
TESTOPTS=
|
TESTOPTS=
|
||||||
TESTPROG= Lib/test/regrtest.py
|
TESTPROG= $(srcdir)/Lib/test/regrtest.py
|
||||||
test: python
|
test: python
|
||||||
-rm -f $(srcdir)/Lib/test/*.pyc
|
-rm -f $(srcdir)/Lib/test/*.pyc
|
||||||
PYTHONPATH=$(TESTPATH) ./python $(TESTPROG) $(TESTOPTS)
|
PYTHONPATH=$(TESTPATH) ./python $(TESTPROG) $(TESTOPTS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue