Lines Matching refs:TwisterStatus

17 from twisterlib.statuses import TwisterStatus
72 status: TwisterStatus, argument
73 ts_status: TwisterStatus, argument
83 if status in [TwisterStatus.SKIP, TwisterStatus.FILTER]:
92 if status in [TwisterStatus.SKIP, TwisterStatus.FILTER]:
95 if ts_status == TwisterStatus.PASS and not runnable:
100 elif status in [TwisterStatus.FAIL, TwisterStatus.BLOCK]:
105 elif status == TwisterStatus.ERROR:
110 elif status == TwisterStatus.PASS:
112 elif status == TwisterStatus.NOTRUN:
119 if status == TwisterStatus.NONE:
150 filter(lambda d: TwisterStatus(d.get('status')) != TwisterStatus.FILTER, all_suites)
173 ts_status = TwisterStatus(suite.get('status'))
176 status = TwisterStatus(tc.get('status'))
223 filter(lambda d: TwisterStatus(d.get('status')) != TwisterStatus.FILTER, suites)
248 ts_status = TwisterStatus(ts.get('status'))
251 ts_status == TwisterStatus.FILTER
258 status = TwisterStatus(tc.get('status'))
314 if instance.status == TwisterStatus.FILTER and not self.env.options.report_filtered:
317 instance.status not in [TwisterStatus[s] for s in filters['allow_status']]):
324 instance.status in [TwisterStatus[s] for s in filters['deny_status']]):
351 if instance.status != TwisterStatus.FILTER:
367 if instance.status in [TwisterStatus.ERROR, TwisterStatus.FAIL]:
379 elif instance.status == TwisterStatus.FILTER:
380 suite["status"] = TwisterStatus.FILTER
382 elif instance.status == TwisterStatus.PASS:
383 suite["status"] = TwisterStatus.PASS
384 elif instance.status == TwisterStatus.SKIP:
385 suite["status"] = TwisterStatus.SKIP
387 elif instance.status == TwisterStatus.NOTRUN:
388 suite["status"] = TwisterStatus.NOTRUN
391 suite["status"] = TwisterStatus.NONE
394 if instance.status != TwisterStatus.NONE:
412 and case.status == TwisterStatus.NONE
418 if instance.status != TwisterStatus.NONE:
427 if case.status == TwisterStatus.SKIP:
428 if instance.status == TwisterStatus.FILTER:
429 testcase["status"] = TwisterStatus.FILTER
431 testcase["status"] = TwisterStatus.SKIP
447 TwisterStatus.NONE,
448 TwisterStatus.ERROR,
449 TwisterStatus.FILTER
581 TwisterStatus.PASS,
582 TwisterStatus.FILTER,
583 TwisterStatus.SKIP,
584 TwisterStatus.NOTRUN
593 status in [TwisterStatus.ERROR, TwisterStatus.FAIL]:
630 if instance.status == TwisterStatus.FAIL:
651 TwisterStatus.get_color(TwisterStatus.FAIL)
653 else TwisterStatus.get_color(TwisterStatus.PASS)
690 TwisterStatus.FILTER,
691 TwisterStatus.NOTRUN,
692 TwisterStatus.SKIP