Mercurial > vim
changeset 30543:a1b4d1dae6b1 v9.0.0607
patch 9.0.0607: verbose echo message test fails on Mac OS
Commit: https://github.com/vim/vim/commit/f802767df7b4532651fcf11d49e812ead32db45b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 27 15:55:43 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 27 Sep 2022 17:00:15 +0200 |
parents | 1fa379014510 |
children | f37a467a0e49 |
files | src/testdir/check.vim src/testdir/test_messages.vim src/version.c |
diffstat | 3 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -111,6 +111,14 @@ 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()
--- a/src/testdir/test_messages.vim +++ b/src/testdir/test_messages.vim @@ -339,7 +339,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>")