git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a8ac7fd
)
format-subunit: Don't show reason at all if it is None.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 31 Mar 2010 01:32:23 +0000
(
03:32
+0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 31 Mar 2010 01:32:23 +0000
(
03:32
+0200)
selftest/format-subunit
patch
|
blob
|
history
diff --git
a/selftest/format-subunit
b/selftest/format-subunit
index 2ca69c4af1cb0edebed5a6b1444f39bed5ae88c7..325741cfd748bf21acdd4bea19c1b0dd28ce50a8 100755
(executable)
--- a/
selftest/format-subunit
+++ b/
selftest/format-subunit
@@
-89,7
+89,9
@@
class PlainFormatter(object):
if result in ("success", "xfail"):
self.suites_ok+=1
else:
if result in ("success", "xfail"):
self.suites_ok+=1
else:
- self.output_msg("ERROR: Testsuite[%s]\nREASON: %s\n" % (name, reason or ''))
+ self.output_msg("ERROR: Testsuite[%s]\n")
+ if reason is not None:
+ self.output_msg("REASON: %s\n" % (name, reason or ''))
self.suitesfailed.append(name)
if self.immediate and not self.verbose:
out += self.test_output[name]
self.suitesfailed.append(name)
if self.immediate and not self.verbose:
out += self.test_output[name]