Lines Matching refs:TwisterStatus
31 from twisterlib.statuses import TwisterStatus
117 harness_status != TwisterStatus.PASS:
135 self.instance.status = TwisterStatus.FAIL
138 tc.status = TwisterStatus.FAIL
155 if self.instance.status == TwisterStatus.FAIL:
158 self.instance.status = TwisterStatus.FAIL
162 tc.status = TwisterStatus.FAIL
235 harness.status != TwisterStatus.NONE
323 self.instance.status = TwisterStatus.FAIL
330 self.instance.add_missing_case_status(TwisterStatus.BLOCK)
331 elif harness.status != TwisterStatus.NONE:
333 if harness.status == TwisterStatus.FAIL:
335 self.instance.add_missing_case_status(TwisterStatus.BLOCK)
337 self.instance.status = TwisterStatus.FAIL
339 self.instance.add_missing_case_status(TwisterStatus.BLOCK, "Timeout")
372 self.instance.status = TwisterStatus.ERROR
474 if harness.status != TwisterStatus.NONE and not harness.capture_coverage:
523 if self.instance.status in [TwisterStatus.ERROR, TwisterStatus.FAIL]:
616 if harness.status != TwisterStatus.NONE:
618 if harness.status == TwisterStatus.FAIL:
620 self.instance.add_missing_case_status(TwisterStatus.BLOCK, harness.status)
622 self.instance.status = TwisterStatus.FAIL
625 if self.instance.status in [TwisterStatus.ERROR, TwisterStatus.FAIL]:
626 self.instance.add_missing_case_status(TwisterStatus.BLOCK, self.instance.reason)
658 self.instance.status = TwisterStatus.FAIL
662 self.instance.add_missing_case_status(TwisterStatus.BLOCK, "Serial Device Error")
681 self.instance.status = TwisterStatus.FAIL
776 self.instance.status = TwisterStatus.ERROR
786 self.instance.status = TwisterStatus.ERROR
795 self.instance.status = TwisterStatus.ERROR
944 _status = TwisterStatus.NONE
967 if cpu_time < timeout and _status == TwisterStatus.NONE:
973 _status = TwisterStatus.FAIL
977 if _status == TwisterStatus.NONE:
978 _status = TwisterStatus.FAIL
990 _status = TwisterStatus.FAIL
997 _status = TwisterStatus.FAIL
1011 if harness.status != TwisterStatus.NONE:
1015 if _status != TwisterStatus.FAIL:
1068 harness.status == TwisterStatus.NONE:
1069 self.instance.status = TwisterStatus.FAIL
1075 self.instance.add_missing_case_status(TwisterStatus.BLOCK)
1122 if harness.status == TwisterStatus.PASS:
1249 harness.status == TwisterStatus.NONE:
1250 self.instance.status = TwisterStatus.FAIL
1256 self.instance.add_missing_case_status(TwisterStatus.BLOCK)
1286 _status = TwisterStatus.NONE
1303 if cpu_time < timeout and _status == TwisterStatus.NONE:
1309 _status = TwisterStatus.FAIL
1313 if _status == TwisterStatus.NONE:
1314 _status = TwisterStatus.FAIL
1334 _status = TwisterStatus.FAIL
1341 _status = TwisterStatus.FAIL
1355 if harness.status != TwisterStatus.NONE:
1359 if _status != TwisterStatus.FAIL:
1418 if harness.status == TwisterStatus.PASS: