1
0
forked from aniani/vim

patch 8.2.2030: some tests fail on Mac

Problem:    Some tests fail on Mac.
Solution:   Avoid Mac test failures.  Add additional test for wildmenu.
            (Yegappan Lakshmanan, closes #7341)
This commit is contained in:
Bram Moolenaar
2020-11-21 21:41:41 +01:00
parent 5546688fb6
commit 4b2ce1297e
5 changed files with 48 additions and 3 deletions

View File

@@ -136,6 +136,13 @@ else
let s:t_normal = &t_me
endif
if has('mac')
" In MacOS, when starting a shell in a terminal, a bash deprecation warning
" message is displayed. This breaks the terminal test. Disable the warning
" message.
let $BASH_SILENCE_DEPRECATION_WARNING = 1
endif
" Prepare for calling test_garbagecollect_now().
let v:testing = 1