]> granicus.if.org Git - python/commitdiff
Add $(srcdir) in front of the test program's name (else it won't work
authorGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 15:54:36 +0000 (15:54 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 15:54:36 +0000 (15:54 +0000)
when $(srcdir) isn't '.', i.e. when using VPATH).

Makefile.in

index 2c9265579155530c77bb937b779bfd4633bf8c64..eab8e2e5af4d27db4e3fc91da069e61f23c12dbb 100644 (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)