aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <tomi.ollila@iki.fi>2014-01-09 17:18:59 +0200
committerGravatar David Bremner <david@tethera.net>2014-01-13 14:16:46 -0400
commita755c9d6a9099366cc82ba3a4bee8e6d2b83d529 (patch)
treee17400d2996686722eb94404902f62043b764237 /test
parent84719b08f757a6079f4c3331d0c476d19b265948 (diff)
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T000-basic.sh (renamed from test/basic)0
-rwxr-xr-xtest/T010-help-test.sh (renamed from test/help-test)0
-rwxr-xr-xtest/T020-compact.sh (renamed from test/compact)0
-rwxr-xr-xtest/T030-config.sh (renamed from test/config)0
-rwxr-xr-xtest/T040-setup.sh (renamed from test/setup)0
-rwxr-xr-xtest/T050-new.sh (renamed from test/new)0
-rwxr-xr-xtest/T060-count.sh (renamed from test/count)0
-rwxr-xr-xtest/T070-insert.sh (renamed from test/insert)0
-rwxr-xr-xtest/T080-search.sh (renamed from test/search)0
-rwxr-xr-xtest/T090-search-output.sh (renamed from test/search-output)0
-rwxr-xr-xtest/T100-search-by-folder.sh (renamed from test/search-by-folder)0
-rwxr-xr-xtest/T110-search-position-overlap-bug.sh (renamed from test/search-position-overlap-bug)0
-rwxr-xr-xtest/T120-search-insufficient-from-quoting.sh (renamed from test/search-insufficient-from-quoting)0
-rwxr-xr-xtest/T130-search-limiting.sh (renamed from test/search-limiting)0
-rwxr-xr-xtest/T140-excludes.sh (renamed from test/excludes)0
-rwxr-xr-xtest/T150-tagging.sh (renamed from test/tagging)0
-rwxr-xr-xtest/T160-json.sh (renamed from test/json)0
-rwxr-xr-xtest/T170-sexp.sh (renamed from test/sexp)0
-rwxr-xr-xtest/T180-text.sh (renamed from test/text)0
-rwxr-xr-xtest/T190-multipart.sh (renamed from test/multipart)0
-rwxr-xr-xtest/T200-thread-naming.sh (renamed from test/thread-naming)0
-rwxr-xr-xtest/T210-raw.sh (renamed from test/raw)0
-rwxr-xr-xtest/T220-reply.sh (renamed from test/reply)0
-rwxr-xr-xtest/T230-reply-to-sender.sh (renamed from test/reply-to-sender)0
-rwxr-xr-xtest/T240-dump-restore.sh (renamed from test/dump-restore)0
-rwxr-xr-xtest/T250-uuencode.sh (renamed from test/uuencode)0
-rwxr-xr-xtest/T260-thread-order.sh (renamed from test/thread-order)0
-rwxr-xr-xtest/T270-author-order.sh (renamed from test/author-order)0
-rwxr-xr-xtest/T280-from-guessing.sh (renamed from test/from-guessing)0
-rwxr-xr-xtest/T290-long-id.sh (renamed from test/long-id)0
-rwxr-xr-xtest/T300-encoding.sh (renamed from test/encoding)0
-rwxr-xr-xtest/T310-emacs.sh (renamed from test/emacs)0
-rwxr-xr-xtest/T320-emacs-large-search-buffer.sh (renamed from test/emacs-large-search-buffer)0
-rwxr-xr-xtest/T330-emacs-subject-to-filename.sh (renamed from test/emacs-subject-to-filename)0
-rwxr-xr-xtest/T340-maildir-sync.sh (renamed from test/maildir-sync)0
-rwxr-xr-xtest/T350-crypto.sh (renamed from test/crypto)0
-rwxr-xr-xtest/T360-symbol-hiding.sh (renamed from test/symbol-hiding)0
-rwxr-xr-xtest/T370-search-folder-coherence.sh (renamed from test/search-folder-coherence)0
-rwxr-xr-xtest/T380-atomicity.sh (renamed from test/atomicity)0
-rwxr-xr-xtest/T390-python.sh (renamed from test/python)0
-rwxr-xr-xtest/T400-hooks.sh (renamed from test/hooks)0
-rwxr-xr-xtest/T410-argument-parsing.sh (renamed from test/argument-parsing)0
-rwxr-xr-xtest/T420-emacs-test-functions.sh (renamed from test/emacs-test-functions)0
-rwxr-xr-xtest/T430-emacs-address-cleaning.sh (renamed from test/emacs-address-cleaning)0
-rwxr-xr-xtest/T440-emacs-hello.sh (renamed from test/emacs-hello)0
-rwxr-xr-xtest/T450-emacs-show.sh (renamed from test/emacs-show)0
-rwxr-xr-xtest/T460-emacs-tree.sh (renamed from test/emacs-tree)0
-rwxr-xr-xtest/T470-missing-headers.sh (renamed from test/missing-headers)0
-rwxr-xr-xtest/T480-hex-escaping.sh (renamed from test/hex-escaping)0
-rwxr-xr-xtest/T490-parse-time-string.sh (renamed from test/parse-time-string)0
-rwxr-xr-xtest/T500-search-date.sh (renamed from test/search-date)0
-rwxr-xr-xtest/T510-thread-replies.sh (renamed from test/thread-replies)0
-rwxr-xr-xtest/notmuch-test56
-rw-r--r--test/test-lib.sh1
54 files changed, 2 insertions, 55 deletions
diff --git a/test/basic b/test/T000-basic.sh
index 9c94b62c..9c94b62c 100755
--- a/test/basic
+++ b/test/T000-basic.sh
diff --git a/test/help-test b/test/T010-help-test.sh
index f7df725e..f7df725e 100755
--- a/test/help-test
+++ b/test/T010-help-test.sh
diff --git a/test/compact b/test/T020-compact.sh
index ac174cec..ac174cec 100755
--- a/test/compact
+++ b/test/T020-compact.sh
diff --git a/test/config b/test/T030-config.sh
index ca4cf330..ca4cf330 100755
--- a/test/config
+++ b/test/T030-config.sh
diff --git a/test/setup b/test/T040-setup.sh
index 124ef1c8..124ef1c8 100755
--- a/test/setup
+++ b/test/T040-setup.sh
diff --git a/test/new b/test/T050-new.sh
index f27423da..f27423da 100755
--- a/test/new
+++ b/test/T050-new.sh
diff --git a/test/count b/test/T060-count.sh
index da86c8cc..da86c8cc 100755
--- a/test/count
+++ b/test/T060-count.sh
diff --git a/test/insert b/test/T070-insert.sh
index e8dc4c09..e8dc4c09 100755
--- a/test/insert
+++ b/test/T070-insert.sh
diff --git a/test/search b/test/T080-search.sh
index a7a0b18d..a7a0b18d 100755
--- a/test/search
+++ b/test/T080-search.sh
diff --git a/test/search-output b/test/T090-search-output.sh
index 5ccfeaf9..5ccfeaf9 100755
--- a/test/search-output
+++ b/test/T090-search-output.sh
diff --git a/test/search-by-folder b/test/T100-search-by-folder.sh
index 5cc2ca8d..5cc2ca8d 100755
--- a/test/search-by-folder
+++ b/test/T100-search-by-folder.sh
diff --git a/test/search-position-overlap-bug b/test/T110-search-position-overlap-bug.sh
index 5da6ad6f..5da6ad6f 100755
--- a/test/search-position-overlap-bug
+++ b/test/T110-search-position-overlap-bug.sh
diff --git a/test/search-insufficient-from-quoting b/test/T120-search-insufficient-from-quoting.sh
index e83ea3d1..e83ea3d1 100755
--- a/test/search-insufficient-from-quoting
+++ b/test/T120-search-insufficient-from-quoting.sh
diff --git a/test/search-limiting b/test/T130-search-limiting.sh
index 303762cf..303762cf 100755
--- a/test/search-limiting
+++ b/test/T130-search-limiting.sh
diff --git a/test/excludes b/test/T140-excludes.sh
index 8bbbc2dd..8bbbc2dd 100755
--- a/test/excludes
+++ b/test/T140-excludes.sh
diff --git a/test/tagging b/test/T150-tagging.sh
index dc118f33..dc118f33 100755
--- a/test/tagging
+++ b/test/T150-tagging.sh
diff --git a/test/json b/test/T160-json.sh
index c1cf649d..c1cf649d 100755
--- a/test/json
+++ b/test/T160-json.sh
diff --git a/test/sexp b/test/T170-sexp.sh
index 667e3195..667e3195 100755
--- a/test/sexp
+++ b/test/T170-sexp.sh
diff --git a/test/text b/test/T180-text.sh
index b5ccefc9..b5ccefc9 100755
--- a/test/text
+++ b/test/T180-text.sh
diff --git a/test/multipart b/test/T190-multipart.sh
index 85cbf672..85cbf672 100755
--- a/test/multipart
+++ b/test/T190-multipart.sh
diff --git a/test/thread-naming b/test/T200-thread-naming.sh
index 1a1a48f6..1a1a48f6 100755
--- a/test/thread-naming
+++ b/test/T200-thread-naming.sh
diff --git a/test/raw b/test/T210-raw.sh
index daf5735c..daf5735c 100755
--- a/test/raw
+++ b/test/T210-raw.sh
diff --git a/test/reply b/test/T220-reply.sh
index b0d854a1..b0d854a1 100755
--- a/test/reply
+++ b/test/T220-reply.sh
diff --git a/test/reply-to-sender b/test/T230-reply-to-sender.sh
index 30e5e385..30e5e385 100755
--- a/test/reply-to-sender
+++ b/test/T230-reply-to-sender.sh
diff --git a/test/dump-restore b/test/T240-dump-restore.sh
index 0004438d..0004438d 100755
--- a/test/dump-restore
+++ b/test/T240-dump-restore.sh
diff --git a/test/uuencode b/test/T250-uuencode.sh
index b3e1ac19..b3e1ac19 100755
--- a/test/uuencode
+++ b/test/T250-uuencode.sh
diff --git a/test/thread-order b/test/T260-thread-order.sh
index 6c3a4b3f..6c3a4b3f 100755
--- a/test/thread-order
+++ b/test/T260-thread-order.sh
diff --git a/test/author-order b/test/T270-author-order.sh
index 6ffeffc7..6ffeffc7 100755
--- a/test/author-order
+++ b/test/T270-author-order.sh
diff --git a/test/from-guessing b/test/T280-from-guessing.sh
index 6dfaa40a..6dfaa40a 100755
--- a/test/from-guessing
+++ b/test/T280-from-guessing.sh
diff --git a/test/long-id b/test/T290-long-id.sh
index 85e620fa..85e620fa 100755
--- a/test/long-id
+++ b/test/T290-long-id.sh
diff --git a/test/encoding b/test/T300-encoding.sh
index b6c86bf0..b6c86bf0 100755
--- a/test/encoding
+++ b/test/T300-encoding.sh
diff --git a/test/emacs b/test/T310-emacs.sh
index 863219d9..863219d9 100755
--- a/test/emacs
+++ b/test/T310-emacs.sh
diff --git a/test/emacs-large-search-buffer b/test/T320-emacs-large-search-buffer.sh
index 8b1251fe..8b1251fe 100755
--- a/test/emacs-large-search-buffer
+++ b/test/T320-emacs-large-search-buffer.sh
diff --git a/test/emacs-subject-to-filename b/test/T330-emacs-subject-to-filename.sh
index 230c324d..230c324d 100755
--- a/test/emacs-subject-to-filename
+++ b/test/T330-emacs-subject-to-filename.sh
diff --git a/test/maildir-sync b/test/T340-maildir-sync.sh
index 3186e70f..3186e70f 100755
--- a/test/maildir-sync
+++ b/test/T340-maildir-sync.sh
diff --git a/test/crypto b/test/T350-crypto.sh
index 477b397e..477b397e 100755
--- a/test/crypto
+++ b/test/T350-crypto.sh
diff --git a/test/symbol-hiding b/test/T360-symbol-hiding.sh
index 636ec917..636ec917 100755
--- a/test/symbol-hiding
+++ b/test/T360-symbol-hiding.sh
diff --git a/test/search-folder-coherence b/test/T370-search-folder-coherence.sh
index 3f6ec763..3f6ec763 100755
--- a/test/search-folder-coherence
+++ b/test/T370-search-folder-coherence.sh
diff --git a/test/atomicity b/test/T380-atomicity.sh
index 1c786fa2..1c786fa2 100755
--- a/test/atomicity
+++ b/test/T380-atomicity.sh
diff --git a/test/python b/test/T390-python.sh
index 3f03a2e3..3f03a2e3 100755
--- a/test/python
+++ b/test/T390-python.sh
diff --git a/test/hooks b/test/T400-hooks.sh
index 77e8569b..77e8569b 100755
--- a/test/hooks
+++ b/test/T400-hooks.sh
diff --git a/test/argument-parsing b/test/T410-argument-parsing.sh
index 94e90874..94e90874 100755
--- a/test/argument-parsing
+++ b/test/T410-argument-parsing.sh
diff --git a/test/emacs-test-functions b/test/T420-emacs-test-functions.sh
index ca4a7988..ca4a7988 100755
--- a/test/emacs-test-functions
+++ b/test/T420-emacs-test-functions.sh
diff --git a/test/emacs-address-cleaning b/test/T430-emacs-address-cleaning.sh
index 04723467..04723467 100755
--- a/test/emacs-address-cleaning
+++ b/test/T430-emacs-address-cleaning.sh
diff --git a/test/emacs-hello b/test/T440-emacs-hello.sh
index f7296166..f7296166 100755
--- a/test/emacs-hello
+++ b/test/T440-emacs-hello.sh
diff --git a/test/emacs-show b/test/T450-emacs-show.sh
index 2a3a5356..2a3a5356 100755
--- a/test/emacs-show
+++ b/test/T450-emacs-show.sh
diff --git a/test/emacs-tree b/test/T460-emacs-tree.sh
index 8e9f37cb..8e9f37cb 100755
--- a/test/emacs-tree
+++ b/test/T460-emacs-tree.sh
diff --git a/test/missing-headers b/test/T470-missing-headers.sh
index cb38301c..cb38301c 100755
--- a/test/missing-headers
+++ b/test/T470-missing-headers.sh
diff --git a/test/hex-escaping b/test/T480-hex-escaping.sh
index ad50e1bc..ad50e1bc 100755
--- a/test/hex-escaping
+++ b/test/T480-hex-escaping.sh
diff --git a/test/parse-time-string b/test/T490-parse-time-string.sh
index 8ae0b4c2..8ae0b4c2 100755
--- a/test/parse-time-string
+++ b/test/T490-parse-time-string.sh
diff --git a/test/search-date b/test/T500-search-date.sh
index 70bcf344..70bcf344 100755
--- a/test/search-date
+++ b/test/T500-search-date.sh
diff --git a/test/thread-replies b/test/T510-thread-replies.sh
index eeb70d06..eeb70d06 100755
--- a/test/thread-replies
+++ b/test/T510-thread-replies.sh
diff --git a/test/notmuch-test b/test/notmuch-test
index d6fdd3a5..b8437127 100755
--- a/test/notmuch-test
+++ b/test/notmuch-test
@@ -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
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 2fcaba65..487075e5 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -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.