coreutils
[Top][All Lists]
Advanced

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

Re: script suggestion: 'check_program' to easily run multiple tests


From: Bernhard Voelker
Subject: Re: script suggestion: 'check_program' to easily run multiple tests
Date: Fri, 24 Jan 2014 23:39:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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

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