projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0fbdad
)
test: check if emacs is available in the beginning of test_emacs
author
Dmitry Kurochkin
<dmitry.kurochkin@gmail.com>
Sun, 27 Nov 2011 18:36:18 +0000
(22:36 +0400)
committer
David Bremner
<bremner@debian.org>
Sun, 27 Nov 2011 19:33:13 +0000
(11:33 -0800)
Unfortunately, this is needed to avoid the emacs waiting loop.
test/test-lib.sh
patch
|
blob
|
history
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
index 2422e32d9ece07aae03871fb0c81ea7b2825608c..11e66465108bb952d09443adfe0f68dbf29654e8 100644
(file)
--- a/
test/test-lib.sh
+++ b/
test/test-lib.sh
@@
-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