summaryrefslogtreecommitdiff
path: root/pactest
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-21 07:13:16 +0000
committerDan McGee <dan@archlinux.org>2007-02-21 07:13:16 +0000
commit360565662c329f73ba6ff109b560fa5030b0cee2 (patch)
tree1a2f50019d2260e9d22d41d938c3c7bb6de26e35 /pactest
parent4f9aa100a6ca77cb96370caff2a97d64ceac9afc (diff)
downloadpacman-360565662c329f73ba6ff109b560fa5030b0cee2.tar.xz
Fixed up the output a bit.
Diffstat (limited to 'pactest')
-rwxr-xr-xpactest/pmenv.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/pactest/pmenv.py b/pactest/pmenv.py
index 1665c522..456a8da6 100755
--- a/pactest/pmenv.py
+++ b/pactest/pmenv.py
@@ -100,16 +100,19 @@ class pmenv:
passed += 1
else:
print "[FAILED]",
- print test.name.strip(".py").ljust(38),
+ print test.name.strip(".py").ljust(33),
print "Rules:",
- print " OK = %2u FAIL = %2u SKIP = %2u" % (success, fail, rules-(success+fail))
+ print "OK = %2u FAIL = %2u SKIP = %2u" % \
+ (success, fail, rules - (success + fail))
print "----------"*8
total = len(self.testcases)
failed = total - passed
print "TOTAL = %3u" % total
if total:
- print "PASSED = %3u (%6.2f%%)" % (passed, float(passed)*100/total)
- print "FAILED = %3u (%6.2f%%)" % (failed, float(failed)*100/total)
+ print "PASSED = %3u (%6.2f%%)" % \
+ (passed, float(passed) * 100 / total)
+ print "FAILED = %3u (%6.2f%%)" % \
+ (failed, float(failed) * 100 / total)
print