Commit 102c7f4f authored by Vitezslav Kriz's avatar Vitezslav Kriz

tests-extra: valgrind suppression for call_rcu

parent 03e0be80
{
liburcu/call_rcu
Memcheck:Leak
match-leak-kinds: possible,reachable
fun:calloc
...
fun:call_rcu_memb
}
......@@ -167,6 +167,9 @@ class Test(object):
srv.valgrind = [params.valgrind_bin] + \
params.valgrind_flags.split() + \
["--log-file=%s" % srv.valgrind_log]
suppressions_file = "%s/%s.supp" % (params.common_data_dir, server)
if os.path.isfile(suppressions_file):
srv.valgrind.append("--suppressions=%s" % suppressions_file)
self.servers.add(srv)
return srv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment