0
0
mirror of https://github.com/vim/vim.git synced 2025-09-06 21:53:38 -04:00

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.
This commit is contained in:
Bram Moolenaar 2020-03-26 21:11:58 +01:00
parent 72749f062f
commit 26bde6e2eb
2 changed files with 4 additions and 1 deletions

View File

@ -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))})

View File

@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
457,
/**/
456,
/**/