Skip to content

Commit 26c1e52

Browse files
committed
upgraded valgrind target with suppressions
1 parent 75f4a9d commit 26c1e52

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

tests/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ endif
135135
done
136136

137137
valgrind: $(TEST_PROGS)
138-
$(LIBTOOL) --mode=execute valgrind --leak-check=full ./test-libmongoc -f -p
138+
$(LIBTOOL) --mode=execute valgrind --leak-check=full --suppressions=$(srcdir)/valgrind.suppressions ./test-libmongoc -f -p
139139

140140
if OS_LINUX
141141
abicheck:

valgrind.suppressions

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
ignore_libcrypto_conditional_jump_errors_in_leak
3+
Memcheck:Leak
4+
...
5+
obj:*/libcrypto.so.*
6+
}
7+
{
8+
ignore_libcrypto_conditional_jump_errors_in_cond
9+
Memcheck:Cond
10+
...
11+
obj:*/libcrypto.so.*
12+
}
13+
{
14+
ignore_libssl_conditional_jump_errors_in_cond
15+
Memcheck:Cond
16+
...
17+
obj:*/libssl.so.*
18+
}
19+
{
20+
ignore_libcrypto_conditional_jump_errors_in_value8
21+
Memcheck:Value8
22+
...
23+
obj:*/libcrypto.so.*
24+
}
25+
{
26+
ingore_scram_nonce_uninitialized_warning_cond
27+
Memcheck:Cond
28+
fun:b64_ntop
29+
...
30+
fun:_mongoc_scram_step
31+
...
32+
}
33+
{
34+
ingore_scram_nonce_uninitialized_warning_value8
35+
Memcheck:Value8
36+
fun:b64_ntop
37+
...
38+
fun:_mongoc_scram_step
39+
...
40+
}
41+
{
42+
ignore_libcrypto_conditional_jump_errors_in_param
43+
Memcheck:Param
44+
sendmsg(msg.msg_iov[0])
45+
...
46+
obj:*/libcrypto.so.*
47+
}

0 commit comments

Comments
 (0)