aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-07 02:01:48 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-07 02:01:48 -0300
commit7edd68e635041e06ca4d21cda57a8fc5efaf1a19 (patch)
tree017d6dc58a55d6a39abd80eb3c383c759089820a
parent7ded32ad3b869b429a617367ea9af4c66a50df1e (diff)
parent88a49148b3c6a784651e9046687c4c19a74d2e6d (diff)
downloadrneovim-7edd68e635041e06ca4d21cda57a8fc5efaf1a19.tar.gz
rneovim-7edd68e635041e06ca4d21cda57a8fc5efaf1a19.tar.bz2
rneovim-7edd68e635041e06ca4d21cda57a8fc5efaf1a19.zip
Merge PR #1422 'Pass --show-possibly-lost=no to valgrind'
-rw-r--r--.valgrind.supp71
-rw-r--r--test/functional/helpers.lua1
2 files changed, 1 insertions, 71 deletions
diff --git a/.valgrind.supp b/.valgrind.supp
index e76616b85d..cad2cd9ee2 100644
--- a/.valgrind.supp
+++ b/.valgrind.supp
@@ -6,77 +6,6 @@
fun:__nss_database_lookup
}
{
- interior_ptr1
- Memcheck:Leak
- fun:malloc
- fun:try_malloc
- fun:xmalloc
- fun:ex_function
-}
-{
- interior_ptr2
- Memcheck:Leak
- fun:realloc
- fun:xrealloc
- fun:ga_grow
- fun:ex_function
-}
-{
- interior_ptr3
- Memcheck:Leak
- fun:malloc
- fun:strdup
- fun:xstrdup
- fun:vim_strsave
- fun:ex_function
-}
-{
- interior_ptr4
- Memcheck:Leak
- fun:malloc
- fun:realloc
- fun:xrealloc
- fun:ga_grow
- fun:ex_function
-}
-{
- interior_ptr5
- Memcheck:Leak
- fun:malloc
- fun:try_malloc
- fun:xmalloc
- fun:set_var
- fun:set_var_lval
-}
-{
- interior_ptr6
- Memcheck:Leak
- fun:malloc
- fun:try_malloc
- fun:xmalloc
- fun:get_lit_string_tv
- fun:eval7
-}
-{
- interior_ptr7
- Memcheck:Leak
- fun:malloc
- fun:strdup
- fun:xstrdup
- fun:vim_strsave
- fun:copy_tv
- fun:get_var_tv
- fun:eval7
-}
-{
- interior_ptr8
- Memcheck:Leak
- fun:malloc
- fun:try_malloc
- fun:xmalloc
- fun:dictitem_alloc
-}
-{
uv_spawn_with_optimizations
Memcheck:Leak
fun:malloc
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index fcef1bd621..bf6e3dd38a 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -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