summaryrefslogtreecommitdiffstats
path: root/src/testdir/runtest.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-21 21:41:41 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-21 21:41:41 +0100
commit4b2ce1297e6e991bf6a674f9465d26d28e648de7 (patch)
tree6abf104f97f79d70a996ba7ebc0492c54907d9f9 /src/testdir/runtest.vim
parent5546688fb6798d37a770f366c13dedfa7e4cb417 (diff)
patch 8.2.2030: some tests fail on Macv8.2.2030
Problem: Some tests fail on Mac. Solution: Avoid Mac test failures. Add additional test for wildmenu. (Yegappan Lakshmanan, closes #7341)
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r--src/testdir/runtest.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index 6b09b975de..369d931f16 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -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