summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-11-24 17:47:13 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-11-24 21:12:42 +0000
commit006607dea29e6b67fa35d7cd3086e00213890a8b (patch)
tree63c9fbac39a21588822f4e0af9d8820de4ce6e45
parentdb17f3793a6eeed9ab676755c245a53fdff0a23d (diff)
downloadlibguestfs-006607dea29e6b67fa35d7cd3086e00213890a8b.tar.gz
libguestfs-006607dea29e6b67fa35d7cd3086e00213890a8b.tar.xz
libguestfs-006607dea29e6b67fa35d7cd3086e00213890a8b.zip
extra-tests: Include valgrind suppressions file.
This updates commit c55bad93fbde03a3daa6058913f02098c45e55f5. (cherry picked from commit be7cb789069afc93e7c1b0e7a1a9a293dc846d45)
-rw-r--r--.gitignore1
-rw-r--r--extratests/Makefile.am2
-rw-r--r--extratests/suppressions46
3 files changed, 48 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 7db8af69..ead7cbf2 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 9f8433c5..382ee5dd 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 00000000..44fb771d
--- /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
+}