From: Guido van Rossum Date: Fri, 3 Jan 1997 15:54:36 +0000 (+0000) Subject: Add $(srcdir) in front of the test program's name (else it won't work X-Git-Tag: v1.5a1~608 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=042a05172f0256110c485d619ec6cc4648128cb7;p=python Add $(srcdir) in front of the test program's name (else it won't work when $(srcdir) isn't '.', i.e. when using VPATH). --- diff --git a/Makefile.in b/Makefile.in index 2c92655791..eab8e2e5af 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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)