diff options
author | Dan McGee <dan@archlinux.org> | 2012-09-18 15:36:10 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-09-18 15:36:10 +0200 |
commit | 369c5aa7ddabb81c335bb5b0dbd425c42f892459 (patch) | |
tree | 494074de2ae73c77ee51a6a84331953234cb73ae /test | |
parent | 37de9df7c048dc20522ccacaebf7e898ff20b96e (diff) | |
parent | c4ab50584fc70f9cbf94fdb1153e2eb08c4052df (diff) | |
download | pacman-369c5aa7ddabb81c335bb5b0dbd425c42f892459.tar.gz pacman-369c5aa7ddabb81c335bb5b0dbd425c42f892459.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'test')
-rw-r--r-- | test/pacman/pmtest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index 1a026864..00a0b96e 100644 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -203,9 +203,12 @@ class pmtest(object): if pacman["gdb"]: cmd.extend(["libtool", "execute", "gdb", "--args"]) if pacman["valgrind"]: + suppfile = os.path.join(os.path.dirname(__file__), + '..', '..', 'valgrind.supp') cmd.extend(["libtool", "execute", "valgrind", "-q", "--tool=memcheck", "--leak-check=full", - "--show-reachable=yes", "--suppressions=%s/valgrind.supp" % os.getcwd()]) + "--show-reachable=yes", + "--suppressions=%s" % suppfile]) cmd.extend([pacman["bin"], "--config", os.path.join(self.root, util.PACCONF), "--root", self.root, |