mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.0607: verbose echo message test fails on Mac OS
Problem: Verbose echo message test fails on Mac OS.
Solution: Skip the test on Mac OS.
f802767df7
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
28ffd96c9b
commit
7f58b2bb6a
@ -108,6 +108,22 @@ func CheckNotBSD()
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" Command to check for not running on a MacOS
|
||||
command CheckNotMac call CheckNotMac()
|
||||
func CheckNotMac()
|
||||
if has('mac')
|
||||
throw 'Skipped: does not work on MacOS'
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" Command to check for not running on a MacOS M1 system.
|
||||
command CheckNotMacM1 call CheckNotMacM1()
|
||||
func CheckNotMacM1()
|
||||
if has('mac') && system('uname -a') =~ '\<arm64\>'
|
||||
throw 'Skipped: does not work on MacOS M1'
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" Command to check that making screendumps is supported.
|
||||
" Caller must source screendump.vim
|
||||
command CheckScreendump call CheckScreendump()
|
||||
|
@ -379,7 +379,8 @@ endfunc
|
||||
" Test verbose message before echo command
|
||||
func Test_echo_verbose_system()
|
||||
CheckRunVimInTerminal
|
||||
CheckUnix
|
||||
CheckUnix " needs the "seq" command
|
||||
CheckNotMac " doesn't use /tmp
|
||||
|
||||
let buf = RunVimInTerminal('', {'rows': 10})
|
||||
call term_sendkeys(buf, ":4 verbose echo system('seq 20')\<CR>")
|
||||
|
Loading…
Reference in New Issue
Block a user