summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2013-01-25 23:24:13 -0500
committerPhilip Kelley <phkelley@hotmail.com>2013-01-25 23:24:13 -0500
commit5026aec2b328c9fa2d04484b06becc7c31d04fe1 (patch)
treeccde4942c35d413c3c5fee443586b340fb862f4c
parentcfc39f5078ecea864d78d349264eb259d4604363 (diff)
downloadlibgit2-5026aec2b328c9fa2d04484b06becc7c31d04fe1.tar.gz
Improve valgrind suppressions
-rw-r--r--.travis.yml4
-rw-r--r--libgit2_clar.supp36
2 files changed, 31 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 32b1446b8..f0fd51cd1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,13 +33,13 @@ 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:
only:
- development
-
+
# Notify development list when needed
notifications:
irc:
diff --git a/libgit2_clar.supp b/libgit2_clar.supp
index b0c9c680b..8942fec7f 100644
--- a/libgit2_clar.supp
+++ b/libgit2_clar.supp
@@ -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*
+ ...
}