Add valgrind suppression file to testcases
The suppression file makes valgrind output more readable by hiding reports of memory leaks for GObject-related initialization functions in Pango and Cairo.
This commit is contained in:
committed by
Michael Stapelberg
parent
192b67df18
commit
9b03be644f
37
testcases/valgrind.supp
Normal file
37
testcases/valgrind.supp
Normal file
@ -0,0 +1,37 @@
|
||||
#
|
||||
# Valgrind suppression file for i3 testcases
|
||||
#
|
||||
# Format specification:
|
||||
# http://valgrind.org/docs/manual/manual-core.html#manual-core.suppress
|
||||
#
|
||||
|
||||
#
|
||||
# GLib
|
||||
#
|
||||
{
|
||||
Ignore fundamental GType registration
|
||||
Memcheck:Leak
|
||||
...
|
||||
fun:g_type_register_fundamental
|
||||
...
|
||||
}
|
||||
|
||||
{
|
||||
Ignore static GType registration
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: possible
|
||||
...
|
||||
fun:g_type_register_static
|
||||
...
|
||||
}
|
||||
|
||||
{
|
||||
Ignore GObject init function
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: possible
|
||||
...
|
||||
obj:/usr/lib/libgobject-2.0*
|
||||
...
|
||||
fun:call_init.part.0
|
||||
...
|
||||
}
|
Reference in New Issue
Block a user