From: Bram Moolenaar Date: Thu, 26 Mar 2020 20:11:58 +0000 (+0100) Subject: patch 8.2.0457: Test_quotestar() often fails when run under valgrind X-Git-Tag: v8.2.0457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26bde6e2eb307898ab7ed42bf8e7e2ccde979e02;p=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. --- diff --git a/src/testdir/test_quotestar.vim b/src/testdir/test_quotestar.vim index 432862e87..93865869f 100644 --- 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\") 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'\") call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))}) diff --git a/src/version.c b/src/version.c index 2d29430b5..4ae2b516d 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 457, /**/ 456, /**/