[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: script suggestion: 'check_program' to easily run multiple tests
From: |
Pádraig Brady |
Subject: |
Re: script suggestion: 'check_program' to easily run multiple tests |
Date: |
Fri, 24 Jan 2014 23:44:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
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.