test: renamed test scripts to format T\d\d\d-name.sh

All test scripts to be executed are now named as T\d\d\d-name.sh,
numers in increments of 10.

This eases adding new tests and developers to see which are test scripts
that are executed by test suite and in which order.
This commit is contained in:
Tomi Ollila 2014-01-09 17:18:59 +02:00 committed by David Bremner
parent 84719b08f7
commit a755c9d6a9
54 changed files with 2 additions and 55 deletions

View file

@ -16,61 +16,7 @@ fi
cd $(dirname "$0")
TESTS="
basic
help-test
compact
config
setup
new
count
insert
search
search-output
search-by-folder
search-position-overlap-bug
search-insufficient-from-quoting
search-limiting
excludes
tagging
json
sexp
text
multipart
thread-naming
raw
reply
reply-to-sender
dump-restore
uuencode
thread-order
author-order
from-guessing
long-id
encoding
emacs
emacs-large-search-buffer
emacs-subject-to-filename
maildir-sync
crypto
symbol-hiding
search-folder-coherence
atomicity
python
hooks
argument-parsing
emacs-test-functions
emacs-address-cleaning
emacs-hello
emacs-show
emacs-tree
missing-headers
hex-escaping
parse-time-string
search-date
thread-replies
"
TESTS=${NOTMUCH_TESTS:=$TESTS}
TESTS=${NOTMUCH_TESTS:-`echo T[0-9][0-9][0-9]-*.sh`}
# Clean up any results from a previous run
rm -r test-results >/dev/null 2>/dev/null

View file

@ -27,6 +27,7 @@ shopt -u xpg_echo
this_test=${0##*/}
this_test=${this_test%.sh}
this_test=${this_test#T[0-9][0-9][0-9]-}
# if --tee was passed, write the output not only to the terminal, but
# additionally to the file test-results/$BASENAME.out, too.