From ce96f39ac9313a3583f346adfd2c709a658fae58 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Sun, 17 Oct 2010 12:16:03 +0200 Subject: pactest: use valgrind.supp file Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- test/pacman/pmtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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), -- cgit v1.2.3-70-g09d2