X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2Fnotmuch-test;h=53ce355cae1dfeed8bd09ef9ef5df46c82e3ebad;hb=f0e0053149bb3b51f4a0cd43371292b639f236a8;hp=79e6267b803252ccf92b1df2f5e7d56bdbbd7f41;hpb=c04e6f84d3de7236891696b7c6cc009e7f5e976c;p=notmuch diff --git a/test/notmuch-test b/test/notmuch-test index 79e6267b..53ce355c 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,8 @@ TESTS=" crypto symbol-hiding search-folder-coherence + atomicity + python " TESTS=${NOTMUCH_TESTS:=$TESTS} @@ -56,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/*