automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Improve timing of generation of generated test scripts.


From: Ralf Wildenhues
Subject: Re: [PATCH] Improve timing of generation of generated test scripts.
Date: Sat, 13 Mar 2010 11:36:47 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hi Stefano,

* Stefano Lattarini wrote on Mon, Mar 08, 2010 at 11:37:22AM CET:
> At Monday 08 March 2010, Ralf Wildenhues wrote:
> > * Stefano Lattarini wrote on Sun, Mar 07, 2010 at 05:28:19PM CET:
> > > Anothor small cosmetic patch; it adds the list of generated tests
> > > ($(parallel_tests)) to the check_SCRIPTS variable, so that all
> > > the automatically generated tests are created before starting to
> > > run any test script in the testsuite.
> > 
> > That this is not done is on purpose: to demonstrate lazy updating.
> > In this case, it does not help all that much because test generation
> > is very fast, but it serves as example anyway; see e.g.,
> > <http://article.gmane.org/gmane.comp.sysutils.automake.general/11495>.
> Thanks for the information.  So my patch "fixed" a wanted behaviour, as
> I suspected.
> 
> But what would you think about adding a convenience target
> `generated-tests' to the Makefile so that one can easily regenerate
> all the generated test scripts without having to find out their names?
> Then we could also add a brief comment telling why $(TESTS) is not in
> check_SCRIPTS, and why `check' doesn't  depend on the
> `generated-tests' target.  WDYT?

distdir run by 'make dist' provides such a convenience target.  It does
a little more, but I've considered that sufficient so far.  The test
generation isn't exactly prone to failure.  ;-)

Thanks,
Ralf




reply via email to

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