mirror of
https://github.com/samba-team/samba.git
synced 2025-08-07 09:49:30 +03:00
selftest: Cope with empty testsuite results in more places.
This commit is contained in:
@ -157,7 +157,8 @@ class PlainFormatter(object):
|
||||
|
||||
for suite in self.suitesfailed:
|
||||
f.write("== %s ==\n" % suite)
|
||||
f.write(self.test_output[suite]+"\n\n")
|
||||
if suite in self.test_output:
|
||||
f.write(self.test_output[suite]+"\n\n")
|
||||
|
||||
f.write("\n")
|
||||
|
||||
@ -165,7 +166,8 @@ class PlainFormatter(object):
|
||||
for suite in self.suitesfailed:
|
||||
print "=" * 78
|
||||
print "FAIL: %s" % suite
|
||||
print self.test_output[suite]
|
||||
if suite in self.test_output:
|
||||
print self.test_output[suite]
|
||||
print ""
|
||||
|
||||
f.write("= Skipped tests =\n")
|
||||
|
Reference in New Issue
Block a user