aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMattias EngdegÄrd2025-10-21 13:16:27 +0200
committerMattias EngdegÄrd2025-10-21 13:19:07 +0200
commiteed2fce5416eb8596efdfcd633c8466f7b56fd77 (patch)
treea8b830babeae83a52968c76adcb0aee700868b5e /test
parent11915c6acb9f5463515d4f3891ad8d7134685838 (diff)
downloademacs-eed2fce5416eb8596efdfcd633c8466f7b56fd77.tar.gz
emacs-eed2fce5416eb8596efdfcd633c8466f7b56fd77.zip
Disable one tab-bar-test case on macOS
The test works when run interactively and in batch mode started from a terminal, but not from M-x compile. * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Disable on macOS when TERM=dumb.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/tab-bar-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/tab-bar-tests.el b/test/lisp/tab-bar-tests.el
index 257f6bd37d3..98bf61df177 100644
--- a/test/lisp/tab-bar-tests.el
+++ b/test/lisp/tab-bar-tests.el
@@ -56,6 +56,9 @@
56 ;; Skip test on MS-Windows in batch mode, since terminal 56 ;; Skip test on MS-Windows in batch mode, since terminal
57 ;; frames cannot be created in that case. 57 ;; frames cannot be created in that case.
58 ('windows-nt noninteractive) 58 ('windows-nt noninteractive)
59 ;; This test is unreliable on macOS when run in batch mode
60 ;; from Emacs (M-x compile).
61 ('darwin (equal (getenv "TERM") "dumb"))
59 ;; Emba runs the container without "--tty" 62 ;; Emba runs the container without "--tty"
60 ;; (the environment variable "TERM" is nil), and this 63 ;; (the environment variable "TERM" is nil), and this
61 ;; test fails with '(error "Could not open file: /dev/tty")'. 64 ;; test fails with '(error "Could not open file: /dev/tty")'.