From: Juri Linkov Date: Thu, 17 Apr 2025 18:04:02 +0000 (+0300) Subject: Adapt tab-bar-tests-quit-restore-window for emba. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a49a8f652c1eb1420c0dc19c543ed942b0f74eb;p=emacs.git Adapt tab-bar-tests-quit-restore-window for emba. * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Skip unless system-type is 'gnu/linux' and "TERM" is non-nil that is nil on emba. (cherry picked from commit 054a181d2d0890b7c299c0279d0c16e25130ef7e) --- diff --git a/test/lisp/tab-bar-tests.el b/test/lisp/tab-bar-tests.el index 81555dad171..3f9ee3aa4b7 100644 --- a/test/lisp/tab-bar-tests.el +++ b/test/lisp/tab-bar-tests.el @@ -52,7 +52,7 @@ (tab-bar-tabs-set nil)) (ert-deftest tab-bar-tests-quit-restore-window () - (skip-when (and noninteractive (eq system-type 'windows-nt))) + (skip-unless (and (eq system-type 'gnu/linux) (getenv "TERM"))) (let* ((frame-params (when noninteractive '((window-system . nil) (tty-type . "linux"))))