mirror of
git://git.sv.gnu.org/coreutils
synced 2026-05-19 13:12:00 -04:00
9c88531fb0
* 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"'
43 lines
1.5 KiB
Makefile
43 lines
1.5 KiB
Makefile
# Make coreutils tests for cp. -*-Makefile-*-
|
|
|
|
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2006 Free
|
|
# Software Foundation, Inc.
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
# 02110-1301, USA.
|
|
|
|
AUTOMAKE_OPTIONS = 1.1 gnits
|
|
|
|
TESTS = \
|
|
file-perm-race open-perm-race parent-perm-race \
|
|
backup-dir \
|
|
src-base-dot \
|
|
sparse \
|
|
link-no-deref \
|
|
cp-deref \
|
|
acl \
|
|
preserve-2 r-vs-symlink link-preserve \
|
|
backup-1 no-deref-link1 no-deref-link2 no-deref-link3 backup-is-src \
|
|
same-file cp-mv-backup symlink-slash slink-2-slink fail-perm dir-slash \
|
|
perm cp-HL cp-i special-bits link dir-rm-dest cp-parents deref-slink \
|
|
dir-vs-file into-self
|
|
EXTRA_DIST = $(TESTS) trailing-slash
|
|
TESTS_ENVIRONMENT = \
|
|
MAKE=$(MAKE) \
|
|
abs_top_builddir=$(abs_top_builddir) \
|
|
CONFIG_HEADER=$(CONFIG_HEADER) \
|
|
CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \
|
|
PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
|