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

Have a nice day,
Berny

Reply via email to