From: Barry Warsaw <barry@python.org>
Date: Fri, 29 Aug 1997 21:52:14 +0000 (+0000)
Subject: Added a new variable TESTPYTHON which contains the path (and args) for
X-Git-Tag: v1.5a4~283
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd82bb9c14eee9a66b2172f11638d9f7dec8d8b8;p=python

Added a new variable TESTPYTHON which contains the path (and args) for
the executable to use during regression testing.
---

diff --git a/Makefile.in b/Makefile.in
index 2bf9eb95df..0a26902ad4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -200,10 +200,11 @@ Modules:	Parser Python Objects
 # Test the interpreter (twice, once without .pyc files, once with)
 TESTOPTS=	
 TESTPROG=	$(srcdir)/Lib/test/regrtest.py
+TESTPYTHON=	./python
 test:		python
 		-rm -f $(srcdir)/Lib/test/*.pyc
-		-PYTHONPATH= ./python $(TESTPROG) $(TESTOPTS)
-		PYTHONPATH= ./python $(TESTPROG) $(TESTOPTS)
+		-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
+		PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
 
 # Install everything
 install:	altinstall bininstall maninstall