]> granicus.if.org Git - vim/commitdiff
patch 8.2.0457: Test_quotestar() often fails when run under valgrind v8.2.0457
authorBram Moolenaar <Bram@vim.org>
Thu, 26 Mar 2020 20:11:58 +0000 (21:11 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 26 Mar 2020 20:11:58 +0000 (21:11 +0100)
Problem:    Test_quotestar() often fails when run under valgrind.
Solution:   Wait longer for the GUI to start.

src/testdir/test_quotestar.vim
src/version.c

index 432862e875398b6d1f2a852304bf4be9ea816693..93865869faee6b97d0bd77e67c019fcbbfebfafd 100644 (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))})
index 2d29430b59c525ae9e7dadaa4d10fb5a45b46154..4ae2b516d248c2956dd16057bb673c0faccf07c8 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    457,
 /**/
     456,
 /**/