Patch 8.0.0500
Problem:    Quotestar test is still a bit flaky.
Solution:   Add a slower check for v:version.
Files:      src/testdir/test_quotestar.vim


*** ../vim-8.0.0499/src/testdir/test_quotestar.vim      2017-03-20 
21:47:12.064090779 +0100
--- src/testdir/test_quotestar.vim      2017-03-21 18:01:58.587617523 +0100
***************
*** 53,58 ****
--- 53,62 ----
    call WaitFor('serverlist() =~ "' . name . '"')
    call assert_match(name, serverlist())
  
+   " Wait for the server to be up and answering requests.  One second is not
+   " always sufficient.
+   call WaitFor('remote_expr("' . name . '", "v:version", "", 2) != ""')
+ 
    " Clear the *-register of this vim instance.
    let @* = ''
  
***************
*** 78,85 ****
      else
        call remote_send(name, ":gui -f\<CR>")
      endif
!     " Wait for the server to be up and answering requests.
!     call WaitFor('remote_expr("' . name . '", "v:version", "", 1) != ""')
  
      call remote_send(name, ":let @* = 'maybe'\<CR>")
      call WaitFor('remote_expr("' . name . '", "@*", "", 1) == "maybe"')
--- 82,89 ----
      else
        call remote_send(name, ":gui -f\<CR>")
      endif
!     " Wait for the server in the GUI to be up and answering requests.
!     call WaitFor('remote_expr("' . name . '", "has(\"gui_running\")", "", 1) 
=~ "1"')
  
      call remote_send(name, ":let @* = 'maybe'\<CR>")
      call WaitFor('remote_expr("' . name . '", "@*", "", 1) == "maybe"')
*** ../vim-8.0.0499/src/version.c       2017-03-21 17:08:46.678923883 +0100
--- src/version.c       2017-03-21 18:00:01.576472526 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     500,
  /**/

-- 
Rule #1: Don't give somebody a tool that he's going to hurt himself with.

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui