mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
test: check if emacs is available in the beginning of test_emacs
Unfortunately, this is needed to avoid the emacs waiting loop.
This commit is contained in:
parent
f0fbdad04b
commit
5af65f65e8
1 changed files with 4 additions and 0 deletions
|
@ -894,6 +894,10 @@ EOF
|
|||
}
|
||||
|
||||
test_emacs () {
|
||||
# test dependencies beforehand to avoid the waiting loop below
|
||||
test_require_external_prereq emacs || return
|
||||
test_require_external_prereq emacsclient || return
|
||||
|
||||
if [ -z "$EMACS_SERVER" ]; then
|
||||
server_name="notmuch-test-suite-$$"
|
||||
# start a detached session with an emacs server
|
||||
|
|
Loading…
Reference in a new issue