summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-10-17 12:16:03 +0200
committerDan McGee <dan@archlinux.org>2010-10-18 23:51:38 +0200
commitce96f39ac9313a3583f346adfd2c709a658fae58 (patch)
treee968d1aaa216c404829fdd49da4c2e854a359893
parent8f2eaa51c2705a066da3d18af287ec6e0d80c032 (diff)
downloadpacman-ce96f39ac9313a3583f346adfd2c709a658fae58.tar.gz
pacman-ce96f39ac9313a3583f346adfd2c709a658fae58.tar.xz
pactest: use valgrind.supp file
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rwxr-xr-xtest/pacman/pmtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index c4769298..b7af5809 100755
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -202,7 +202,7 @@ class pmtest:
if pacman["gdb"]:
cmd.append("libtool execute gdb --args")
if pacman["valgrind"]:
- cmd.append("valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes")
+ cmd.append("valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes --suppressions=%s/valgrind.supp" % os.getcwd())
cmd.append("\"%s\" --config=\"%s\" --root=\"%s\" --dbpath=\"%s\" --cachedir=\"%s\"" \
% (pacman["bin"],
os.path.join(self.root, PACCONF),