mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
tests/leaks.sh: increase Linux tolerance again (re: 16080141
)
After the last increase from 4 to 6 bytes, there are still intermittent false leaks.sh failures (different ones on each run) on the GitHub CI runner on the 1.0 branch, which is compiled with the OS's malloc (as opposed to ast vmalloc). Increase the byte tolerance for the leaks test from 6 to 8 bytes on Linux when compiling with standard malloc.
This commit is contained in:
parent
153c4b56e8
commit
7cb9318e02
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ then N=512 # number of iterations for each test
|
|||
elif [[ -f /proc/$$/stat && $(uname) == Linux ]]
|
||||
then N=2048 # number of iterations for each test
|
||||
unit=bytes
|
||||
tolerance=$((6*N)) # tolerate 6 bytes per iteration to account for malloc artefacts
|
||||
tolerance=$((8*N)) # tolerate 8 bytes per iteration to account for malloc artefacts
|
||||
function getmem
|
||||
{
|
||||
cut -f 23 -d ' ' </proc/$$/stat
|
||||
|
|
Loading…
Reference in a new issue