[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Several pass for a simple test in make check
From: |
Stefano Lattarini |
Subject: |
Re: Several pass for a simple test in make check |
Date: |
Tue, 20 Nov 2012 17:06:00 +0100 |
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