summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-12-02 18:06:00 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-12-02 18:06:00 +0100
commit8413e9513830181994dba891bcd2c9bc570d7ec3 (patch)
treec12cbc62531434fa60deae0ee887608f958d23bc
parent4b3eb928fed4b236d1ae06ae7d9d51a4466554d2 (diff)
downloademacs-8413e9513830181994dba891bcd2c9bc570d7ec3.tar.gz
; server-test CI debugging
-rw-r--r--test/lisp/server-tests.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lisp/server-tests.el b/test/lisp/server-tests.el
index c7813e2aefc..f08c5bce5d5 100644
--- a/test/lisp/server-tests.el
+++ b/test/lisp/server-tests.el
@@ -25,8 +25,8 @@
(defconst server-tests/can-create-frames-p
(and (not (memq system-type '(windows-nt ms-dos)))
- ;; TERM=dumb is what we get when running from `compile'.
- (not (equal (getenv "TERM") "dumb")))
+ nil
+ (not (member (getenv "TERM") '("dumb" "" nil))))
"Non-nil if we can create a new frame in the tests.
Some tests below need to create new frames for the emacsclient.
However, this doesn't work on all platforms. In particular,
@@ -119,6 +119,8 @@ process's status matches it."
(ert-deftest server-tests/server-start/sets-minor-mode ()
"Ensure that calling `server-start' also sets `server-mode' properly."
+ (message "TERM=%S" (getenv "TERM"))
+ (should nil)
(server-tests/with-server
;; Make sure starting the server activates the minor mode.
(should (eq server-mode t))