mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: add test for syntax of emacs test library
If there is a syntax error in the emacs test library, it causes other tests to hang or crash without a useful error message. This test could be eliminated if the error reporting for emacs tests was somehow improved.
This commit is contained in:
parent
89fe006ca4
commit
ae47d617a7
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ 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 "Basic notmuch-hello view in emacs"
|
||||
test_emacs '(notmuch-hello)
|
||||
(test-output)'
|
||||
|
|
Loading…
Reference in a new issue