X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT310-emacs.sh;h=4ca081c87daa2f79e1a6b320a38d1ec85e6d8bdc;hp=f626d9a7b7f2b7e3f5beca18fb92f513f11656ce;hb=86cbd215eb67d7b996c977352a50e70c101cb641;hpb=a8f91b74e7a52306919452e3593d2a8a1e529bd1 diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh index f626d9a7..4ca081c8 100755 --- a/test/T310-emacs.sh +++ b/test/T310-emacs.sh @@ -8,8 +8,8 @@ EXPECTED=$TEST_DIRECTORY/emacs.expected-output add_email_corpus # syntax errors in test-lib.el cause mysterious failures -test_expect_success 'Syntax of emacs test library' \ - "${TEST_EMACS} -Q --batch --load $TEST_DIRECTORY/test-lib.el" +test_begin_subtest "Syntax of emacs test library" +test_expect_success "${TEST_EMACS} -Q --batch --load $TEST_DIRECTORY/test-lib.el" test_begin_subtest "Basic notmuch-hello view in emacs" test_emacs '(notmuch-hello) @@ -983,9 +983,8 @@ test_emacs "(let ((mm-text-html-renderer # Different Emacs versions and renderers give very different results, # so just check that something reasonable showed up. We first cat the # output so the test framework will print it if the test fails. -test_expect_success "Rendering HTML mail with images" \ - 'cat OUTPUT && grep -q smiley OUTPUT' - +test_begin_subtest "Rendering HTML mail with images" +test_expect_success 'cat OUTPUT && grep -q smiley OUTPUT' test_begin_subtest "Search handles subprocess error exit codes" cat > notmuch_fail <