Lines Matching full:none
62 instance.status = TwisterStatus.NONE
83 ' --device-testing option.'], None),
84 (False, True, 'nt', [], None),
103 def find_spec(self, fullname, path, target=None):
110 modules_mock['serial'] = None if fail_serial else modules_mock['serial']
111 modules_mock['pty'] = None if fail_pty else modules_mock['pty']
134 harness.status = TwisterStatus.NONE
167 ids=['detected one expected', 'detected none', 'detected two unexpected']
231 mock_proc.terminate = mock.Mock(return_value=None)
232 mock_proc.kill = mock.Mock(return_value=None)
301 mock.Mock(status=TwisterStatus.NONE, capture_coverage=False),
316 None,
322 None,
323 None,
330 None,
331 None,
338 None,
339 None,
409 if should_be_less is not None:
419 (True, False, True, None, None,
424 (False, True, False, 123, None, ['generator', '-C', 'build_dir', 'run', '--seed=123']),
425 (False, False, False, None, ['ex1', 'ex2'], ['build_dir/zephyr/zephyr.exe', 'ex1', 'ex2']),
446 options.sim_name = None
473 ids=['none', 'asan', 'asan, lsan', 'ubsan']
512 (TwisterStatus.NONE, False, 2, True, TwisterStatus.FAIL, 'Valgrind error', False),
513 (TwisterStatus.NONE, False, 1, False, TwisterStatus.FAIL, 'Failed (rc=1)', False),
516 (TwisterStatus.NONE, True, 1, True, TwisterStatus.FAIL, 'Timeout', True),
579 __exit__=mock.Mock(return_value=None)
703 status_iter = [TwisterStatus.NONE] * statusless_count + [TwisterStatus.PASS] \
704 if end_by_status else iter(lambda: TwisterStatus.NONE, TwisterStatus.PASS)
774 serial_pty=None,
775 serial=None,
825 serial_pty=None,
826 serial=None,
896 None
926 elif expected is None:
929 assert device is None
940 mock.Mock(available=0, serial=serial, serial_pty=None),
941 mock.Mock(available=0, serial=None, serial_pty=serial),
945 serial_pty=None
954 assert len([None for d in handler.duts if d.available == 1]) == 1
960 assert len([None for d in handler.duts if d.available == 1]) == 2
978 raise subprocess.TimeoutExpired(None, timeout)
985 __exit__=mock.Mock(return_value=None)
1038 return None
1061 None,
1062 None,
1063 None,
1068 None,
1069 None,
1074 None,
1075 None,
1081 None,
1082 None,
1088 None,
1096 None,
1103 None,
1110 None,
1118 None,
1126 None,
1134 None,
1142 None,
1181 probe_id=12345 if hardware_probe else None,
1182 id=12345 if not hardware_probe else None,
1195 (TwisterStatus.NONE, True, TwisterStatus.NONE, 'Unknown', False),
1196 (TwisterStatus.NONE, False, TwisterStatus.FAIL, 'Timeout', True),
1231 ('dummy device', 'dummy pty', None, None, True, False, False),
1243 None,
1244 None,
1295 assert result is not None
1311 ('dummy1 dummy2', None, 'slave name'),
1312 ('dummy1,dummy2', CalledProcessError, None),
1313 (None, None, 'dummy hardware serial'),
1346 assert result is None
1351 (False, False, False, False, None, False, False,
1352 TwisterStatus.NONE, None, []),
1353 (True, True, False, False, None, False, False,
1354 TwisterStatus.NONE, None, []),
1355 (True, False, True, False, None, False, False,
1357 (True, False, False, True, None, False, False,
1362 TwisterStatus.NONE, None, ['Timed out while monitoring serial output on IPName']),
1364 TwisterStatus.NONE, None, ["Terminating serial-pty:'Serial PTY'",
1399 return 'dummy serial device', None
1431 __exit__=mock.Mock(return_value=None)
1434 hardware = None if not has_hardware else mock.Mock(
1437 serial_pty='Serial PTY' if use_pty else None,
1450 west_flash=None,
1451 west_runner=None
1652 None,
1655 TwisterStatus.NONE,
1656 None,
1662 None,
1665 TwisterStatus.NONE,
1666 None,
1672 None,
1673 TwisterStatus.NONE,
1682 None,
1683 TwisterStatus.NONE,
1752 (TwisterStatus.NONE, None, TwisterStatus.NONE, 'Unknown'),
1783 [TwisterStatus.NONE] * 60 + [TwisterStatus.PASS] * 6,
1794 [TwisterStatus.NONE] * 60 + [TwisterStatus.PASS] * 30,
1798 None,
1827 [TwisterStatus.NONE] * 3 + [TwisterStatus.PASS] * 7,
1831 None,
1838 [TwisterStatus.NONE] * 3 + [TwisterStatus.PASS] * 7,
1849 [TwisterStatus.NONE] * 3 + [TwisterStatus.PASS] * 7,
1853 None,
1963 (True, False, TwisterStatus.NONE, True,
1967 (False, True, TwisterStatus.FAIL, False, ['return code from QEMU (None): 1']),
2000 def mock_popen(command, stdout=None, stdin=None, stderr=None, cwd=None):
2003 __exit__=mock.Mock(return_value=None),
2007 def mock_thread(name=None, target=None, daemon=None, args=None):
2024 west_runner=None
2026 handler.run_custom_script = mock.Mock(return_value=None)
2027 handler.make_device_available = mock.Mock(return_value=None)
2028 handler._final_handle_actions = mock.Mock(return_value=None)