]> git.cworth.org Git - notmuch/commitdiff
test: emacs: check for configured emacs
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 15 May 2021 20:47:42 +0000 (15:47 -0500)
committerDavid Bremner <david@tethera.net>
Mon, 17 May 2021 10:28:33 +0000 (07:28 -0300)
Commit d59d9c81 (test: Make the emacsclient binary user-configurable,
2012-11-27) modified the prereq check for the configured emacsclient,
but we probably want to do the same for emacs itself.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test/test-lib.sh

index e1a597f716946b34695b5dc045b27c03c7bf6b92..5c56bc22a56fed916ebe18430fe0ca8d66231f3b 100644 (file)
@@ -116,7 +116,7 @@ unset NAME
 
 test_require_emacs () {
     local ret=0
-    test_require_external_prereq emacs || ret=1
+    test_require_external_prereq ${TEST_EMACS} || ret=1
     test_require_external_prereq ${TEST_EMACSCLIENT} || ret=1
     test_require_external_prereq dtach || ret=1
     return $ret