automake
[Top][All Lists]
Advanced

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

Re: Several pass for a simple test in make check


From: Alexis Praga
Subject: Re: Several pass for a simple test in make check
Date: Tue, 20 Nov 2012 18:09:39 +0100

Ha, yes. Simple and elegant.
And we can use regexp for defining TESTS (not directly, but a temporary
variable will work well enough).

Adopted, thanks :)


On Tue, Nov 20, 2012 at 5:06 PM, Stefano Lattarini <
address@hidden> wrote:

> On 11/20/2012 03:58 PM, Alexis Praga wrote:
> >> You might write a script that generates both the tests and their
> >> list, and have this list included in the Makefile.am.  Automake's
> >> own build system do something similar in its bootstrap.sh script:
> >>
> >
> > With this solution, the user cannot chose at runtime a certain number of
> > tests he wants to run.
> >
> Why not?  I do that in Automake all the time:
>
>     $ make check TESTS="..."
>
> > The only way to do that would be to generate again the list of test files
> > and recreate a Makefile.
> >
> No, overriding TESTS at runtime is enough (and it is a very important and
> prominently documented feature).
>
> HTH,
>   Stefano
>
>
>


-- 
Alexis Praga


reply via email to

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