From: Richard W.M. Jones Date: Thu, 24 Nov 2011 17:47:13 +0000 (+0000) Subject: extra-tests: Include valgrind suppressions file. X-Git-Tag: 1.15.6~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=be7cb789069afc93e7c1b0e7a1a9a293dc846d45;p=libguestfs.git extra-tests: Include valgrind suppressions file. This updates commit c55bad93fbde03a3daa6058913f02098c45e55f5. --- diff --git a/.gitignore b/.gitignore index ab5b841..60ec817 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 c91591a..72118ed 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 +}