Lines Matching refs:result
100 def add_result(self, result: TestResult):
102 self.test_results.append(result)
103 if result.test_status() == TEST_STATUS.PASSED:
105 if result.retried:
107 elif result.test_status() == TEST_STATUS.FAILED:
110 elif result.test_status() == TEST_STATUS.SKIPPED:
113 if result.retried:
133 for result in self.test_results:
134 match (result.test_status(), result.retried, print_failed_only):
191 for result in self.test_results:
192 if not result.passed:
193 self.failed_projects.append(result.project)
194 self.tests_passed += result.passed_count
195 self.tests_failed += result.failed_count
196 self.tests_skipped += result.skipped_count
197 if result.passed_count:
199 if result.failed_count:
201 if result.skipped_count:
383 result = TestResult(test.name, cmd_status, False)
393 result = TestResult(test.name, status_code, False)
420 result = TestResult(test.name, cmd_status, False)
443 if result and result.failed() and can_retry:
461 return result
476 if result := run_test(test, None, retry):
477 test_results.add_result(result)