memcheck: Add a 'make memcheck' target that runs valgrind

Checks for memory errors and leaks

https://bugzilla.gnome.org/show_bug.cgi?id=711744
This commit is contained in:
Stef Walter
2013-11-09 22:56:04 +01:00
parent fc1a1cd681
commit b9c11b1a85
4 changed files with 46 additions and 2 deletions

16
build/glib-test.supp Normal file
View File

@@ -0,0 +1,16 @@
{
glibc-tls-allocation
Memcheck:Leak
fun:calloc
fun:_dl_allocate_tls
fun:pthread_create@@GLIBC_2.2.5
...
}
{
pthread-exit
Memcheck:Leak
...
fun:pthread_exit
...
}