mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-18 01:40:06 +02:00
* 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"'
12 lines
369 B
Makefile
12 lines
369 B
Makefile
## Process this file with automake to produce Makefile.in -*-Makefile-*-.
|
|
AUTOMAKE_OPTIONS = 1.1 gnits
|
|
|
|
TESTS = \
|
|
p-thru-slink \
|
|
p-3 p-1 p-2 p-v special-1 perm parents t-slash p-slashdot
|
|
EXTRA_DIST = $(TESTS)
|
|
TESTS_ENVIRONMENT = \
|
|
srcdir=$(srcdir) \
|
|
CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \
|
|
PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
|