• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revision92c6105e9c8e5a1602fd3eb59613f2c2970bde4f (tree)
Zeit2020-03-27 05:15:04
AutorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

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.

Ändern Zusammenfassung

Diff

diff -r 6b2983e725f3 -r 92c6105e9c8e src/testdir/test_quotestar.vim
--- a/src/testdir/test_quotestar.vim Thu Mar 26 21:00:04 2020 +0100
+++ b/src/testdir/test_quotestar.vim Thu Mar 26 21:15:04 2020 +0100
@@ -107,7 +107,8 @@
107107 call remote_send(name, ":gui -f\<CR>")
108108 endif
109109 " Wait for the server in the GUI to be up and answering requests.
110- call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))})
110+ " On some systems and with valgrind this can be very slow.
111+ call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))}, 10000)
111112
112113 call remote_send(name, ":let @* = 'maybe'\<CR>")
113114 call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})
diff -r 6b2983e725f3 -r 92c6105e9c8e src/version.c
--- a/src/version.c Thu Mar 26 21:00:04 2020 +0100
+++ b/src/version.c Thu Mar 26 21:15:04 2020 +0100
@@ -739,6 +739,8 @@
739739 static int included_patches[] =
740740 { /* Add new patch number below this line */
741741 /**/
742+ 457,
743+/**/
742744 456,
743745 /**/
744746 455,
Show on old repository browser