Lines Matching refs:TwisterStatus

32 from twisterlib.statuses import TwisterStatus
572 self.instance.status = TwisterStatus.NOTRUN
573 self.instance.add_missing_case_status(TwisterStatus.NOTRUN, "Test was built only")
575 self.instance.status = TwisterStatus.PASS
611 self.instance.status = TwisterStatus.SKIP
615 self.instance.status = TwisterStatus.SKIP
619 self.instance.status = TwisterStatus.ERROR
734 self.instance.status = TwisterStatus.ERROR
962 if self.instance.status in [TwisterStatus.FAIL, TwisterStatus.ERROR]:
968 self.instance.status = TwisterStatus.FILTER
971 self.instance.add_missing_case_status(TwisterStatus.FILTER)
977 self.instance.status = TwisterStatus.ERROR
980 self.instance.add_missing_case_status(TwisterStatus.BLOCK, reason)
989 if self.instance.status in [TwisterStatus.FAIL, TwisterStatus.ERROR]:
992 if self.instance.status == TwisterStatus.NONE:
994 self.instance.status = TwisterStatus.NOTRUN
995 self.instance.add_missing_case_status(TwisterStatus.NOTRUN, 'CMake only')
1001 self.instance.status = TwisterStatus.FILTER
1004 self.instance.add_missing_case_status(TwisterStatus.FILTER)
1010 self.instance.status = TwisterStatus.ERROR
1013 self.instance.add_missing_case_status(TwisterStatus.BLOCK, reason)
1023 self.instance.status = TwisterStatus.ERROR
1029 if self.instance.status == TwisterStatus.SKIP:
1032 TwisterStatus.SKIP,
1038 TwisterStatus.BLOCK,
1052 self.instance.status = TwisterStatus.ERROR
1059 self.instance.status = TwisterStatus.ERROR
1062 self.instance.add_missing_case_status(TwisterStatus.BLOCK, reason)
1071 self.instance.status = TwisterStatus.ERROR
1077 if self.instance.status == TwisterStatus.NOTRUN:
1084 TwisterStatus.NOTRUN,
1090 self.instance.status = TwisterStatus.ERROR
1093 self.instance.add_missing_case_status(TwisterStatus.BLOCK, reason)
1116 self.instance.status = TwisterStatus.ERROR
1119 self.instance.add_missing_case_status(TwisterStatus.BLOCK, reason)
1137 self.instance.status in [TwisterStatus.PASS, TwisterStatus.NOTRUN]:
1145 self.instance.status = TwisterStatus.ERROR
1148 self.instance.add_missing_case_status(TwisterStatus.BLOCK, reason)
1166 self.instance.status = TwisterStatus.ERROR
1169 self.instance.add_missing_case_status(TwisterStatus.BLOCK, reason)
1247 testcase.status = tc_info.get('status', TwisterStatus.NONE)
1451 case TwisterStatus.PASS:
1453 case TwisterStatus.NOTRUN:
1455 case TwisterStatus.BLOCK:
1457 case TwisterStatus.SKIP:
1459 case TwisterStatus.FILTER:
1461 case TwisterStatus.ERROR:
1463 case TwisterStatus.FAIL:
1468 case TwisterStatus.NONE:
1473 case TwisterStatus.STARTED:
1500 if instance.status in [TwisterStatus.ERROR, TwisterStatus.FAIL]:
1501 if instance.status == TwisterStatus.ERROR:
1514 elif instance.status == TwisterStatus.SKIP:
1516 elif instance.status == TwisterStatus.FILTER:
1518 elif instance.status == TwisterStatus.PASS:
1520 elif instance.status == TwisterStatus.NOTRUN:
1529 elif instance.status in [TwisterStatus.SKIP, TwisterStatus.FILTER]:
1542 if ( instance.status in [TwisterStatus.ERROR, TwisterStatus.FAIL]
1554 color = TwisterStatus.get_color(tc.status)
1559 if instance.status in [TwisterStatus.ERROR, TwisterStatus.FAIL]:
1578 TwisterStatus.get_color(TwisterStatus.SKIP)
1586 TwisterStatus.get_color(TwisterStatus.FAIL) if results.failed > 0 else Fore.RESET
1592 TwisterStatus.get_color(TwisterStatus.ERROR) if results.error > 0 else Fore.RESET
1683 self.instance.status = TwisterStatus.ERROR
1695 instance.status = TwisterStatus.NONE
1713 instance.status = TwisterStatus.ERROR
1741 if instance.status not in [TwisterStatus.ERROR, TwisterStatus.FAIL, TwisterStatus.SKIP]:
1856 if instance.status == TwisterStatus.FILTER and instance.reason != 'runtime filter':
1861 elif instance.status == TwisterStatus.ERROR:
1884 TwisterStatus.PASS,
1885 TwisterStatus.SKIP,
1886 TwisterStatus.FILTER,
1887 TwisterStatus.NOTRUN
1890 no_retry_statuses.append(TwisterStatus.ERROR)
1894 if instance.status != TwisterStatus.NONE:
1896 instance.status = TwisterStatus.NONE
1940 pb.instance.status in [TwisterStatus.FAIL, TwisterStatus.ERROR]:
1958 pb.instance.status in [TwisterStatus.FAIL, TwisterStatus.ERROR]: