]> git.cworth.org Git - notmuch/blobdiff - test/notmuch-test
Merge branch 'release'
[notmuch] / test / notmuch-test
index adfd589fe0765d19d575d4714f59ef4f352b6022..53ce355cae1dfeed8bd09ef9ef5df46c82e3ebad 100755 (executable)
@@ -18,6 +18,7 @@ cd $(dirname "$0")
 
 TESTS="
   basic
+  help-test
   new
   count
   search
@@ -46,6 +47,7 @@ TESTS="
   symbol-hiding
   search-folder-coherence
   atomicity
+  python
 "
 TESTS=${NOTMUCH_TESTS:=$TESTS}
 
@@ -60,10 +62,13 @@ else
     TEST_TIMEOUT_CMD=""
 fi
 
+trap 'e=$?; kill $!; exit $e' HUP INT TERM
 # Run the tests
 for test in $TESTS; do
-    $TEST_TIMEOUT_CMD ./$test "$@"
+    $TEST_TIMEOUT_CMD ./$test "$@" &
+    wait $!
 done
+trap - HUP INT TERM
 
 # Report results
 ./aggregate-results.sh test-results/*