Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd82bb9

Browse files
committed
Added a new variable TESTPYTHON which contains the path (and args) for
the executable to use during regression testing.
1 parent 45140f9 commit dd82bb9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,11 @@ Modules: Parser Python Objects
200200
# Test the interpreter (twice, once without .pyc files, once with)
201201
TESTOPTS=
202202
TESTPROG= $(srcdir)/Lib/test/regrtest.py
203+
TESTPYTHON= ./python
203204
test: python
204205
-rm -f $(srcdir)/Lib/test/*.pyc
205-
-PYTHONPATH= ./python $(TESTPROG) $(TESTOPTS)
206-
PYTHONPATH= ./python $(TESTPROG) $(TESTOPTS)
206+
-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
207+
PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
207208

208209
# Install everything
209210
install: altinstall bininstall maninstall

0 commit comments

Comments
 (0)