[PATCH 1/2] test-lib: Use --no-window-system in run_emacs to help diagnose problems.
David Edmondson
dme at dme.org
Wed Dec 28 08:18:47 PST 2011
---
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 b5e346c..41a3144 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -898,6 +898,7 @@ export NOTMUCH_CONFIG=$NOTMUCH_CONFIG
# --load Force loading of notmuch.el and test-lib.el
exec emacs --no-init-file --no-site-file \
+ --no-window-system \
--directory "$TEST_DIRECTORY/../emacs" --load notmuch.el \
--directory "$TEST_DIRECTORY" --load test-lib.el \
"\$@"
@@ -917,7 +918,6 @@ test_emacs () {
# VT100-compatible terminal -- and emacs inherits that
TERM=$ORIGINAL_TERM dtach -n "$TEST_TMPDIR/emacs-dtach-socket.$$" \
sh -c "stty rows 24 cols 80; exec '$TMP_DIRECTORY/run_emacs' \
- --no-window-system \
--eval '(setq server-name \"$server_name\")' \
--eval '(server-start)' \
--eval '(orphan-watchdog $$)'" || return
--
1.7.7.3
More information about the notmuch
mailing list