diff src/testdir/test_termcodes.vim @ 26422:4397cc04f2b1 v8.2.3742

patch 8.2.3742: dec mouse test fails without gnome terminfo entry Commit: https://github.com/vim/vim/commit/f589fd3e1047cdf90566b68aaf9a13389e54d26a Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Sun Dec 5 12:39:21 2021 +0000 patch 8.2.3742: dec mouse test fails without gnome terminfo entry Problem: Dec mouse test fails without gnome terminfo entry. Solution: Check if there is a gnome entry. Also fix 'acd' test on MS-Windows. (Dominique Pell?, closes #9282)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Dec 2021 13:45:03 +0100
parents 201243ceaa18
children ac7db4437368
line wrap: on
line diff
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -2041,6 +2041,10 @@ endfunc
 
 " Check that when DEC mouse codes are recognized a special key is handled.
 func Test_ignore_dec_mouse()
+  silent !infocmp gnome >/dev/null 2>&1
+  if v:shell_error != 0
+    throw 'Skipped: gnome entry missing in the terminfo db'
+  endif
 
   new
   let save_mouse = &mouse