summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--Makefile.am3
-rw-r--r--tests/extra/Makefile.am3
-rw-r--r--valgrind-suppressions (renamed from tests/extra/suppressions)21
3 files changed, 24 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 6a32d69f..e0932107 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -157,7 +157,8 @@ EXTRA_DIST = \
logo/fish.svg logo/fish.png \
m4/.gitignore \
tmp/.gitignore \
- update-bugs.sh
+ update-bugs.sh \
+ valgrind-suppressions
# The website.
HTMLFILES = \
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/valgrind-suppressions
index 6dc235b2..ca98c7ce 100644
--- a/tests/extra/suppressions
+++ b/valgrind-suppressions
@@ -1,3 +1,24 @@
+# libguestfs
+# Copyright (C) 2009-2012 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+# Valgrind suppressions used when testing only. There are no known
+# resource leaks in libguestfs. This file is only for leaks in
+# libraries that libguestfs uses.
+
# libnuma
{
libnuma_numa_node_size64_cond