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:
Guido van Rossum 1997-01-03 15:54:36 +00:00
parent b9d338cbfb
commit 042a05172f
1 changed files with 1 additions and 1 deletions

View File

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