[darcs-users] darcs patch: Add a final cleaning-up script to the harness.
David Roundy
droundy at darcs.net
Wed Oct 8 18:26:55 UTC 2008
On Wed, Oct 08, 2008 at 06:20:47PM +0000, Eric Kow wrote:
> Hi David,
>
> This is to help us deal with buildbot. The main issue I had
> is that some tests would set restrictive permissions, and for
> whatever reason, fail. Afterwards, we were left with a
> directory that buildbot could not remove. On the next build,
> the bot would be stuck because it needs to clobber this
> directory in order to get a fresh darcs.
>
> This is one of several possible solutions. Other solutions
> might be to extend the harness, or make the buildbot smarter
> (e.g. have it chmod -R u+w the directory it wants to clobber
> beforehand)
>
> Wed Oct 8 19:17:46 BST 2008 Eric Kow <eric.kow at gmail.com>
> * Add a final cleaning-up script to the harness.
> This is in case individual tests fail and miss their chance
> to do a proper cleanup.
It looks all right to me. We could alternatively add this
functionality to the harness. That could allow us to skip the rm -rf
temp1 temp2 line at both the beginning and end of each shell script.
David
More information about the darcs-users
mailing list