Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
28709:903288389627 | 28710:54e33757d1ec |
---|---|
4550 call feedkeys("\<F3>\<LeftMouse>\<LeftRelease>", "xt") | 4550 call feedkeys("\<F3>\<LeftMouse>\<LeftRelease>", "xt") |
4551 endfunc | 4551 endfunc |
4552 END | 4552 END |
4553 call writefile(lines, 'Xgotoscript') | 4553 call writefile(lines, 'Xgotoscript') |
4554 let buf = RunVimInTerminal('-S Xgotoscript', #{rows: 15, wait_for_ruler: 0}) | 4554 let buf = RunVimInTerminal('-S Xgotoscript', #{rows: 15, wait_for_ruler: 0}) |
4555 call VerifyScreenDump(buf, 'Test_win_gotoid_1', {}) | 4555 " wait longer here, since we didn't wait for the ruler |
4556 call VerifyScreenDump(buf, 'Test_win_gotoid_1', #{wait: 3000}) | |
4556 call term_sendkeys(buf, "3Gvl") | 4557 call term_sendkeys(buf, "3Gvl") |
4557 call VerifyScreenDump(buf, 'Test_win_gotoid_2', {}) | 4558 call VerifyScreenDump(buf, 'Test_win_gotoid_2', {}) |
4558 | 4559 |
4559 call term_sendkeys(buf, ":call Click()\<CR>") | 4560 call term_sendkeys(buf, ":call Click()\<CR>") |
4560 call VerifyScreenDump(buf, 'Test_win_gotoid_3', {}) | 4561 call VerifyScreenDump(buf, 'Test_win_gotoid_3', {}) |