mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
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:
parent
3e0910c10c
commit
9abc25e4b5
1 changed files with 2 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ Modules: Parser Python Objects
|
||||||
# Test the interpreter (twice, once without .pyc files, once with)
|
# Test the interpreter (twice, once without .pyc files, once with)
|
||||||
TESTOPTS=
|
TESTOPTS=
|
||||||
TESTPROG= $(srcdir)/Lib/test/regrtest.py
|
TESTPROG= $(srcdir)/Lib/test/regrtest.py
|
||||||
TESTPYTHON= ./python$(EXE)
|
TESTPYTHON= ./python$(EXE) -tt
|
||||||
test: all
|
test: all
|
||||||
-rm -f $(srcdir)/Lib/test/*.py[co]
|
-rm -f $(srcdir)/Lib/test/*.py[co]
|
||||||
-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
|
-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
|
||||||
|
|
@ -346,7 +346,7 @@ libinstall: python $(srcdir)/Lib/$(PLATDIR)
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
PYTHONPATH=$(LIBDEST) \
|
PYTHONPATH=$(LIBDEST) \
|
||||||
./python$(EXE) $(LIBDEST)/compileall.py $(LIBDEST)
|
./python$(EXE) -t $(LIBDEST)/compileall.py $(LIBDEST)
|
||||||
PYTHONPATH=$(LIBDEST) \
|
PYTHONPATH=$(LIBDEST) \
|
||||||
./python$(EXE) -O $(LIBDEST)/compileall.py $(LIBDEST)
|
./python$(EXE) -O $(LIBDEST)/compileall.py $(LIBDEST)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue