Merge pull request #1281 from phkelley/valgrind

Improve valgrind suppressions
This commit is contained in:
Vicent Martí 2013-01-25 20:35:03 -08:00
commit 28db9f216d
2 changed files with 31 additions and 9 deletions

View File

@ -33,7 +33,7 @@ script:
# Run Tests
after_success:
- valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -ionline
- valgrind --num-callers=30 --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -ionline
# Only watch the development branch
branches:

View File

@ -1,22 +1,44 @@
{
ignore-zlib-errors-cond
Memcheck:Cond
obj:*libz.so*
ignore-zlib-errors-cond
Memcheck:Cond
obj:*libz.so*
}
{
ignore-giterr-set-leak
Memcheck:Leak
...
fun:giterr_set
ignore-giterr-set-leak
Memcheck:Leak
...
fun:giterr_set
}
{
ignore-git-global-state-leak
Memcheck:Leak
...
fun:git__global_state
}
{
ignore-openssl-ssl-leak
Memcheck:Leak
...
obj:*libssl.so*
...
fun:ssl_setup
}
{
ignore-openssl-crypto-leak
Memcheck:Leak
...
obj:*libcrypto.so*
...
fun:ssl_setup
}
{
ignore-openssl-crypto-cond
Memcheck:Cond
obj:*libcrypto.so*
...
}