develooper Front page | perl.perl5.porters | Postings from April 2007

Re: Configure cleanups

Thread Previous | Thread Next
Andy Dougherty
April 18, 2007 06:06
Re: Configure cleanups
Message ID:
On Wed, 18 Apr 2007, H.Merijn Brand wrote:

> In change #30919, Nicholas added some cleanups for 'try'. He however did
> not catch all, which isn't his fault, but unveils a somewhat unclean
> state of affairs.
> There are several approaches to the cleanup.
> The common flow of control is to write the test program in try.c, then
> compile it, if that succeeded, run it, read the exit code, and clean up.

> I'm thinking about creating a macro that does something like
> cleanup_try="$rm -f try try$exe_ext a.out try.c try.o .out core core.* try.core"

> This however is a huge task. Any objections before I start?

No objections from me.  It sounds like a good plan.  Looking forward and 
dreaming a bit, this might also make it easier later to extend the cleanup 
process to do something useful in cases where tests fail. 

    Andy Dougherty

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About