add suppressions for googletest

This commit is contained in:
Axel Kohlmeyer
2020-07-09 09:12:23 -04:00
parent e42342ff51
commit b3060bc48e
2 changed files with 29 additions and 1 deletions

27
tools/valgrind/GTest.supp Normal file
View File

@ -0,0 +1,27 @@
{
Run_strdup_1
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:strdup
...
fun:_ZN7testing8UnitTest3RunEv
}
{
Run_register_state_1
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:register_state
...
fun:_ZN7testing8TestSuite3RunEv.part.0
}
{
Run_register_state_2
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:register_state
...
fun:_ZN7testing8TestSuite3RunEv
}