]> git.eshelyaron.com Git - emacs.git/commitdiff
Adapt tab-bar-tests-quit-restore-window for emba.
authorJuri Linkov <juri@linkov.net>
Thu, 17 Apr 2025 18:04:02 +0000 (21:04 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 18 Apr 2025 06:46:53 +0000 (08:46 +0200)
* 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)

test/lisp/tab-bar-tests.el

index 81555dad171925321e792a632a968e7f32fac397..3f9ee3aa4b71dff6926f6d6064a149a7d6b3ecf9 100644 (file)
@@ -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"))))