From a731dd63fb259758fb52630f4f499357cbc727c0 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 18 Apr 2025 09:42:31 +0300 Subject: [PATCH] ; * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Comment. --- test/lisp/tab-bar-tests.el | 4 ++++ 1 file changed, 4 insertions(+) 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))))