From 006607dea29e6b67fa35d7cd3086e00213890a8b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 24 Nov 2011 17:47:13 +0000 Subject: [PATCH] extra-tests: Include valgrind suppressions file. This updates commit c55bad93fbde03a3daa6058913f02098c45e55f5. (cherry picked from commit be7cb789069afc93e7c1b0e7a1a9a293dc846d45) --- .gitignore | 1 - extratests/Makefile.am | 2 ++ extratests/suppressions | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 extratests/suppressions diff --git a/.gitignore b/.gitignore index 7db8af6..ead7cbf 100644 --- a/.gitignore +++ b/.gitignore @@ -94,7 +94,6 @@ examples/stamp-guestfs-examples.pod examples/stamp-guestfs-recipes.pod examples/stamp-guestfs-testing.pod examples/virt-dhcp-address -extratests/suppressions extratests/valgrind.log fish/cmds.c fish/cmds_gperf.c diff --git a/extratests/Makefile.am b/extratests/Makefile.am index 9f8433c..382ee5d 100644 --- a/extratests/Makefile.am +++ b/extratests/Makefile.am @@ -25,6 +25,8 @@ # # These tests may fail for reasons which aren't necessarily real problems. +EXTRA_DIST = suppressions + VG = ../run \ valgrind \ --log-file=valgrind.log \ diff --git a/extratests/suppressions b/extratests/suppressions new file mode 100644 index 0000000..44fb771 --- /dev/null +++ b/extratests/suppressions @@ -0,0 +1,46 @@ +{ + libnuma_numa_node_size64_cond + Memcheck:Cond + fun:* + fun:numa_node_size64 + fun:numa_init +} +{ + libnuma_numa_node_size64_cond_2 + Memcheck:Cond + fun:numa_node_size64 + fun:numa_init +} +{ + libnuma_numa_node_size64_value8 + Memcheck:Value8 + fun:numa_node_size64 + fun:numa_init +} + +{ + libnl_add_routing_table_name_leak + Memcheck:Leak + fun:malloc + fun:strdup + fun:add_routing_table_name +} +{ + libnl_add_routing_table_name_leak_2 + Memcheck:Leak + fun:calloc + fun:add_routing_table_name +} +{ + libnl_add_proto_name_leak + Memcheck:Leak + fun:malloc + fun:strdup + fun:add_proto_name +} +{ + libnl_add_proto_name_leak_2 + Memcheck:Leak + fun:calloc + fun:add_proto_name +} -- 1.8.3.1