summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmtest.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-12-21 19:19:26 +0100
committerDan McGee <dan@archlinux.org>2010-12-21 21:58:17 +0100
commitfbcc42775492e5ba3df1b3235a23f23ad7faa241 (patch)
tree076897ce951214cd31ea37d6d217aeaf49beea49 /test/pacman/pmtest.py
parentf2dff0860053f45c91e4ee301fda091a6b3d7361 (diff)
downloadpacman-fbcc42775492e5ba3df1b3235a23f23ad7faa241.tar.gz
pacman-fbcc42775492e5ba3df1b3235a23f23ad7faa241.tar.xz
pactest: allow testing of package description
And modify the code to not print the full rule string if it is more than 40 characters long; truncate it instead. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/pmtest.py')
-rwxr-xr-xtest/pacman/pmtest.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index b7af5809..c70e41ae 100755
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -260,11 +260,6 @@ class pmtest:
self.result["fail"] += 1
else:
msg = "SKIP"
- print "\t[%s] %s" % (msg, i.rule)
- i.result = success
-
-
-if __name__ == "__main__":
- pass
+ print "\t[%s] %s" % (msg, i)
# vim: set ts=4 sw=4 et: