X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fnotmuch-test;h=6c65ed7a282bed731cc5bd4bbf0ce5196ee84dbd;hb=6237f3808cf8552f3c59939549cd4e9d85785ac1;hp=79e6267b803252ccf92b1df2f5e7d56bdbbd7f41;hpb=c04e6f84d3de7236891696b7c6cc009e7f5e976c;p=notmuch diff --git a/test/notmuch-test b/test/notmuch-test index 79e6267b..6c65ed7a 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -19,11 +19,14 @@ cd $(dirname "$0") TESTS=" basic new + count search search-output search-by-folder search-position-overlap-bug search-insufficient-from-quoting + search-limiting + tagging json multipart thread-naming @@ -42,6 +45,7 @@ TESTS=" crypto symbol-hiding search-folder-coherence + atomicity " TESTS=${NOTMUCH_TESTS:=$TESTS} @@ -56,10 +60,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/*