X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fnotmuch-test;h=d05bb38b1287e46f84c321b41fcbc5eecb5e1a00;hb=5800a44bd5b77390d2243426f0c82de4d0495a1c;hp=79e6267b803252ccf92b1df2f5e7d56bdbbd7f41;hpb=c04e6f84d3de7236891696b7c6cc009e7f5e976c;p=notmuch diff --git a/test/notmuch-test b/test/notmuch-test index 79e6267b..d05bb38b 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -18,12 +18,16 @@ cd $(dirname "$0") TESTS=" basic + help-test 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 +46,9 @@ TESTS=" crypto symbol-hiding search-folder-coherence + atomicity + python + argument-parsing " TESTS=${NOTMUCH_TESTS:=$TESTS} @@ -56,10 +63,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/*