automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ping PATCHES] {master} Optimize tests `instspc-*.test' for speed.


From: Ralf Wildenhues
Subject: Re: [Ping PATCHES] {master} Optimize tests `instspc-*.test' for speed.
Date: Tue, 15 Feb 2011 21:05:43 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

* Stefano Lattarini wrote on Tue, Feb 15, 2011 at 10:21:36AM CET:
> On Monday 14 February 2011, Ralf Wildenhues wrote:
> > > --- /dev/null
> > > +++ b/tests/instspc-data.test
> > 
> > > +# Helper testcase which generate input data for the other test
> > > +# `instspc-*.test'.  It basically delegates the work to the helper
> > > +# script `instspc-test.sh'.
> > 
> > As an alternative to a helper testcase, this could also just be a helper
> > script whose run is a prerequisite to the instspc*.log files.  That way
> > you don't have a bogus test result.

> I had already tried a similar approach in the first version of the patch:
>  <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00152.html>
> but IMHO that turned out to be slightly more fragile and more complex than
> the current approach.  So I'd rather not go back there.

It is not immediately obvious why the approach was more fragile; care to
elaborate on that?  Asking just out of curiosity.

Sorry for overlooking that you had already tried this.

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]