From: Juri Linkov Date: Fri, 18 Apr 2025 06:42:31 +0000 (+0300) Subject: ; * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Comment. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d63c0ccf57d85aa222effba18fbe2bdeb26b584f;p=emacs.git ; * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Comment. (cherry picked from commit a731dd63fb259758fb52630f4f499357cbc727c0) --- diff --git a/test/lisp/tab-bar-tests.el b/test/lisp/tab-bar-tests.el index dc8bb2ecc68..06a52ed42b1 100644 --- a/test/lisp/tab-bar-tests.el +++ b/test/lisp/tab-bar-tests.el @@ -52,6 +52,10 @@ (tab-bar-tabs-set nil)) (ert-deftest tab-bar-tests-quit-restore-window () + ;; Emba runs the container without "--tty" + ;; (the environment variable "TERM" is nil), and this + ;; test fails with '(error "Could not open file: /dev/tty")'. + ;; Therefore skip it unless it can use '(tty-type . "linux")'. (skip-unless (or (and (eq system-type 'gnu/linux) (getenv "TERM")) (and (not noninteractive) (eq system-type 'windows-nt))))