Home
last modified time | relevance | path

Searched full:serial_pty (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dhardwaremap.py43 serial_pty=None, argument
58 self.serial_pty = serial_pty
258 device.serial_pty = serial
276 serial_pty = dut.get('serial_pty')
279 flash_before = self.options.flash_before and (not (flash_with_test or serial_pty))
294 connected = dut.get('connected') and ((serial or serial_pty) is not None)
303 serial_pty=serial_pty,
Dhandlers.py497 if d.platform != device or (d.serial is None and d.serial_pty is None):
639 flash_timeout, serial_pty, ser_pty_process): argument
651 self._handle_serial_exception(e, dut, serial_pty, ser_pty_process)
657 def _handle_serial_exception(self, exception, dut, serial_pty, ser_pty_process): argument
663 if serial_pty and ser_pty_process:
664 self._terminate_pty(serial_pty, ser_pty_process)
686 def _get_serial_device(self, serial_pty, hardware_serial): argument
688 if serial_pty:
692 re.split('[, ]', serial_pty),
699 f"Failed to run subprocess {serial_pty}, error {error.output}"
[all …]
Dharness.py448 if hardware.serial_pty:
449 command.append(f'--device-serial-pty={hardware.serial_pty}')
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py30 serial_pty: str = '' variable in DeviceConfig
78 serial_pty=config.option.device_serial_pty,
/Zephyr-latest/scripts/schemas/twister/
Dhwmap-schema.yaml35 "serial_pty":
/Zephyr-latest/scripts/tests/twister/
Dtest_handlers.py774 serial_pty=None,
784 serial_pty=mock.Mock(),
793 serial_pty=mock.Mock(),
825 serial_pty=None,
835 serial_pty=mock.Mock(),
844 serial_pty=mock.Mock(),
866 serial_pty=mock.Mock(),
874 serial_pty=mock.Mock(),
940 mock.Mock(available=0, serial=serial, serial_pty=None),
941 mock.Mock(available=0, serial=None, serial_pty=serial),
[all …]
Dtest_hardwaremap.py54 'serial_pty': 'dummy serial pty',
76 'serial_pty': 'dummy serial pty',
260 assert hm.duts[0].serial_pty == 'dummy' if is_pty else None
263 assert hm.duts[0].serial_pty is None
287 serial_pty: 'dummy'
321 'serial_pty': None,
333 'serial_pty': 'dummy',
Dtest_harness.py446 TEST_DATA_5 = [("serial_pty", 0), (None, 0), (None, 1)]
475 hardware.serial_pty = pty_value
508 if pty_value == "serial_pty":
509 assert "--device-serial-pty=serial_pty" in command
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dhardware_adapter.py161 if not self.device_config.serial_pty:
172 re.split(',| ', self.device_config.serial_pty),
178 … logger.exception('Failed to run subprocess %s, error %s', self.device_config.serial_pty, str(exc))
195 logger.debug('Process %s terminated', self.device_config.serial_pty)
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py213 device.device_config.serial_pty = 'script.py'
245 Run shell_simulator.py under serial_pty, send "zen" command and verify
249 device.device_config.serial_pty = f'python3 {shell_simulator_path}'
/Zephyr-latest/boards/microchip/mec172xevb_assy6906/support/
Dmec172x_remote_flasher.py36 serial_pty: "nc,<remote host>,<ser2net port>"
/Zephyr-latest/boards/intel/adsp/doc/
Dintel_adsp_generic.rst223serial_pty: "/home/zephyrus/zephyrproject/zephyr/soc/intel/intel_adsp/tools/cavstool_client.py,-s,…
/Zephyr-latest/doc/develop/test/
Dtwister.rst1208 serial_pty: path/to/script.py
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst1031 * :github:`31769` - Twister: AttributeError: 'NoneType' object has no attribute 'serial_pty'