mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 18:11:47 +00:00
test: Pass --show-possibly-lost=no to valgrind in helpers.lua
This command-line flag will suppress all warnings about interior pointers, which are used in hashtab.c.
This commit is contained in:
@@ -11,6 +11,7 @@ if os.getenv('VALGRIND') then
|
||||
local log_file = os.getenv('VALGRIND_LOG') or 'valgrind-%p.log'
|
||||
local valgrind_argv = {'valgrind', '-q', '--tool=memcheck',
|
||||
'--leak-check=yes', '--track-origins=yes',
|
||||
'--show-possibly-lost=no',
|
||||
'--suppressions=.valgrind.supp',
|
||||
'--log-file='..log_file}
|
||||
if os.getenv('VALGRIND_GDB') then
|
||||
|
||||
Reference in New Issue
Block a user