Patch 8.2.2601

6 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 13, 2021, 4:12:24 PM3/13/21
to vim...@googlegroups.com

Patch 8.2.2601
Problem: Memory usage test often fails on FreeBSD.
Solution: Increase multiplier for upper limit.
Files: src/testdir/test_memory_usage.vim


*** ../vim-8.2.2600/src/testdir/test_memory_usage.vim 2021-01-28 18:34:27.783630494 +0100
--- src/testdir/test_memory_usage.vim 2021-03-13 22:09:32.843048548 +0100
***************
*** 147,155 ****
" The usage may be a bit less than the last value, use 80%.
" Allow for 20% tolerance at the upper limit. That's very permissive, but
" otherwise the test fails sometimes. On Cirrus CI with FreeBSD we need to
! " be even more permissive.
if has('bsd')
! let multiplier = 15
else
let multiplier = 12
endif
--- 147,155 ----
" The usage may be a bit less than the last value, use 80%.
" Allow for 20% tolerance at the upper limit. That's very permissive, but
" otherwise the test fails sometimes. On Cirrus CI with FreeBSD we need to
! " be even much more permissive.
if has('bsd')
! let multiplier = 19
else
let multiplier = 12
endif
*** ../vim-8.2.2600/src/version.c 2021-03-13 21:24:53.044409177 +0100
--- src/version.c 2021-03-13 22:11:05.606862669 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2601,
/**/

--
BEDEVERE: And that, my lord, is how we know the Earth to be banana-shaped.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages