Patch 8.2.0062
Problem:    Memory test is flaky on FreeBSD.
Solution:   Add a short sleep before getting the first size.
Files:      src/testdir/test_memory_usage.vim


*** ../vim-8.2.0061/src/testdir/test_memory_usage.vim   2019-08-07 
22:05:40.000000000 +0200
--- src/testdir/test_memory_usage.vim   2019-12-30 19:53:26.055751369 +0100
***************
*** 133,138 ****
--- 133,140 ----
  
    let vim = s:vim_new()
    call vim.start('--clean', '-c', 'set noswapfile', testfile)
+   " Wait a bit until the process has started and sourced the script.
+   sleep 200m
    let before = s:monitor_memory_usage(vim.pid).last
  
    call term_sendkeys(vim.buf, ":so %\<CR>")
*** ../vim-8.2.0061/src/version.c       2019-12-30 19:19:48.686098272 +0100
--- src/version.c       2019-12-30 19:58:58.918617790 +0100
***************
*** 744,745 ****
--- 744,747 ----
  {   /* Add new patch number below this line */
+ /**/
+     62,
  /**/

-- 
FATHER:    You killed eight wedding guests in all!
LAUNCELOT: Er, Well ... the thing is ... I thought your son was a lady.
FATHER:    I can understand that.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201912301859.xBUIxqSM005557%40masaka.moolenaar.net.

Raspunde prin e-mail lui