forked from aniani/vim
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:
@@ -107,7 +107,8 @@ func Do_test_quotestar_for_x11()
|
|||||||
call remote_send(name, ":gui -f\<CR>")
|
call remote_send(name, ":gui -f\<CR>")
|
||||||
endif
|
endif
|
||||||
" Wait for the server in the GUI to be up and answering requests.
|
" 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 remote_send(name, ":let @* = 'maybe'\<CR>")
|
||||||
call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})
|
call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})
|
||||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
457,
|
||||||
/**/
|
/**/
|
||||||
456,
|
456,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user