]> git.notmuchmail.org Git - notmuch/blobdiff - test/notmuch-test
NEWS: removal of notmuch-folders
[notmuch] / test / notmuch-test
index 3f1740cf73d2b68021f2c0d12bf0c86ea9391819..a6ef34fefa711139f789a21a472a17d607e9095f 100755 (executable)
@@ -19,6 +19,7 @@ cd $(dirname "$0")
 TESTS="
   basic
   help-test
+  config
   new
   count
   search
@@ -27,8 +28,10 @@ TESTS="
   search-position-overlap-bug
   search-insufficient-from-quoting
   search-limiting
+  excludes
   tagging
   json
+  text
   multipart
   thread-naming
   raw
@@ -52,8 +55,14 @@ TESTS="
   python
   hooks
   argument-parsing
-  emacs-test-functions.sh
-  emacs-address-cleaning.sh
+  emacs-test-functions
+  emacs-address-cleaning
+  emacs-hello
+  emacs-show
+  missing-headers
+  hex-escaping
+  parse-time-string
+  search-date
 "
 TESTS=${NOTMUCH_TESTS:=$TESTS}
 
@@ -73,6 +82,12 @@ trap 'e=$?; kill $!; exit $e' HUP INT TERM
 for test in $TESTS; do
     $TEST_TIMEOUT_CMD ./$test "$@" &
     wait $!
+    # If the test failed without producing results, then it aborted,
+    # so we should abort, too.
+    RES=$?
+    if [[ $RES != 0 && ! -e "test-results/${test%.sh}" ]]; then
+        exit $RES
+    fi
 done
 trap - HUP INT TERM