Index: tools/testrunner/local/testsuite.py |
diff --git a/tools/testrunner/local/testsuite.py b/tools/testrunner/local/testsuite.py |
index b4b342503f2c7d4438d61032fb253cfd197a27df..7583293b747b9a84d119536fa1fb00ca205c5001 100644 |
--- a/tools/testrunner/local/testsuite.py |
+++ b/tools/testrunner/local/testsuite.py |
@@ -256,14 +256,14 @@ class TestSuite(object): |
def GetSourceForTest(self, testcase): |
return "(no source available)" |
- def IsFailureOutput(self, output, testpath): |
- return output.exit_code != 0 |
+ def IsFailureOutput(self, testcase): |
+ return testcase.output.exit_code != 0 |
def IsNegativeTest(self, testcase): |
return False |
def HasFailed(self, testcase): |
- execution_failed = self.IsFailureOutput(testcase.output, testcase.path) |
+ execution_failed = self.IsFailureOutput(testcase) |
if self.IsNegativeTest(testcase): |
return not execution_failed |
else: |