]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't let a failure in one test stop "make -k".
authorJim Meyering <jim@meyering.net>
Tue, 24 Oct 2006 06:43:58 +0000 (08:43 +0200)
committerJim Meyering <jim@meyering.net>
Tue, 24 Oct 2006 06:46:25 +0000 (08:46 +0200)
* tests/Makefile.am (t1 t2 t3 t4 t5): New targets.
(check-root): Depend on them, rather than executing the five
commands in a single rule.  Reported by Greg Schafer.

ChangeLog
tests/Makefile.am

index b08aa8951bc8b662a25a1caa2882f6cfab5cfdd5..eb2ac2491e40a22393f573d56dc6d2951bc992b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-10-24  Jim Meyering  <jim@meyering.net>
+
+       Don't let a failure in one test stop "make -k" from running the others.
+       * tests/Makefile.am (t1 t2 t3 t4 t5): New targets.
+       (check-root): Depend on them, rather than executing the five
+       commands in a single rule.  Reported by Greg Schafer.
+
 2006-10-23  Bob Proulx  <bob@proulx.com>  (tiny change)
 
        * Makefile.maint (alpha beta major): Use a better log message for
index 376a2f07b33e51995255c4543d1fe7a0f869e35c..b13294bf5d7814faf2fb7bcb30c683c700e8d8b3 100644 (file)
@@ -20,8 +20,7 @@ EXTRA_DIST = \
   umask-check very-expensive
 
 ## 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/.
+## There are too many already.  Put new tests in misc/.
 SUBDIRS = \
   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 \
@@ -29,12 +28,18 @@ SUBDIRS = \
   tsort unexpand uniq wc
 ## N O T E :: Please do not add new directories.
 
-.PHONY: check-root
-check-root:
+.PHONY: check-root t1 t2 t3 t4 t5
+check-root: t1 t2 t3 t4 t5
+
+t1:
        cd chown && $(MAKE) check TESTS=basic
+t2:
        cd cp    && $(MAKE) check TESTS=special-bits
+t3:
        cd rm    && $(MAKE) check TESTS=no-give-up
+t4:
        cd rm    && $(MAKE) check TESTS=fail-2eperm
+t5:
        cd tail-2 && $(MAKE) check TESTS=append-only
 
 check-recursive: root-hint