On 28/05/18 09:41, Marek Tamaškovič wrote: > Hello, > is there any easy way to run strace only on some testcases and not on whole > 'make check' process? > > Now I am using: > > strace -ff -o "coreutils.strace" \ > make -j$(nproc) check TESTS="$*" SUBDIRS=. VERBOSE=yes \ > RUN_VERY_EXPENSIVE_TESTS=yes RUN_EXPENSIVE_TESTS=yes > > .. and it is not the right solution.
There is no direct support for this. You'd have to provide a wrapper for particular tests. Perhaps the valgrind wrapper may give some hints? http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=blob;f=README-valgrind;hb=HEAD cheers, Pádraig
