1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Merge from Subversion

* Better report formatting
(This used to be commit e7eafa10da828b4dc46a05a99164eb8ac37563df)
This commit is contained in:
Martin Pool 2003-03-14 04:50:17 +00:00
parent 285886b3cf
commit f764518bd1

View File

@ -170,7 +170,7 @@ Output:
# Either we could not execute the command or the command
# returned exit code 127. According to system(3) we can't
# tell the difference.
raise NotRunError, "could not execute %s" % cmd
raise NotRunError, "could not execute %s" % `cmd`
return rc, output
def explain_failure(self, exc_info = None):
@ -213,7 +213,7 @@ def runtests(test_list, verbose = 0):
import traceback
ret = 0
for test_class in test_list:
print "%-60s" % _test_name(test_class),
print "%-30s" % _test_name(test_class),
# flush now so that long running tests are easier to follow
sys.stdout.flush()