Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest
diff options
context:
space:
mode:
Diffstat (limited to 'pactest')
-rwxr-xr-xpactest/pmenv.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pactest/pmenv.py b/pactest/pmenv.py
index 56af2e9a..bff32e98 100755
--- a/pactest/pmenv.py
+++ b/pactest/pmenv.py
@@ -80,9 +80,9 @@ class pmenv:
t.check()
print "==> Test result"
if t.result["fail"] == 0:
- print "\tPASSED"
+ print "\tPASS"
else:
- print "\tFAILED"
+ print "\tFAIL"
print
def results(self):
@@ -104,16 +104,16 @@ class pmenv:
fail = test.result["fail"]
rules = len(test.rules)
if fail == 0:
- result = "[PASSED]"
+ result = "[PASS]"
else:
- result = "[FAILED]"
+ result = "[FAIL]"
print result,
print "%s Rules: OK = %2u FAIL = %2u SKIP = %2u" \
- % (test.testname.ljust(32), success, fail, \
+ % (test.testname.ljust(34), success, fail, \
rules - (success + fail))
if fail != 0:
# print test description if test failed
- print " ", test.description
+ print " ", test.description
print "=========="*8
print "Results"
@@ -125,10 +125,10 @@ class pmenv:
total = len(self.testcases)
failed = total - passed
- print "TOTAL = %3u" % total
+ 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 "PASS = %3u (%6.2f%%)" % (passed, float(passed) * 100 / total)
+ print "FAIL = %3u (%6.2f%%)" % (failed, float(failed) * 100 / total)
print ""
if __name__ == "__main__":