Lines Matching refs:TwisterStatus

25 from twisterlib.statuses import TwisterStatus
43 self._status = TwisterStatus.NONE
75 def status(self) -> TwisterStatus:
79 def status(self, value : TwisterStatus) -> None: argument
83 self._status = TwisterStatus[key]
152 self.status = TwisterStatus.FAIL
155 self.status = TwisterStatus.PASS
158 self.status = TwisterStatus.FAIL
188 self.instance.status = TwisterStatus.PASS
190 tc.status = TwisterStatus.PASS
221 self.instance.status = TwisterStatus.PASS
225 self.instance.testcases[0].status = TwisterStatus.PASS
230 self.instance.status = TwisterStatus.FAIL
231 self.instance.testcases[0].status = TwisterStatus.FAIL
256 self.status = TwisterStatus.FAIL
259 TwisterStatus.FAIL,
272 self.status = TwisterStatus.FAIL
275 TwisterStatus.FAIL,
287 self.status = TwisterStatus.PASS
296 self.status = TwisterStatus.PASS
306 self.status = TwisterStatus.PASS
326 if self.status == TwisterStatus.PASS and \
332 self.status = TwisterStatus.FAIL
334 if self.status == TwisterStatus.PASS and \
340 self.status = TwisterStatus.FAIL
344 if self.status == TwisterStatus.PASS:
345 tc.status = TwisterStatus.PASS
347 tc.status = TwisterStatus.FAIL
371 self.status = TwisterStatus.FAIL
510 self.status = TwisterStatus.FAIL
513 self.status = TwisterStatus.FAIL
517 self.status = TwisterStatus.ERROR
565 if self.status == TwisterStatus.NONE:
571 self.status = TwisterStatus.FAIL
576 self.instance.status = self.status if self.status != TwisterStatus.NONE else \
577 TwisterStatus.FAIL
578 if self.instance.status in [TwisterStatus.ERROR, TwisterStatus.FAIL]:
580 self.instance.add_missing_case_status(TwisterStatus.BLOCK, self.instance.reason)
588 self.status = TwisterStatus.FAIL
593 self.status = TwisterStatus.ERROR
596 self.status = TwisterStatus.SKIP
598 self.status = TwisterStatus.PASS
606 tc.status = TwisterStatus.PASS
609 tc.status = TwisterStatus.SKIP
611 tc.status = TwisterStatus.FAIL
613 tc.status = TwisterStatus.ERROR
617 self.status = TwisterStatus.SKIP
643 if self.status != TwisterStatus.NONE:
669 self.tc.status = TwisterStatus.STARTED
678 self.status = TwisterStatus.FAIL
679 tc.status = TwisterStatus.FAIL
681 self.status = TwisterStatus.PASS
682 tc.status = TwisterStatus.PASS
687 if state == TwisterStatus.NONE or name is None:
702 if tc.status == TwisterStatus.FAIL:
711 return TwisterStatus.PASS, \
718 return TwisterStatus.SKIP, \
725 return TwisterStatus.FAIL, \
857 tc.status = TwisterStatus.STARTED
869 tc.status = TwisterStatus[matched_status]
870 if tc.status == TwisterStatus.SKIP:
873 if tc.status == TwisterStatus.FAIL:
890 tc.status = TwisterStatus[matched_status]
891 if tc.status == TwisterStatus.SKIP:
894 if tc.status == TwisterStatus.FAIL:
902 if not self.ztest and self.status != TwisterStatus.NONE:
905 if self.status == TwisterStatus.PASS:
906 tc.status = TwisterStatus.PASS
908 tc.status = TwisterStatus.FAIL