2002-07-01 09:24:34 +00:00
|
|
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-.
|
|
|
|
|
|
2003-08-15 06:53:38 +00:00
|
|
|
# Sort in traditional ASCII order, regardless of the current locale;
|
|
|
|
|
# otherwise we may get into trouble with distinct strings that the
|
|
|
|
|
# current locale considers to be equal.
|
|
|
|
|
ASSORT = LC_ALL=C sort
|
|
|
|
|
|
2004-05-13 07:03:52 +00:00
|
|
|
all_programs = (cd ../src && MAKEFLAGS= $(MAKE) -s all_programs.list)
|
2003-07-16 19:51:05 +00:00
|
|
|
|
2002-07-01 09:24:34 +00:00
|
|
|
TESTS = help-version
|
|
|
|
|
TESTS_ENVIRONMENT = \
|
2003-08-01 22:32:41 +00:00
|
|
|
all_programs="`$(all_programs)`" \
|
2003-11-20 08:03:50 +00:00
|
|
|
PACKAGE_BUGREPORT=$(PACKAGE_BUGREPORT) \
|
2006-07-03 12:55:25 +00:00
|
|
|
PATH="$(VG_PATH_PREFIX)`pwd`/../src$(PATH_SEPARATOR)$$PATH"
|
2002-07-01 09:24:34 +00:00
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2006-07-03 08:37:50 +00:00
|
|
|
$(TESTS) Coreutils.pm Makefile.am.in README acl envvar-check \
|
2002-07-02 08:59:21 +00:00
|
|
|
expensive group-names input-tty lang-default mk-script priv-check \
|
2006-08-19 20:34:57 +00:00
|
|
|
rwx-to-mode sample-test setgid-check sparse-file \
|
|
|
|
|
umask-check very-expensive
|
2002-07-01 09:24:34 +00:00
|
|
|
|
2006-01-13 13:55:49 +00:00
|
|
|
## N O T E :: Please do not add new tests/ directories.
|
|
|
|
|
## Some people feel that there are too many already.
|
|
|
|
|
## Put new tests in misc/.
|
2002-07-01 09:24:34 +00:00
|
|
|
SUBDIRS = \
|
2006-03-26 11:52:47 +00:00
|
|
|
chgrp chmod chown cp cut dd dircolors du expr factor fmt head \
|
|
|
|
|
install join ln ls ls-2 md5sum misc mkdir mv od pr readlink rm rmdir \
|
|
|
|
|
seq sha1sum shred sort stty sum tac tail tail-2 tee test touch tr \
|
|
|
|
|
tsort unexpand uniq wc
|
2006-01-13 13:55:49 +00:00
|
|
|
## N O T E :: Please do not add new directories.
|
2002-07-01 09:24:34 +00:00
|
|
|
|
2005-01-30 14:28:36 +00:00
|
|
|
.PHONY: check-root
|
2002-07-01 09:24:34 +00:00
|
|
|
check-root:
|
|
|
|
|
cd chown && $(MAKE) check TESTS=basic
|
|
|
|
|
cd cp && $(MAKE) check TESTS=special-bits
|
2005-01-04 09:41:14 +00:00
|
|
|
cd rm && $(MAKE) check TESTS=no-give-up
|
2003-03-04 19:50:23 +00:00
|
|
|
cd rm && $(MAKE) check TESTS=fail-2eperm
|
2006-01-24 22:54:49 +00:00
|
|
|
cd tail-2 && $(MAKE) check TESTS=append-only
|
2002-07-01 09:24:34 +00:00
|
|
|
|
2006-07-03 08:37:50 +00:00
|
|
|
check-recursive: root-hint
|
2002-07-01 09:24:34 +00:00
|
|
|
|
|
|
|
|
# Advertise `check-root' target.
|
2005-01-30 14:28:36 +00:00
|
|
|
.PHONY: root-hint
|
2002-07-01 09:24:34 +00:00
|
|
|
root-hint:
|
2003-12-20 11:32:32 +00:00
|
|
|
@echo '***********************************************************'
|
|
|
|
|
@echo "NOTICE: Some tests may be run only as root."
|
|
|
|
|
@echo " Do \`make check-root' as \`root' to run these tests."
|
|
|
|
|
@echo '***********************************************************'
|