; * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Comment.

This commit is contained in:
Juri Linkov 2025-04-18 09:42:31 +03:00
parent 2f67352d7a
commit a731dd63fb

View file

@ -52,6 +52,10 @@
(tab-bar-tabs-set nil)) (tab-bar-tabs-set nil))
(ert-deftest tab-bar-tests-quit-restore-window () (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")) (skip-unless (or (and (eq system-type 'gnu/linux) (getenv "TERM"))
(and (not noninteractive) (and (not noninteractive)
(eq system-type 'windows-nt)))) (eq system-type 'windows-nt))))