Mercurial > vim
diff src/testdir/test_vim9_builtin.vim @ 28710:54e33757d1ec v8.2.4879
patch 8.2.4879: screendump test may fail when using valgrind
Commit: https://github.com/vim/vim/commit/3e79427803927be42409e9e50c0a308526b83656
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 6 11:21:19 2022 +0100
patch 8.2.4879: screendump test may fail when using valgrind
Problem: Screendump test may fail when using valgrind.
Solution: Wait longer for the first screendump.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 May 2022 12:30:03 +0200 |
parents | bfd8e25fa207 |
children | c428a4e53b9c |
line wrap: on
line diff
--- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -4552,7 +4552,8 @@ func Test_win_gotoid_in_mapping() END call writefile(lines, 'Xgotoscript') let buf = RunVimInTerminal('-S Xgotoscript', #{rows: 15, wait_for_ruler: 0}) - call VerifyScreenDump(buf, 'Test_win_gotoid_1', {}) + " wait longer here, since we didn't wait for the ruler + call VerifyScreenDump(buf, 'Test_win_gotoid_1', #{wait: 3000}) call term_sendkeys(buf, "3Gvl") call VerifyScreenDump(buf, 'Test_win_gotoid_2', {})