On 01/24/2014 10:39 PM, Bernhard Voelker wrote:
> On 01/24/2014 08:36 PM, Pádraig Brady wrote:
>> The most common use I have for that is: ./make --test tests/misc/test-name.sh
> 
> Hmm, I'd just run
>   make check TESTS=tests/misc/test-name.sh SUBDIRS=.
> in that case.
> 
> And when I want to run all cp tests, then I'd do something like
> 
>   make check TESTS="$( echo tests/cp/*.sh )" SUBDIRS=.
> 
> Including expensive or very-expensive tests is not a big deal,
> and similar to the make target "check-very-expensive".
> 
> Thus said, instead of adding a script, I'd favor a new make target
> which can search all test cases and run them - incl. (very-)expensive
> if necessary. Something like
> 
>   make check-some T=cp

Yes I agree.

We already have some other check-targets
so we should probably augment those so we
have a standard interface for running tests,
but also handy enough to run subsets easily.

I'll see what I can come up with.

thanks,
Pádraig.

Reply via email to