coreutils/tests/fmt
Jim Meyering 9c88531fb0 Put CU_TEST_NAME in the environment for each test run by "make check".
* Transform all Makefile.am files so that when running "make check",
CU_TEST_NAME is set to the name of the test.  This is so that when I
run valgrind-enabled (--log-file-qualifier=CU_TEST_NAME) "make check"
on the entire package it is more convenient to map a leak or error
found in a valgrind log file back to the offending test.
Use this command:
(echo tests/Makefile.am.in; find tests -name Makefile.am) \
 |xargs perl -pi -e '/^(\s*)PATH=...VG_PATH_PREFIX/ and ' \
   -e 'print $1,q|CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst |,"\\\n"'
2007-01-13 11:32:19 +01:00
..
.cvsignore * aclocal.m4, config.hin, configure: 2006-08-22 18:50:24 +00:00
basic * tests/fmt/basic (pfx-only, pfx-of-pfx): New tests, 2007-01-06 10:42:17 +01:00
long-line * tests/sample-test: Quote variables containing absolute build 2006-10-22 19:37:31 +02:00
Makefile.am Put CU_TEST_NAME in the environment for each test run by "make check". 2007-01-13 11:32:19 +01:00