On 15/05/18 12:13, Marek Tamaškovič wrote:
> Hi,
>
> I am planning to use some programs from coreutils as a benchmark for my
> project and for that I would like to run only a few tests from the whole
> testsuite (only for cp and rm). But I am unable to reduce the testsuite to
> run only the tests I want. I tried commenting the testlines in makefile but
> it didn't work. Could you please help me?
run_tests() {
make -j$(nproc) check TESTS="$*" SUBDIRS=. VERBOSE=yes \
RUN_VERY_EXPENSIVE_TESTS=yes RUN_EXPENSIVE_TESTS=yes
}
run_tests tests/cp/*.sh
cheers,
Pádraig