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

@ -12,11 +12,33 @@
}
{
ignore-git-global-state-leak
Memcheck:Leak
...
obj:*libssl.so*
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*
...
}