From 360565662c329f73ba6ff109b560fa5030b0cee2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 21 Feb 2007 07:13:16 +0000 Subject: Fixed up the output a bit. --- pactest/pmenv.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'pactest') 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 -- cgit v1.2.3-70-g09d2