Bug 802422 - Pay attention to the actual test result. r=terrence

This commit is contained in:
Steve Fink 2012-10-12 14:53:45 -07:00
parent fcedab455b
commit 5806610a77

View File

@ -113,7 +113,7 @@ class ResultsSink:
result = TestResult.from_output(output) result = TestResult.from_output(output)
show = self.options.show show = self.options.show
if self.options.failed_only and result == 'PASS': if self.options.failed_only and result.result == 'PASS':
show = False show = False
if show and self.options.show_output: if show and self.options.show_output: