1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-05 01:06:34 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
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
Paul Eggert 4767fc607e Fix bug reported today by Mike Frysinger: mkdir -pv is logging the
wrong file name in some cases.
* src/install.c (struct install_options): New type.
(install_file_in_file_parents, main):
Use it instead of struct cp_options.
(process_dir): Remember the full name.
(announce_mkdir, make_ancestor): Use the full name in announcements.
* src/mkdir.c (struct mkdir_options): Add full_name member.
(make_ancestor): Use the full name in announcements.
(process_dir): Remember the full name.
* tests/mkdir/Makefile.am (TESTS): Add p-v.
* tests/mkdir/p-v: New file, to test this bug.
2006-10-06 20:44:31 +00:00
Jim Meyering ae87c86b4a * tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):
Add $VG_PATH_PREFIX as a prefix to $PATH
2006-07-03 12:55:25 +00:00
Jim Meyering f9f6078432 (TESTS): Add p-thru-slink 2005-12-23 18:17:39 +00:00
Jim Meyering 075b283689 (TESTS): Add p-slashdot. 2005-10-24 13:42:21 +00:00
Jim Meyering d9b86c6156 (TESTS): Add p-3. 2005-06-14 07:59:59 +00:00
Jim Meyering 4cfe78b8a0 *** empty log message *** 2003-04-05 18:03:47 +00:00
Jim Meyering 89fc480602 *** empty log message *** 2003-02-02 20:15:11 +00:00
Jim Meyering c7087747a4 (TESTS): Add t-slash. 2000-11-18 13:39:49 +00:00
Jim Meyering e1d09fbef3 (TESTS): Add parents.
(TESTS_ENVIRONMENT): Define srcdir=$(srcdir).
2000-11-07 14:22:11 +00:00
Jim Meyering c49c23e608 (TESTS_ENVIRONMENT): Define srcdir=$(srcdir). 2000-11-06 20:57:04 +00:00
Jim Meyering 77eb8604f1 (TESTS): Add perm. 2000-09-30 08:10:31 +00:00
Jim Meyering 375abb3590 (TESTS_ENVIRONMENT): Set PATH, not MKDIR. 2000-04-27 12:08:19 +00:00
Jim Meyering 862b31c48a (TESTS): Add special-1. 2000-04-27 06:30:26 +00:00
Jim Meyering e4a1ead494 *** empty log message *** 1998-03-14 10:41:02 +00:00
Jim Meyering a8068a365d *** empty log message *** 1997-07-09 15:28:01 +00:00
Jim Meyering 47489a5b27 *** empty log message *** 1997-07-09 14:16:44 +00:00
Jim Meyering 3358aeb5d3 . 1997-07-09 14:05:31 +00:00