Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/pmtest.py
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-23 04:22:21 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-23 04:22:21 +0000
commit6cd69fa9ff66a3dd77f9773bd7fb62e79512f5e7 (patch)
tree456b66138b87373dae12dc6b8fe73c74f3887d4f /pactest/pmtest.py
parent8e1cdc5f8d78a1a4d3c253e8c3abf1c3d18aa7ea (diff)
* Removed a stray print statement left in there
* Fail when no tests defined * Added --manual-confirm to help with hand testing
Diffstat (limited to 'pactest/pmtest.py')
-rwxr-xr-xpactest/pmtest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pactest/pmtest.py b/pactest/pmtest.py
index f7538e04..0332f231 100755
--- a/pactest/pmtest.py
+++ b/pactest/pmtest.py
@@ -188,7 +188,9 @@ class pmtest:
cmd.append("libtool gdb --args")
if pacman["valgrind"]:
cmd.append("valgrind --tool=memcheck --leak-check=full --show-reachable=yes")
- cmd.append("%s --noconfirm --config=%s --root=%s" \
+ if not pacman["manual-confirm"]:
+ cmd.append("--noconfirm")
+ cmd.append("%s --config=%s --root=%s" \
% (pacman["bin"], os.path.join(self.root, PACCONF), self.root))
if pacman["debug"]:
cmd.append("--debug=%s" % pacman["debug"])