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

Re: Configure cleanups

Thread Previous | Thread Next
From:
Jerry D. Hedden
Date:
April 23, 2007 11:06
Subject:
Re: Configure cleanups
Message ID:
1ff86f510704231106m42805681iae45af7a1334e50a@mail.gmail.com
This changes looks 'broken' as it causes a whole bunch of:
    ./protochk: line 7: -f: command not found
during configure.

On 4/23/07, H.Merijn Brand <h.m.brand@xs4all.nl> wrote:
> On Wed, 18 Apr 2007 09:04:48 -0400 (EDT), Andy Dougherty
> <doughera@lafayette.edu> wrote:
>
> > 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.
>
> Open for suggestions.
> Above suggestion is now in as change #31040 (76 files changed)
> Enjoy the clean feeling :)
>
> mc_units snapshot uploaded to $CPAN
>
> --
> H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
> using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
> & 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
> http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
>                         http://www.goldmark.org/jeff/stupid-disclaimers/
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About