X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fnotmuch-test;h=bbabf288b2226c2120e055ec139f0b25ef2895db;hp=9f58c129206d42e0005522ba6dc8d321181cda30;hb=ed20210b6db0b237d48765351cb99b87be7a0509;hpb=627d752501b42326b9016271de33a6cb0fa2dc8c diff --git a/test/notmuch-test b/test/notmuch-test index 9f58c129..bbabf288 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -24,6 +24,7 @@ TESTS=" search-by-folder search-position-overlap-bug search-insufficient-from-quoting + tagging json multipart thread-naming @@ -40,15 +41,26 @@ TESTS=" emacs-large-search-buffer maildir-sync crypto + symbol-hiding + search-folder-coherence + atomicity " TESTS=${NOTMUCH_TESTS:=$TESTS} # Clean up any results from a previous run rm -r test-results >/dev/null 2>/dev/null +# test for timeout utility +if command -v timeout >/dev/null; then + TEST_TIMEOUT_CMD="timeout 2m " + echo "INFO: using 2 minute timeout for tests" +else + TEST_TIMEOUT_CMD="" +fi + # Run the tests for test in $TESTS; do - ./$test "$@" + $TEST_TIMEOUT_CMD ./$test "$@" done # Report results