Patch 8.0.1667
Problem:    Terminal window tests are flaky.
Solution:   Increase the waiting time for Vim to start.
Files:      src/testdir/screendump.vim


*** ../vim-8.0.1666/src/testdir/screendump.vim  2018-03-29 17:40:42.607415702 
+0200
--- src/testdir/screendump.vim  2018-04-06 20:17:04.233652369 +0200
***************
*** 59,66 ****
    let buf = term_start(cmd, {'curwin': 1, 'term_rows': rows, 'term_cols': 
cols})
    call assert_equal([rows, cols], term_getsize(buf))
  
!   " Wait for the ruler (in the status line) to be shown.
!   call WaitFor({-> len(term_getline(buf, rows)) >= cols - 1})
  
    return buf
  endfunc
--- 59,67 ----
    let buf = term_start(cmd, {'curwin': 1, 'term_rows': rows, 'term_cols': 
cols})
    call assert_equal([rows, cols], term_getsize(buf))
  
!   " Wait for "All" of the ruler in the status line to be shown.
!   " This can be quite slow (e.g. when using valgrind), wait up to 4 seconds.
!   call WaitFor({-> len(term_getline(buf, rows)) >= cols - 1}, 4000)
  
    return buf
  endfunc
*** ../vim-8.0.1666/src/version.c       2018-04-05 22:59:47.278555923 +0200
--- src/version.c       2018-04-06 20:21:27.195796852 +0200
***************
*** 764,765 ****
--- 764,767 ----
  {   /* Add new patch number below this line */
+ /**/
+     1667,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
111. You and your friends get together regularly on IRC, even though
     all of you live in the same city.

 /// Bram Moolenaar -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui