diff options
author | Carl Worth <cworth@cworth.org> | 2010-09-17 15:58:39 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-09-17 16:01:42 -0700 |
commit | 7263aa9ec3f72bb65a491b2c64345ab5258b24ee (patch) | |
tree | 57614bee32cf5247100d01b02428766486be3552 | |
parent | 51cd69feb1d131db7a468e33e0fa2e043caad41e (diff) |
test: Rename all tests to get rid of the ugly numbers in file names.
The numbers were meaningless, and they made it hard to find a file of interest.
Instead, we get the ordering we want by adding an explicit list of
tests to run to the notmuch-test script.
-rwxr-xr-x | test/author-reordering (renamed from test/t0009-author-reordering.sh) | 0 | ||||
-rwxr-xr-x | test/basic (renamed from test/t0000-basic.sh) | 0 | ||||
-rwxr-xr-x | test/dump-restore (renamed from test/t0006-dump-restore.sh) | 0 | ||||
-rwxr-xr-x | test/encoding-issues (renamed from test/t0012-encoding-issues.sh) | 0 | ||||
-rwxr-xr-x | test/from-line-heuristics (renamed from test/t0010-from-line-heuristics.sh) | 0 | ||||
-rwxr-xr-x | test/json (renamed from test/t0003-json.sh) | 0 | ||||
-rwxr-xr-x | test/long-msgid (renamed from test/t0011-long-msgid.sh) | 0 | ||||
-rwxr-xr-x | test/new (renamed from test/t0001-new.sh) | 0 | ||||
-rwxr-xr-x | test/notmuch-test | 10 | ||||
-rwxr-xr-x | test/reply (renamed from test/t0005-reply.sh) | 0 | ||||
-rwxr-xr-x | test/search (renamed from test/t0002-search.sh) | 0 | ||||
-rwxr-xr-x | test/thread-naming (renamed from test/t0004-thread-naming.sh) | 0 | ||||
-rwxr-xr-x | test/threading-out-of-order (renamed from test/t0008-threading-out-of-order.sh) | 0 | ||||
-rwxr-xr-x | test/uuencode (renamed from test/t0007-uuencode.sh) | 0 |
14 files changed, 6 insertions, 4 deletions
diff --git a/test/t0009-author-reordering.sh b/test/author-reordering index d618b85..d618b85 100755 --- a/test/t0009-author-reordering.sh +++ b/test/author-reordering diff --git a/test/t0000-basic.sh b/test/basic index eb10953..eb10953 100755 --- a/test/t0000-basic.sh +++ b/test/basic diff --git a/test/t0006-dump-restore.sh b/test/dump-restore index 21f9105..21f9105 100755 --- a/test/t0006-dump-restore.sh +++ b/test/dump-restore diff --git a/test/t0012-encoding-issues.sh b/test/encoding-issues index 73ca62a..73ca62a 100755 --- a/test/t0012-encoding-issues.sh +++ b/test/encoding-issues diff --git a/test/t0010-from-line-heuristics.sh b/test/from-line-heuristics index 613917c..613917c 100755 --- a/test/t0010-from-line-heuristics.sh +++ b/test/from-line-heuristics diff --git a/test/t0003-json.sh b/test/json index 2497613..2497613 100755 --- a/test/t0003-json.sh +++ b/test/json diff --git a/test/t0011-long-msgid.sh b/test/long-msgid index 1f55d71..1f55d71 100755 --- a/test/t0011-long-msgid.sh +++ b/test/long-msgid diff --git a/test/t0001-new.sh b/test/new index 4c6952f..4c6952f 100755 --- a/test/t0001-new.sh +++ b/test/new diff --git a/test/notmuch-test b/test/notmuch-test index 61b9280..9b00d33 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -8,16 +8,18 @@ cd $(dirname "$0") +TESTS="basic new search json thread-naming reply dump-restore uuencode threading-out-of-order author-reordering from-line-heuristics long-msgid encoding-issues" + # Clean up any results from a previous run rm -r test-results >/dev/null 2>/dev/null # Run the tests -for test in t[0-9][0-9][0-9][0-9]*.sh; do - ./"$test" +for test in $TESTS; do + ./$test done # Report results -./aggregate-results.sh test-results/t*-* +./aggregate-results.sh test-results/* # Clean up -#rm -r test-results +rm -r test-results diff --git a/test/t0005-reply.sh b/test/reply index d6b7431..d6b7431 100755 --- a/test/t0005-reply.sh +++ b/test/reply diff --git a/test/t0002-search.sh b/test/search index 865f5bb..865f5bb 100755 --- a/test/t0002-search.sh +++ b/test/search diff --git a/test/t0004-thread-naming.sh b/test/thread-naming index 31c0153..31c0153 100755 --- a/test/t0004-thread-naming.sh +++ b/test/thread-naming diff --git a/test/t0008-threading-out-of-order.sh b/test/threading-out-of-order index 47f25c8..47f25c8 100755 --- a/test/t0008-threading-out-of-order.sh +++ b/test/threading-out-of-order diff --git a/test/t0007-uuencode.sh b/test/uuencode index 3592d5c..3592d5c 100755 --- a/test/t0007-uuencode.sh +++ b/test/uuencode |