Patch 8.1.1037
Problem: Memory usage test may still fail on some systems.
Solution: Increase tolerance from 3% to 20%.
Files: src/testdir/test_memory_usage.vim
*** ../vim-8.1.1036/src/testdir/test_memory_usage.vim 2019-03-22
11:33:04.445160178 +0100
--- src/testdir/test_memory_usage.vim 2019-03-22 14:36:02.166938817 +0100
***************
*** 138,146 ****
endfor
" The usage may be a bit less than the last value, use 80%.
! " Allow for 3% tolerance at the upper limit.
let lower = before * 8 / 10
! let upper = (after.max + (after.last - before)) * 103 / 100
call assert_inrange(lower, upper, last)
call vim.stop()
--- 138,147 ----
endfor
" 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.
let lower = before * 8 / 10
! let upper = (after.max + (after.last - before)) * 12 / 10
call assert_inrange(lower, upper, last)
call vim.stop()
*** ../vim-8.1.1036/src/version.c 2019-03-22 14:16:02.877160892 +0100
--- src/version.c 2019-03-22 14:36:39.330677890 +0100
***************
*** 781,782 ****
--- 781,784 ----
{ /* Add new patch number below this line */
+ /**/
+ 1037,
/**/
--
>From "know your smileys":
:.-( Crying
/// 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.