summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-13 11:32:19 +0100
committerJim Meyering <jim@meyering.net>2007-01-13 11:32:19 +0100
commit9c88531fb059e3c32138359fb9b8615858af0f94 (patch)
treecbb405a8af43ba80d98938cf22062b767e57a637 /ChangeLog
parent9afcb305718aa01a833d390049357be2f7349db5 (diff)
downloadcoreutils-9c88531fb059e3c32138359fb9b8615858af0f94.tar.xz
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"'
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84bda39a4..da894d391 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2007-01-13 Jim Meyering <jim@meyering.net>
+
+ * 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-11 Jim Meyering <jim@meyering.net>
Avoid a leak in expr's implementation of the ":" (match) operator.