summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-18 00:01:48 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-18 01:40:20 +0200
commit11ec2916a7ba937aa09057a3a6b990bd29476cc4 (patch)
tree4e7bbd6a08120ffafec78cd86366b1977a1d1029
parentf7f1a3a4516528be8722bb416428c8abb4bab652 (diff)
downloadsamba-11ec2916a7ba937aa09057a3a6b990bd29476cc4.tar.gz
samba-11ec2916a7ba937aa09057a3a6b990bd29476cc4.tar.bz2
samba-11ec2916a7ba937aa09057a3a6b990bd29476cc4.zip
selftest: Cope with testsuites without any output whatsoever (probably an error though).
-rwxr-xr-xselftest/format-subunit2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/format-subunit b/selftest/format-subunit
index 032b990f2d..17b3d1669f 100755
--- a/selftest/format-subunit
+++ b/selftest/format-subunit
@@ -109,7 +109,7 @@ class PlainFormatter(object):
if reason is not None:
self.output_msg("REASON: %s\n" % (reason,))
self.suitesfailed.append(name)
- if self.immediate and not self.verbose:
+ if self.immediate and not self.verbose and name in self.test_output:
out += self.test_output[name]
unexpected = True