diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tests/Makefile.am | 12 | ||||
-rw-r--r-- | tests/misc/Makefile.am | 9 |
3 files changed, 21 insertions, 4 deletions
@@ -1,5 +1,9 @@ 2007-10-21 Jim Meyering <meyering@redhat.com> + Reorder tests to run more basic ones earlier. + * tests/misc/Makefile.am (TESTS): Reorder. + * tests/Makefile.am (SUBDIRS): Reorder. + tr: do not reject an unmatched [:lower:] or [:upper:] in SET1. * NEWS: Mention this. * src/tr.c (get_next) [RE_CHAR_CLASS]: Don't skip the loop when diff --git a/tests/Makefile.am b/tests/Makefile.am index fa2ff29be..a3fd21a6f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -39,11 +39,19 @@ EXTRA_DIST = \ umask-check \ very-expensive +# Regarding ordering in SUBDIRS, place early in the list the tools that +# are most commonly used in test scripts. Every test script uses rm +# and chmod, so they have to be very early. +# Ordering within misc/ should handle the rest. + ## N O T E :: Please do not add new tests/ directories. ## There are too many already. Put new tests in misc/. SUBDIRS = \ - chgrp chmod chown cp cut dd du head \ - install join ln ls misc mkdir mv pr readlink rm rmdir \ + rm \ + chmod \ + misc \ + chgrp chown cp cut dd du head \ + install join ln ls mkdir mv pr readlink rmdir \ sort tac tail tail-2 test touch tr \ uniq wc ## N O T E :: Please do not add new directories. diff --git a/tests/misc/Makefile.am b/tests/misc/Makefile.am index 7425a6b07..5f256cfa2 100644 --- a/tests/misc/Makefile.am +++ b/tests/misc/Makefile.am @@ -26,7 +26,14 @@ built_programs = \ # will expand 'if test ...' to 'if .../test ...', and the '.../test' # will execute the test script rather than the standard utility. +# Ordering: +# help-version comes early because it's a basic sanity test. +# Put seq early, since lots of other tests use it. +# Put head-elide-tail early, because it's long-running. + TESTS = \ + help-version \ + seq \ head-elide-tail \ ls-time \ ls-misc \ @@ -64,7 +71,6 @@ TESTS = \ groups-version \ head-c \ head-pos \ - help-version \ md5sum \ md5sum-newline \ mknod \ @@ -80,7 +86,6 @@ TESTS = \ pwd-long \ readlink-fp-loop \ runcon-no-reorder \ - seq \ sha1sum \ sha1sum-vec \ sha224sum \ |