summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-02-10 17:23:44 (GMT)
committerFred Drake <fdrake@acm.org>2000-02-10 17:23:44 (GMT)
commit9abc25e4b5988e31d2be7f9fd37547f0a8b94faa (patch)
tree79fbf1fa1a57c74a7b0313440945fe211e4c8433
parent3e0910c10c5cd49ec3a3932fc611127e83ccc428 (diff)
downloadcpython-9abc25e4b5988e31d2be7f9fd37547f0a8b94faa.zip
cpython-9abc25e4b5988e31d2be7f9fd37547f0a8b94faa.tar.gz
cpython-9abc25e4b5988e31d2be7f9fd37547f0a8b94faa.tar.bz2
Enable -t when compiling Python library modules in libinstall (.pyc
version only). Enable -tt for the regression test. Very similar to Skip's patch.
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 0805433..c466162 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)