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 @@ ;; Skip test on MS-Windows in batch mode, since terminal ;; frames cannot be created in that case. ('windows-nt noninteractive) + ;; This test is unreliable on macOS when run in batch mode + ;; from Emacs (M-x compile). + ('darwin (equal (getenv "TERM") "dumb")) ;; Emba runs the container without "--tty" ;; (the environment variable "TERM" is nil), and this ;; test fails with '(error "Could not open file: /dev/tty")'.