To: vim_dev@googlegroups.com Subject: Patch 8.2.2601 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- 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 ///