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)
This commit is contained in:
Dominique Pelle
2021-12-05 12:39:21 +00:00
committed by Bram Moolenaar
parent e031fe90cf
commit f589fd3e10
3 changed files with 9 additions and 3 deletions

View File

@ -43,12 +43,12 @@ func Test_set_filename_other_window()
finally
set noacd
call chdir(cwd)
call delete('Xa', 'rf')
call delete('Xb', 'rf')
call delete('Xc', 'rf')
bwipe! aaa.txt
bwipe! bbb.txt
bwipe! ccc.txt
call delete('Xa', 'rf')
call delete('Xb', 'rf')
call delete('Xc', 'rf')
endtry
endfunc

View File

@ -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

View File

@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3742,
/**/
3741,
/**/