[issue1403] py_compile and compileall need unit tests

2007-11-20 Thread Christian Heimes

Christian Heimes added the comment:

Comitted in r59092

--
resolution: accepted - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1403
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1403] py_compile and compileall need unit tests

2007-11-09 Thread Guido van Rossum

Guido van Rossum added the comment:

Why is it still open?

--
nosy: +gvanrossum

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1403
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1403] py_compile and compileall need unit tests

2007-11-09 Thread Christian Heimes

Christian Heimes added the comment:

I've left this bug open because no unit tests verifies that compileall
can compile all files under Lib/. It has caused a problem with the
Windows installer in 3.0a1 for some people.

I like to add a compileall followed by a cleanup to make testall. I hope
that's called before a release gets out.

Index: Makefile.pre.in
===
--- Makefile.pre.in (Revision 58923)
+++ Makefile.pre.in (Arbeitskopie)
@@ -610,7 +610,7 @@

 TESTOPTS=  -l $(EXTRATESTOPTS)
 TESTPROG=  $(srcdir)/Lib/test/regrtest.py
-TESTPYTHON=$(RUNSHARED) ./$(BUILDPYTHON) -E -tt
+TESTPYTHON=$(RUNSHARED) ./$(BUILDPYTHON) -E -tt -bb
 test:  all platform
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
-$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
@@ -618,6 +618,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

Added file: http://bugs.python.org/file8722/makefile_compileall.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1403
__Index: Makefile.pre.in
===
--- Makefile.pre.in	(Revision 58923)
+++ Makefile.pre.in	(Arbeitskopie)
@@ -610,7 +610,7 @@
 
 TESTOPTS=	-l $(EXTRATESTOPTS)
 TESTPROG=	$(srcdir)/Lib/test/regrtest.py
-TESTPYTHON=	$(RUNSHARED) ./$(BUILDPYTHON) -E -tt
+TESTPYTHON=	$(RUNSHARED) ./$(BUILDPYTHON) -E -tt -bb
 test:		all platform
 		-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
 		-$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
@@ -618,6 +618,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
 
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1403] py_compile and compileall need unit tests

2007-11-08 Thread Christian Heimes

Christian Heimes added the comment:

I've fixed the bug in r58913. The modules need more unit tests.

--
priority: high - low
resolution:  - accepted
title: io or codecs bug in codecs.getincrementaldecoder - py_compile and 
compileall need unit tests

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1403
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com