From eed2fce5416eb8596efdfcd633c8466f7b56fd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 21 Oct 2025 13:16:27 +0200 Subject: [PATCH] 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. --- test/lisp/tab-bar-tests.el | 3 +++ 1 file changed, 3 insertions(+) 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")'.