]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix tab-bar-tests on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Tue, 15 Apr 2025 06:45:16 +0000 (09:45 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 16 Apr 2025 07:34:39 +0000 (09:34 +0200)
* test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window):
Skip test on MS-Windows in batch mode, since terminal frames
cannot be created in that case.

(cherry picked from commit c3fe19aab90c3da68e9a8a48dbfb011317041d1a)

test/lisp/tab-bar-tests.el

index a26d15ce977de514ce62772cdc4ea2a60f7a235a..450713ce22877078719441dd18f241f8d7b2ef2a 100644 (file)
@@ -52,6 +52,7 @@
   (tab-bar-tabs-set nil))
 
 (ert-deftest tab-bar-tests-quit-restore-window ()
+  (skip-when (and noninteractive (eq system-type 'windows-nt)))
   (let* ((frame-params (when noninteractive
                          '((window-system . nil)
                            (tty-type . "linux"))))