diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-21 02:50:06 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-21 02:50:06 (GMT) |
commit | cc7f26bf207ee17e2c1b3e6545e145942aff612d (patch) | |
tree | 594a898ad97cea003434e36e2f29e6049d7155b0 | |
parent | f57375af2874873ae2231609fd2b453f9ff6228d (diff) | |
download | cpython-cc7f26bf207ee17e2c1b3e6545e145942aff612d.zip cpython-cc7f26bf207ee17e2c1b3e6545e145942aff612d.tar.gz cpython-cc7f26bf207ee17e2c1b3e6545e145942aff612d.tar.bz2 |
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.
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index aac765b..70e5b0e 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -592,6 +592,8 @@ test: all platform 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 |