aboutsummaryrefslogtreecommitdiff
path: root/test/notmuch-test
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-09-17 15:58:39 -0700
committerCarl Worth <cworth@cworth.org>2010-09-17 16:01:42 -0700
commit7263aa9ec3f72bb65a491b2c64345ab5258b24ee (patch)
tree57614bee32cf5247100d01b02428766486be3552 /test/notmuch-test
parent51cd69feb1d131db7a468e33e0fa2e043caad41e (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.
Diffstat (limited to 'test/notmuch-test')
-rwxr-xr-xtest/notmuch-test10
1 files changed, 6 insertions, 4 deletions
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