From 8ea9a2f6fa2a98dac11466191ed989fd49fe61b2 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 18 Apr 2025 08:11:47 +0300 Subject: [PATCH] ; Allow a tab-bar test on MS-Windows * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Allow this test on MS-Windows in interactive sessions. (cherry picked from commit 58ff10138060df71fd3158159382c5dd93440a3e) --- test/lisp/tab-bar-tests.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lisp/tab-bar-tests.el b/test/lisp/tab-bar-tests.el index 33ec580b450..dc8bb2ecc68 100644 --- a/test/lisp/tab-bar-tests.el +++ b/test/lisp/tab-bar-tests.el @@ -52,7 +52,9 @@ (tab-bar-tabs-set nil)) (ert-deftest tab-bar-tests-quit-restore-window () - (skip-unless (and (eq system-type 'gnu/linux) (getenv "TERM"))) + (skip-unless (or (and (eq system-type 'gnu/linux) (getenv "TERM")) + (and (not noninteractive) + (eq system-type 'windows-nt)))) (let* ((frame-params (when noninteractive '((window-system . nil) (tty-type . "linux")))) -- 2.39.5