]> git.notmuchmail.org Git - notmuch/blobdiff - test/notmuch-test
test: Add the most rudimentary testing of the emacs interface.
[notmuch] / test / notmuch-test
index 8ff21cc687386e959f343d1a410483067517df28..7feb5bdf5fd14d1ef26ec10a912ee1add51760d7 100755 (executable)
@@ -8,16 +8,18 @@
 
 cd $(dirname "$0")
 
+TESTS="basic new search json thread-naming reply dump-restore uuencode thread-order author-order from-guessing long-id encoding emacs"
+
 # 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 corpus.mail