Reorder tests to run more basic ones earlier.

* tests/misc/Makefile.am (TESTS): Reorder.
* tests/Makefile.am (SUBDIRS): Reorder.

Signed-off-by: Jim Meyering <meyering@redhat.com>
This commit is contained in:
Jim Meyering 2007-10-21 12:44:32 +02:00
parent af5d0c363a
commit a64e33f79b
3 changed files with 21 additions and 4 deletions

View File

@ -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

View File

@ -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.

View File

@ -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 \