Home
last modified time | relevance | path

Searched refs:exec_command (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dconftest.py48 self.shell.exec_command('lwm2m update')
109 shell.exec_command(f'lwm2m write 0/0/0 -s coap://{addr}:{COAP_PORT}')
110 shell.exec_command('lwm2m write 0/0/1 -b 0')
111 shell.exec_command('lwm2m write 0/0/2 -u8 3')
112 shell.exec_command(f'lwm2m write 0/0/3 -s {ep}')
113 shell.exec_command('lwm2m create 1/0')
114 shell.exec_command('lwm2m write 0/0/10 -u16 1')
115 shell.exec_command('lwm2m write 1/0/0 -u16 1')
116 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
117 shell.exec_command(f'lwm2m start {ep} -b 0')
[all …]
Dtest_bootstrap.py47 shell.exec_command('lwm2m create 1/2')
48 shell.exec_command('lwm2m read 1/2/0')
49 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
53 shell.exec_command('lwm2m read 1/2/0')
54 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
67 shell.exec_command('lwm2m stop')
69 shell.exec_command(f'lwm2m start {endpoint}')
72 shell.exec_command('lwm2m stop')
74 shell.exec_command("lwm2m delete 1/0")
75 shell.exec_command("lwm2m delete 0/1")
[all …]
Dtest_lwm2m.py35 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
45 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
53 shell.exec_command('lwm2m stop')
55 shell.exec_command(f'lwm2m start {endpoint}')
60 shell.exec_command('lwm2m update')
70 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
87 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
156 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/0 -u16'))
251 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
268 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
[all …]
Dtest_blockwise.py59 shell.exec_command('lwm2m update')
80 shell.exec_command('lwm2m create /19/0')
94 lines = shell.get_filtered_output(shell.exec_command('lwm2m read /19/0/0/0 -crc32'))
107 shell.exec_command('lwm2m delete /19/0')
112 shell.exec_command('lwm2m create /19/0')
127 shell.exec_command('lwm2m send /19/0')
137 shell.exec_command('lwm2m delete /19/0')
Dtest_nosec.py48 shell.exec_command('lwm2m update')
Dtest_portfolio.py51 shell.exec_command('lwm2m delete /16/1')
/Zephyr-latest/samples/sensor/sensor_shell/pytest/
Dtest_sensor_shell.py14 lines = shell.exec_command('sensor info')
24 lines = shell.exec_command('sensor get sensor@0 voltage')
27 lines = shell.exec_command('sensor get sensor@1 53')
32 lines = shell.exec_command('sensor get sensor@0 gauge_desired_charging_current')
41 lines = shell.exec_command('sensor attr_get sensor@0 co2 sampling_frequency')
44 lines = shell.exec_command('sensor attr_get sensor@1 53 3')
53 lines = shell.exec_command('sensor attr_set sensor@0 co2 sampling_frequency 1')
57 lines = shell.exec_command('sensor attr_set sensor@1 53 3 1')
67 lines = shell.exec_command('sensor trig sensor@0 on data_ready')
71 lines = shell.exec_command('sensor trig sensor@0 off data_ready')
/Zephyr-latest/tests/ztest/ztest_param/pytest/
Dtest_parameters.py8 lines = shell.exec_command('ztest shuffle -c 1 -s 1')
16 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy')
22 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy -r 2')
29 lines = shell.exec_command('ztest run-testsuite ztest_params -r 2')
36 lines = shell.exec_command('ztest run-testsuite ztest_params')
42 lines = shell.exec_command('ztest run-testcase ztest_params::test_int_param -p 44')
49 … lines = shell.exec_command(f'ztest run-testcase ztest_params::test_string_param -p {test_input}')
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/samples/pytest/shell/pytest/
Dtest_shell.py14 lines = shell.exec_command('help')
21 lines = shell.exec_command('kernel version')
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/pytest/
Dtest_shell.py14 lines = shell.exec_command('help')
21 lines = shell.exec_command('kernel version')
/Zephyr-latest/tests/drivers/can/host/pytest/
Dcan_shell.py50 return int(self._shell.get_filtered_output(self._shell.exec_command('retval'))[0])
55 lines = self._shell.get_filtered_output(self._shell.exec_command(cmd))
65 self._shell.exec_command(f'can mode {self._device} {mode}')
71 self._shell.exec_command(f'can start {self._device}')
77 self._shell.exec_command(f'can stop {self._device}')
96 lines = self._shell.exec_command(cmd)
123 lines = self._shell.exec_command(cmd)
139 self._shell.exec_command(f'can filter remove {self._device} {filter_id}')
Dconftest.py42 lines = shell.get_filtered_output(shell.exec_command('can_host chosen'))
/Zephyr-latest/samples/subsys/profiling/perf/pytest/
Dtest_perf.py20 lines = shell.exec_command('perf record 200 99')
26 lines = shell.exec_command('perf printbuf')
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/helpers/
Dshell_test.py13 lines = shell.exec_command('zen')
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dutils.py15 mcuboot_areas = ShellMCUbootCommandParsed.create_from_cmd_output(shell.exec_command('mcuboot'))
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py53 def exec_command( member in Shell
/Zephyr-latest/doc/develop/test/
Dpytest.rst140 shell.exec_command('help')
218 .. automethod:: exec_command