Lines Matching refs:TwisterStatus
29 from twisterlib.statuses import TwisterStatus
62 instance.status = TwisterStatus.NONE
134 harness.status = TwisterStatus.NONE
144 assert handler.instance.status == TwisterStatus.FAIL
147 assert all(testcase.status == TwisterStatus.FAIL for \
177 harness_status = TwisterStatus.PASS
208 assert handler.instance.status == TwisterStatus.FAIL
212 testcase.status == TwisterStatus.FAIL for testcase in handler.instance.testcases
301 mock.Mock(status=TwisterStatus.NONE, capture_coverage=False),
321 mock.Mock(status=TwisterStatus.PASS, capture_coverage=False),
329 mock.Mock(status=TwisterStatus.PASS, capture_coverage=False),
337 mock.Mock(status=TwisterStatus.PASS, capture_coverage=True),
512 (TwisterStatus.NONE, False, 2, True, TwisterStatus.FAIL, 'Valgrind error', False),
513 (TwisterStatus.NONE, False, 1, False, TwisterStatus.FAIL, 'Failed (rc=1)', False),
514 (TwisterStatus.FAIL, False, 0, False, TwisterStatus.FAIL, "Failed harness:'foobar'", False),
516 (TwisterStatus.NONE, True, 1, True, TwisterStatus.FAIL, 'Timeout', True),
553 missing_mock.assert_called_once_with(TwisterStatus.BLOCK, expected_reason)
703 status_iter = [TwisterStatus.NONE] * statusless_count + [TwisterStatus.PASS] \
704 if end_by_status else iter(lambda: TwisterStatus.NONE, TwisterStatus.PASS)
740 harness = mock.Mock(status=TwisterStatus.PASS)
1053 assert mocked_instance.status == TwisterStatus.FAIL
1193 (TwisterStatus.FAIL, False, TwisterStatus.FAIL, "Failed harness:'foobar'", True),
1194 (TwisterStatus.ERROR, False, TwisterStatus.ERROR, 'Unknown', True),
1195 (TwisterStatus.NONE, True, TwisterStatus.NONE, 'Unknown', False),
1196 (TwisterStatus.NONE, False, TwisterStatus.FAIL, 'Timeout', True),
1299 assert handler.instance.status == TwisterStatus.FAIL
1352 TwisterStatus.NONE, None, []),
1354 TwisterStatus.NONE, None, []),
1356 TwisterStatus.ERROR, 'Device issue (Flash error)', []),
1358 TwisterStatus.ERROR, 'Device issue (Timeout)', ['Flash operation timed out.']),
1360 TwisterStatus.ERROR, 'Device issue (Flash error?)', []),
1362 TwisterStatus.NONE, None, ['Timed out while monitoring serial output on IPName']),
1364 TwisterStatus.NONE, None, ["Terminating serial-pty:'Serial PTY'",
1655 TwisterStatus.NONE,
1665 TwisterStatus.NONE,
1673 TwisterStatus.NONE,
1675 TwisterStatus.FAIL,
1683 TwisterStatus.NONE,
1685 TwisterStatus.FAIL,
1695 TwisterStatus.FAIL,
1734 TwisterStatus.BLOCK
1748 (TwisterStatus.FAIL, 'timeout', TwisterStatus.FAIL, 'timeout'),
1749 (TwisterStatus.FAIL, 'Execution error', TwisterStatus.FAIL, 'Execution error'),
1750 (TwisterStatus.FAIL, 'unexpected eof', TwisterStatus.FAIL, 'unexpected eof'),
1751 (TwisterStatus.FAIL, 'unexpected byte', TwisterStatus.FAIL, 'unexpected byte'),
1752 (TwisterStatus.NONE, None, TwisterStatus.NONE, 'Unknown'),
1783 [TwisterStatus.NONE] * 60 + [TwisterStatus.PASS] * 6,
1786 TwisterStatus.FAIL,
1794 [TwisterStatus.NONE] * 60 + [TwisterStatus.PASS] * 30,
1797 TwisterStatus.FAIL,
1805 [TwisterStatus.PASS] * 3,
1808 TwisterStatus.FAIL,
1816 [TwisterStatus.PASS] * 3,
1819 TwisterStatus.FAIL,
1827 [TwisterStatus.NONE] * 3 + [TwisterStatus.PASS] * 7,
1830 TwisterStatus.PASS,
1838 [TwisterStatus.NONE] * 3 + [TwisterStatus.PASS] * 7,
1841 TwisterStatus.FAIL,
1849 [TwisterStatus.NONE] * 3 + [TwisterStatus.PASS] * 7,
1852 TwisterStatus.PASS,
1963 (True, False, TwisterStatus.NONE, True,
1966 (False, True, TwisterStatus.PASS, True, ['return code from QEMU (1): 0']),
1967 (False, True, TwisterStatus.FAIL, False, ['return code from QEMU (None): 1']),