[PATCH 2/2] test-lib: Allow the user to override which emacs binary is used.
David Edmondson
dme at dme.org
Wed Dec 28 08:18:48 PST 2011
Specify when running the tests:
make EMACS=emacs23 test
---
test/test-lib.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 41a3144..53aa885 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -897,7 +897,7 @@ export NOTMUCH_CONFIG=$NOTMUCH_CONFIG
#
# --load Force loading of notmuch.el and test-lib.el
-exec emacs --no-init-file --no-site-file \
+exec ${EMACS:-emacs} --no-init-file --no-site-file \
--no-window-system \
--directory "$TEST_DIRECTORY/../emacs" --load notmuch.el \
--directory "$TEST_DIRECTORY" --load test-lib.el \
--
1.7.7.3
More information about the notmuch
mailing list