mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Final fix for #1403
The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall.
This commit is contained in:
parent
f57375af28
commit
cc7f26bf20
1 changed files with 2 additions and 0 deletions
|
@ -591,6 +591,8 @@ test: all platform
|
|||
$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
|
||||
|
||||
testall: all platform
|
||||
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
|
||||
$(TESTPYTHON) Lib/compileall.py
|
||||
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
|
||||
-$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
|
||||
$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue