0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.2601: memory usage test often fails on FreeBSD

Problem:    Memory usage test often fails on FreeBSD.
Solution:   Increase multiplier for upper limit.
This commit is contained in:
Bram Moolenaar
2021-03-13 22:11:51 +01:00
parent 93e1cae739
commit 6bce5856b5
2 changed files with 4 additions and 2 deletions

View File

@@ -147,9 +147,9 @@ func Test_memory_func_capture_lvars()
" The usage may be a bit less than the last value, use 80%. " 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 " 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 " otherwise the test fails sometimes. On Cirrus CI with FreeBSD we need to
" be even more permissive. " be even much more permissive.
if has('bsd') if has('bsd')
let multiplier = 15 let multiplier = 19
else else
let multiplier = 12 let multiplier = 12
endif endif

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2601,
/**/ /**/
2600, 2600,
/**/ /**/