summaryrefslogtreecommitdiff
path: root/selftest/format-subunit
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/format-subunit')
-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