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

version only).

Enable -tt for the regression test.

Very similar to Skip's patch.
This commit is contained in:
Fred Drake 2000-02-10 17:23:44 +00:00
parent 3e0910c10c
commit 9abc25e4b5
1 changed files with 2 additions and 2 deletions

View File

@ -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)