[MERGE][minor] Make selftest output sane under windows

Martin Pool mbp at sourcefrog.net
Fri Jun 29 10:10:08 BST 2007


On 6/29/07, Martin <gzlist at googlemail.com> wrote:
> > It might be better to emit a warning if we ever try to delete a directory
> > containing the pwd, so that such problems are obvious on unix.
>
> This is an idea though, spreads the risk better. Still a bit of
> overhead, but directory unlinking is not on any critical paths outside
> the testsuite, is it?

No, and anyhow deleting the directory is probably pretty slow compared
to getpwd and looking at the result.

> Apologies for the dodgy patch by the way, 'd expect me to get the
> paths balanced correctly with such huge changes. I've not worked out a
> good way of working with live changes to packages yet. I guess I need
> to branch from my local bzr.dev to edit then just keep running
> setup.py from there each change.

Why don't you just run the test suite from inside a Bazaar checkout or
branch?  (There may be a good reason but I don't know it.)

-- 
Martin



More information about the bazaar mailing list