Mercurial > vim
changeset 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 | 71272fdce662 |
children | 2f222239640f |
files | src/testdir/test_autochdir.vim src/testdir/test_termcodes.vim src/version.c |
diffstat | 3 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_autochdir.vim +++ b/src/testdir/test_autochdir.vim @@ -43,12 +43,12 @@ func Test_set_filename_other_window() finally set noacd call chdir(cwd) + bwipe! aaa.txt + bwipe! bbb.txt + bwipe! ccc.txt call delete('Xa', 'rf') call delete('Xb', 'rf') call delete('Xc', 'rf') - bwipe! aaa.txt - bwipe! bbb.txt - bwipe! ccc.txt endtry endfunc
--- 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