diff options
Diffstat (limited to 'data/vim/patches/8.1.1037')
-rw-r--r-- | data/vim/patches/8.1.1037 | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.1037 b/data/vim/patches/8.1.1037 new file mode 100644 index 000000000..aa8415092 --- /dev/null +++ b/data/vim/patches/8.1.1037 @@ -0,0 +1,57 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.1037 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +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 -- Bram@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 /// |