From 11ec2916a7ba937aa09057a3a6b990bd29476cc4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 18 May 2010 00:01:48 +0200 Subject: selftest: Cope with testsuites without any output whatsoever (probably an error though). --- selftest/format-subunit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selftest/format-subunit') 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 -- cgit