To: vim_dev@googlegroups.com Subject: Patch 8.2.0457 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0457 Problem: Test_quotestar() often fails when run under valgrind. Solution: Wait longer for the GUI to start. Files: src/testdir/test_quotestar.vim *** ../vim-8.2.0456/src/testdir/test_quotestar.vim 2019-08-12 14:09:24.000000000 +0200 --- src/testdir/test_quotestar.vim 2020-03-26 21:11:05.864281720 +0100 *************** *** 107,113 **** 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))}) call remote_send(name, ":let @* = 'maybe'\") call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))}) --- 107,114 ---- call remote_send(name, ":gui -f\") endif " Wait for the server in the GUI to be up and answering requests. ! " 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))}) *** ../vim-8.2.0456/src/version.c 2020-03-26 20:51:39.564331399 +0100 --- src/version.c 2020-03-26 21:11:32.124166591 +0100 *************** *** 740,741 **** --- 740,743 ---- { /* Add new patch number below this line */ + /**/ + 457, /**/ -- ARTHUR: You fight with the strength of many men, Sir knight. I am Arthur, King of the Britons. [pause] I seek the finest and the bravest knights in the land to join me in my Court of Camelot. [pause] You have proved yourself worthy; will you join me? [pause] You make me sad. So be it. Come, Patsy. BLACK KNIGHT: None shall pass. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///