From 5806610a777a29b6d061cd3a44aeee79f1c7026b Mon Sep 17 00:00:00 2001 From: Steve Fink Date: Fri, 12 Oct 2012 14:53:45 -0700 Subject: [PATCH] Bug 802422 - Pay attention to the actual test result. r=terrence --- js/src/tests/lib/results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/tests/lib/results.py b/js/src/tests/lib/results.py index 1d4aa1550ef..4de3d8c5acd 100644 --- a/js/src/tests/lib/results.py +++ b/js/src/tests/lib/results.py @@ -113,7 +113,7 @@ class ResultsSink: result = TestResult.from_output(output) show = self.options.show - if self.options.failed_only and result == 'PASS': + if self.options.failed_only and result.result == 'PASS': show = False if show and self.options.show_output: