diff --git a/test/Jamfile b/test/Jamfile index 22f85c2f2..9d28cd6e4 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -96,7 +96,7 @@ project ; feature launcher : none valgrind : composite ; -feature.compose valgrind : "valgrind --tool=memcheck -v --num-callers=20 --read-var-info=yes --track-origins=yes --error-exitcode=222" on ; +feature.compose valgrind : "valgrind --tool=memcheck -v --num-callers=20 --read-var-info=yes --track-origins=yes --error-exitcode=222 --suppressions=valgrind_suppressions.txt" on ; test-suite libtorrent : [ run test_bitfield.cpp ] diff --git a/test/valgrind_suppressions.txt b/test/valgrind_suppressions.txt new file mode 100644 index 000000000..45b46f4fa --- /dev/null +++ b/test/valgrind_suppressions.txt @@ -0,0 +1,8 @@ +{ + openssl_asn_uninitialized_length + Memcheck:ASN1_STRING_set + fun:ASN1_STRING_set + fun:ASN1_mbstring_ncopy + fun:ASN1_mbstring_copy + fun:ASN1_STRING_to_UTF8 +}