[Python-Dev] fixing buildbots
Neal Norwitz
nnorwitz at gmail.com
Tue May 30 20:13:24 CEST 2006
On 5/30/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Neal Norwitz wrote:
>
> > I've been starting to get some of the buildbots working again. There
> > was some massive problem on May 25 where a ton of extra files were
> > left around. I can't remember if I saw something about that at the
> > NFS sprint or not.
>
> bob's new _struct module was checked in on May 25, and required some
> changes to the build procedure (structmodule.c was replaced by _struct.c).
>
> I'm not sure why such a relatively straightforward change would break the
> buildbots, though...
It wasn't the buildbots exactly, but rather the test suite not being
robust enough. There are several tests that create files/directories
on setup and remove them on teardown. However, if there's some
exception and teardown doesn't do it's job completely, on the next
run, setup will fail. I fixed one of these in test_repr last night
IIRC. test_glob I tried to fix with a change to the Makefile to rm -f
areallylong*. Not sure why the problems didn't appear on Windows.
The tests should really be made more robust.
n
More information about the Python-Dev
mailing list