From: Fred Drake <fdrake@acm.org>
Date: Thu, 10 Feb 2000 17:23:44 +0000 (+0000)
Subject: Enable -t when compiling Python library modules in libinstall (.pyc
X-Git-Tag: v1.6a1~462
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9abc25e4b5988e31d2be7f9fd37547f0a8b94faa;p=python

Enable -t when compiling Python library modules in libinstall (.pyc
version only).

Enable -tt for the regression test.

Very similar to Skip's patch.
---

diff --git a/Makefile.in b/Makefile.in
index 0805433467..c466162310 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -234,7 +234,7 @@ Modules:	Parser Python Objects
 # Test the interpreter (twice, once without .pyc files, once with)
 TESTOPTS=	
 TESTPROG=	$(srcdir)/Lib/test/regrtest.py
-TESTPYTHON=	./python$(EXE)
+TESTPYTHON=	./python$(EXE) -tt
 test:		all
 		-rm -f $(srcdir)/Lib/test/*.py[co]
 		-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
@@ -346,7 +346,7 @@ libinstall:	python $(srcdir)/Lib/$(PLATDIR)
 			done; \
 		done
 		PYTHONPATH=$(LIBDEST) \
-			./python$(EXE) $(LIBDEST)/compileall.py $(LIBDEST)
+			./python$(EXE) -t $(LIBDEST)/compileall.py $(LIBDEST)
 		PYTHONPATH=$(LIBDEST) \
 			./python$(EXE) -O $(LIBDEST)/compileall.py $(LIBDEST)