[Python-checkins] r59091 - python/trunk/Makefile.pre.in
christian.heimes
python-checkins at python.org
Wed Nov 21 03:50:07 CET 2007
Author: christian.heimes
Date: Wed Nov 21 03:50:06 2007
New Revision: 59091
Modified:
python/trunk/Makefile.pre.in
Log:
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.
Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in (original)
+++ python/trunk/Makefile.pre.in Wed Nov 21 03:50:06 2007
@@ -592,6 +592,8 @@
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
More information about the Python-checkins
mailing list