Lines Matching full:harness
145 def _final_handle_actions(self, harness, handler_time): argument
148 harness_class_name = type(harness).__name__
151 harness.status,
152 harness.detected_suite_names,
157 if not harness.matched_run_id and harness.run_id_exists:
164 self.instance.record(harness.recording)
212 def _output_handler(self, proc, harness): argument
233 harness.handle(stripped_line)
235 harness.status != TwisterStatus.NONE
237 or harness.capture_coverage
240 if harness.capture_coverage:
320 def _update_instance_info(self, harness, handler_time): argument
331 elif harness.status != TwisterStatus.NONE:
332 self.instance.status = harness.status
333 if harness.status == TwisterStatus.FAIL:
334 self.instance.reason = f"Failed harness:'{harness.reason}'"
341 def handle(self, harness): argument
342 robot_test = getattr(harness, "is_robot_test", False)
355 harness.run_robot_test(command, self)
363 t = threading.Thread(target=self._output_handler, args=(proc, harness,), daemon=True)
383 self._update_instance_info(harness, handler_time)
385 self._final_handle_actions(harness, handler_time)
418 def monitor_serial(self, ser, halt_event, harness): argument
423 harness.capture_coverage = True
472 harness.handle(sl)
474 if harness.status != TwisterStatus.NONE and not harness.capture_coverage:
614 def _update_instance_info(self, harness, handler_time, flash_error): argument
616 if harness.status != TwisterStatus.NONE:
617 self.instance.status = harness.status
618 if harness.status == TwisterStatus.FAIL:
619 self.instance.reason = f"Failed harness:'{harness.reason}'"
620 self.instance.add_missing_case_status(TwisterStatus.BLOCK, harness.status)
709 def handle(self, harness): argument
760 args=(ser, halt_monitor_evt, harness))
839 self._update_instance_info(harness, handler_time, flash_error)
841 self._final_handle_actions(harness, handler_time)
920 harness, ignore_unexpected_eof=False): argument
1010 harness.handle(line)
1011 if harness.status != TwisterStatus.NONE:
1016 _status = harness.status
1017 _reason = harness.reason
1024 if not timeout_extended or harness.capture_coverage:
1026 if harness.capture_coverage:
1066 def _update_instance_info(self, harness, is_timeout): argument
1068 harness.status == TwisterStatus.NONE:
1077 def handle(self, harness): argument
1089 self.pid_fn, harness,
1122 if harness.status == TwisterStatus.PASS:
1132 # Need to wait for harness to finish processing
1146 self._update_instance_info(harness, is_timeout)
1148 self._final_handle_actions(harness, 0)
1247 def _update_instance_info(self, harness, is_timeout): argument
1249 harness.status == TwisterStatus.NONE:
1281 harness, argument
1354 harness.handle(line)
1355 if harness.status != TwisterStatus.NONE:
1360 _status = harness.status
1361 _reason = harness.reason
1368 if not timeout_extended or harness.capture_coverage:
1370 if harness.capture_coverage:
1386 def handle(self, harness): argument
1408 self._monitor_output(queue, self.get_test_timeout(), self.log_fn, self.pid_fn, harness,
1418 if harness.status == TwisterStatus.PASS:
1431 self._update_instance_info(harness, is_timeout)
1433 self._final_handle_actions(harness, 0)