Mercurial > vim
changeset 19801:92c6105e9c8e v8.2.0457
patch 8.2.0457: Test_quotestar() often fails when run under valgrind
Commit: https://github.com/vim/vim/commit/26bde6e2eb307898ab7ed42bf8e7e2ccde979e02
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 26 21:11:58 2020 +0100
patch 8.2.0457: Test_quotestar() often fails when run under valgrind
Problem: Test_quotestar() often fails when run under valgrind.
Solution: Wait longer for the GUI to start.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 Mar 2020 21:15:04 +0100 |
parents | 6b2983e725f3 |
children | d99db17de953 |
files | src/testdir/test_quotestar.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_quotestar.vim +++ b/src/testdir/test_quotestar.vim @@ -107,7 +107,8 @@ func Do_test_quotestar_for_x11() call remote_send(name, ":gui -f\<CR>") endif " Wait for the server in the GUI to be up and answering requests. - call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))}) + " On some systems and with valgrind this can be very slow. + call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))}, 10000) call remote_send(name, ":let @* = 'maybe'\<CR>") call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})