summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-11-12 15:06:44 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-11-12 15:49:08 +0000
commite884abfd06f3f06eab3f8db9843367ab62f7e9e9 (patch)
treee74b63d140d0d79eab93812f5e24a3e8e25c982f /tests
parentb2663be064dd369d96259d2bc2ed54ffe616e595 (diff)
downloadlibguestfs-e884abfd06f3f06eab3f8db9843367ab62f7e9e9.tar.gz
libguestfs-e884abfd06f3f06eab3f8db9843367ab62f7e9e9.tar.xz
libguestfs-e884abfd06f3f06eab3f8db9843367ab62f7e9e9.zip
extra-tests: Move valgrind suppressions file to top source directory.
This is just code motion.
Diffstat (limited to 'tests')
-rw-r--r--tests/extra/Makefile.am3
-rw-r--r--tests/extra/suppressions215
2 files changed, 1 insertions, 217 deletions
diff --git a/tests/extra/Makefile.am b/tests/extra/Makefile.am
index 4cc993a8..d171efe2 100644
--- a/tests/extra/Makefile.am
+++ b/tests/extra/Makefile.am
@@ -59,7 +59,6 @@ abs_builddir ?= $(shell pwd)
EXTRA_DIST = \
pick-guests.pl \
- suppressions \
test-with-launch-appliance.sh \
test-with-upstream-libvirt.sh \
test-with-upstream-qemu.sh
@@ -69,7 +68,7 @@ VG = $(VALGRIND) \
--log-file=$(abs_builddir)/valgrind.log \
--leak-check=full \
--error-exitcode=119 \
- --suppressions=$(abs_srcdir)/suppressions
+ --suppressions=$(abs_top_srcdir)/valgrind-suppressions
RUN_VG = $(abs_top_builddir)/run $(VG)
libvirt_uri = qemu+unix:///system?socket=/var/run/libvirt/libvirt-sock-ro
diff --git a/tests/extra/suppressions b/tests/extra/suppressions
deleted file mode 100644
index 6dc235b2..00000000
--- a/tests/extra/suppressions
+++ /dev/null
@@ -1,215 +0,0 @@
-# libnuma
-{
- 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_cond_3
- Memcheck:Cond
- fun:*
- fun:numa_node_size64
- obj:/usr/lib64/libnuma.so.1
-}
-{
- libnuma_numa_node_size64_cond_4
- Memcheck:Cond
- fun:numa_node_size64
- obj:/usr/lib64/libnuma.so.1
-}
-{
- libnuma_numa_node_size64_value8
- Memcheck:Value8
- fun:numa_node_size64
- fun:numa_init
-}
-{
- libnuma_numa_node_size64_value8_2
- Memcheck:Value8
- fun:numa_node_size64
- obj:/usr/lib64/libnuma.so.1
-}
-
-# libnl
-{
- 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
-}
-{
- libnl1_malloc_leak
- Memcheck:Leak
- fun:malloc
- fun:strdup
- obj:/usr/lib/libnl.so.1.1
-}
-{
- libnl1_malloc_leak_2
- Memcheck:Leak
- fun:malloc
- fun:strdup
- obj:/lib64/libnl.so.1.1
-}
-{
- libnl1_malloc_leak_3
- Memcheck:Leak
- fun:malloc
- fun:strdup
- obj:/usr/lib64/libnl.so.1.1
-}
-{
- libnl1_calloc_leak
- Memcheck:Leak
- fun:calloc
- obj:/usr/lib/libnl.so.1.1
-}
-{
- libnl1_calloc_leak_2
- Memcheck:Leak
- fun:calloc
- obj:/lib64/libnl.so.1.1
-}
-{
- libnl1_calloc_leak_3
- Memcheck:Leak
- fun:calloc
- obj:/usr/lib64/libnl.so.1.1
-}
-
-# OCaml, by design, doesn't bother to free the major heap before
-# calling exit. Ignore that leak.
-{
- ocaml_heap_leak
- Memcheck:Leak
- ...
- fun:caml_alloc_for_heap
-}
-# On the other hand, these seem to be a real bugs in OCaml:
-{
- ocaml_heap_leak_2
- Memcheck:Leak
- fun:malloc
- fun:caml_thread_new_descriptor
- fun:caml_thread_new
-}
-{
- ocaml_heap_leak_3
- Memcheck:Leak
- fun:malloc
- fun:caml_thread_new_descriptor
- fun:caml_thread_initialize
-}
-{
- ocaml_heap_leak_4
- Memcheck:Leak
- ...
- fun:pthread_create*
- ...
- fun:caml_thread_new
-}
-{
- ocaml_heap_leak_5
- Memcheck:Leak
- fun:malloc
- fun:caml_stat_alloc
- fun:caml_threadstatus_new
-}
-{
- ocaml_heap_leak_6
- Memcheck:Leak
- fun:malloc
- fun:caml_stat_alloc
- fun:caml_search_in_path
-}
-{
- ocaml_heap_leak_7
- Memcheck:Leak
- fun:malloc
- ...
- fun:caml_build_primitive_table
-}
-
-# glibc
-{
- glibc_cond
- Memcheck:Cond
- fun:index
- fun:expand_dynamic_string_token
-}
-
-# libvirt calls gnutls_global_init but doesn't call the
-# corresponding gnutls_global_deinit function because of
-# thread-safety issues (in GnuTLS).
-{
- libvirt_leak_1
- Memcheck:Leak
- ...
- fun:gnutls_global_init
- fun:virInitialize
-}
-
-# RHBZ#847429
-{
- libvirt_leak_2
- Memcheck:Leak
- ...
- fun:tryLoadOne
- fun:VBoxCGlueInit
- fun:vboxRegister
- fun:virInitialize
- fun:init_libguestfs
-}
-
-# FUSE leaks the per-thread context (although the code looks
-# like it attempts to clean it up). In older fuse, it uses
-# malloc. In newer fuse it uses calloc.
-{
- fuse_leak_1
- Memcheck:Leak
- fun:malloc
- fun:fuse_get_context_internal
-}
-
-{
- fuse_leak_2
- Memcheck:Leak
- fun:calloc
- fun:fuse_get_context_internal
-}
-
-# ld-*.so
-{
- ld_leak
- Memcheck:Leak
- ...
- fun:_dl_init
-}