Home
last modified time | relevance | path

Searched refs:run_command (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/uboot/u-boot-2020.01/test/py/tests/
Dtest_tpm2.py32 output = u_boot_console.run_command('tpm2 init')
34 u_boot_console.run_command('echo --- start of init ---')
35 u_boot_console.run_command('tpm2 startup TPM2_SU_CLEAR')
36 u_boot_console.run_command('tpm2 self_test full')
37 u_boot_console.run_command('tpm2 clear TPM2_RH_LOCKOUT')
38 output = u_boot_console.run_command('echo $?')
40 u_boot_console.run_command('tpm2 clear TPM2_RH_PLATFORM')
41 u_boot_console.run_command('echo --- end of init ---')
47 u_boot_console.run_command('tpm2 init')
48 output = u_boot_console.run_command('echo $?')
[all …]
Dtest_bind.py29 response = u_boot_console.run_command('bind /bind-test generic_simple_bus')
31 tree = u_boot_console.run_command('dm tree')
37 response = u_boot_console.run_command('unbind /bind-test/bind-test-child1')
39 tree = u_boot_console.run_command('dm tree')
45 response = u_boot_console.run_command('bind /bind-test/bind-test-child1 phy_sandbox')
47 tree = u_boot_console.run_command('dm tree')
53 response = u_boot_console.run_command('unbind /bind-test/bind-test-child2')
55 tree = u_boot_console.run_command('dm tree')
62 response = u_boot_console.run_command('bind /bind-test/bind-test-child2 generic_simple_bus')
64 tree = u_boot_console.run_command('dm tree')
[all …]
Dtest_fpga.py90 output = u_boot_console.run_command('tftpboot %x %s' % (addr, bit))
103 output = u_boot_console.run_command('fpga broken 0')
110 output = u_boot_console.run_command('fpga')
134 output = u_boot_console.run_command('fpga info 0 0')
145 u_boot_console.run_command('setenv fpga')
146 output = u_boot_console.run_command('fpga info')
153 output = u_boot_console.run_command('fpga info %x' % (dev))
163 u_boot_console.run_command('setenv fpga %x' % (dev))
165 output = u_boot_console.run_command('fpga info')
167 u_boot_console.run_command('setenv fpga')
[all …]
Dtest_gpt.py81 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
82 output = u_boot_console.run_command('gpt read host 0')
87 output = u_boot_console.run_command('part list host 0')
97 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
98 output = u_boot_console.run_command('gpt verify host 0')
107 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
108 output = u_boot_console.run_command('gpt guid host 0')
119 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
120 output = u_boot_console.run_command('gpt guid host 0 newguid')
121 output = u_boot_console.run_command('printenv newguid')
[all …]
Dtest_efi_selftest.py17 u_boot_console.run_command(cmd='setenv efi_selftest')
18 u_boot_console.run_command(cmd='bootefi selftest', wait_for_prompt=False)
28 u_boot_console.run_command(cmd='setenv efi_selftest list')
29 output = u_boot_console.run_command('bootefi selftest')
31 u_boot_console.run_command(cmd='setenv efi_selftest device tree')
32 u_boot_console.run_command(cmd='setenv -f serial# Testing DT')
33 u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False)
41 u_boot_console.run_command(cmd='setenv efi_selftest list')
42 output = u_boot_console.run_command('bootefi selftest')
44 u_boot_console.run_command(cmd='setenv efi_selftest watchdog reboot')
[all …]
Dtest_shell_basics.py13 response = u_boot_console.run_command('echo hello')
20 response = u_boot_console.run_command(cmd)
30 response = u_boot_console.run_command(cmd)
32 u_boot_console.run_command('setenv list')
37 u_boot_console.run_command('setenv foo "setenv monty 1; setenv python 2"')
38 u_boot_console.run_command('run foo')
39 response = u_boot_console.run_command('echo $monty')
41 response = u_boot_console.run_command('echo $python')
43 u_boot_console.run_command('setenv foo')
44 u_boot_console.run_command('setenv monty')
[all …]
Dtest_efi_loader.py63 u_boot_console.run_command('usb start')
67 u_boot_console.run_command('pci enum')
81 u_boot_console.run_command('setenv autoload no')
82 output = u_boot_console.run_command('dhcp')
101 u_boot_console.run_command('setenv %s %s' % (var, val))
124 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
138 output = u_boot_console.run_command('crc32 %x $filesize' % addr)
153 output = u_boot_console.run_command('bootefi %x' % addr)
167 output = u_boot_console.run_command('bootefi hello')
181 u_boot_console.run_command('bootefi %x' % addr, wait_for_prompt=False)
[all …]
Dtest_net.py71 u_boot_console.run_command('usb start')
75 u_boot_console.run_command('pci enum')
89 u_boot_console.run_command('setenv autoload no')
90 output = u_boot_console.run_command('dhcp')
109 u_boot_console.run_command('setenv %s %s' % (var, val))
126 output = u_boot_console.run_command('ping $serverip')
151 output = u_boot_console.run_command('tftpboot %s' % (fn))
153 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
167 output = u_boot_console.run_command('crc32 $fileaddr $filesize')
193 output = u_boot_console.run_command('nfs %x %s' % (addr, fn))
[all …]
Dtest_pinmux.py10 output = u_boot_console.run_command('pinmux')
17 output = u_boot_console.run_command('pinmux status')
24 output = u_boot_console.run_command('pinmux status -a')
35 output = u_boot_console.run_command('pinmux list')
43 output = u_boot_console.run_command('pinmux dev ' + pincontroller)
52 output = u_boot_console.run_command('pinmux dev ' + pincontroller)
61 output = u_boot_console.run_command('pinmux status')
Dtest_md.py17 u_boot_console.run_command('mw ' + addr + ' 0 10')
18 response = u_boot_console.run_command('md ' + addr + ' 10')
20 u_boot_console.run_command('mw ' + addr + ' ' + val)
21 response = u_boot_console.run_command('md ' + addr + ' 10')
33 u_boot_console.run_command('md %s %x' % (addr_base, words))
34 response = u_boot_console.run_command('')
Dtest_env.py45 response = self.u_boot_console.run_command('printenv')
47 response = self.u_boot_console.run_command('printenv')
109 state_test_env.u_boot_console.run_command('setenv %s' % var)
136 state_test_env.u_boot_console.run_command(
150 response = state_test_env.u_boot_console.run_command('echo $%s' % var)
166 response = state_test_env.u_boot_console.run_command('printenv %s' % var)
189 response = c.run_command('printenv %s' % var)
254 response = c.run_command('env import -c %s -' % addr)
267 response = c.run_command('env import -c %s - foo1 foo2 foo4' % addr)
282 c.run_command('env export %s' % addr)
[all …]
Dtest_mmc_rd.py125 response = u_boot_console.run_command(cmd)
178 response = u_boot_console.run_command(cmd)
208 response = u_boot_console.run_command(cmd)
254 u_boot_console.run_command(cmd)
257 response = u_boot_console.run_command(cmd)
266 response = u_boot_console.run_command(cmd)
276 response = u_boot_console.run_command(cmd)
Dtest_mmc_wr.py72 response = u_boot_console.run_command(cmd)
80 response = u_boot_console.run_command(cmd)
91 response = u_boot_console.run_command(cmd)
97 response = u_boot_console.run_command(cmd)
103 response = u_boot_console.run_command(cmd)
Dtest_sf.py72 output = u_boot_console.run_command(cmd)
125 u_boot_console.run_command(cmd)
131 response = u_boot_console.run_command(cmd)
158 u_boot_console.run_command(cmd)
162 u_boot_console.run_command(cmd)
199 output = u_boot_console.run_command(cmd)
203 u_boot_console.run_command(cmd)
Dtest_log.py43 output = u_boot_console.run_command('log test %d' % testnum)
117 output = cons.run_command('log format %s' % fmt)
119 output = cons.run_command('log rec arch notice file.c 123 func msg')
125 output = cons.run_command('log format')
/third_party/boost/libs/geometry/doc/index/
Dmake_qbk.py25 def run_command(command): function
37 run_command("doxygen Doxyfile")
38 run_command(cmd % ("classboost_1_1geometry_1_1index_1_1rtree", "rtree"))
39 run_command(cmd % ("group__rtree__functions", "rtree_functions"))
41 run_command(cmd % ("structboost_1_1geometry_1_1index_1_1linear", "rtree_linear"))
42 run_command(cmd % ("structboost_1_1geometry_1_1index_1_1quadratic", "rtree_quadratic"))
43 run_command(cmd % ("structboost_1_1geometry_1_1index_1_1rstar", "rtree_rstar"))
44 run_command(cmd % ("classboost_1_1geometry_1_1index_1_1dynamic__linear", "rtree_dynamic_linear"))
45 run_command(cmd % ("classboost_1_1geometry_1_1index_1_1dynamic__quadratic", "rtree_dynamic_quadrati…
46 run_command(cmd % ("classboost_1_1geometry_1_1index_1_1dynamic__rstar", "rtree_dynamic_rstar"))
[all …]
/third_party/uboot/u-boot-2020.01/test/py/tests/test_android/
Dtest_avb.py34 response = u_boot_console.run_command('avb init %s' %str(mmc_dev))
36 response = u_boot_console.run_command('avb verify')
47 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
50 response = u_boot_console.run_command('mmc rescan; mmc dev %s' %
54 part_lines = u_boot_console.run_command('mmc part').splitlines()
70 avb_guid_resp = u_boot_console.run_command('avb get_uuid %s' % part)
79 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
82 response = u_boot_console.run_command('avb read_rb 1')
91 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
94 response = u_boot_console.run_command('avb is_unlocked')
[all …]
Dtest_ab.py64 u_boot_console.run_command('host bind 0 ' + ab_disk_image.path)
66 output = u_boot_console.run_command('ab_select slot_name host 0#misc')
69 output = u_boot_console.run_command('printenv slot_name')
72 output = u_boot_console.run_command('ab_select slot_name host 0:1')
74 output = u_boot_console.run_command('printenv slot_name')
/third_party/uboot/u-boot-2020.01/test/
Dcommand_ut.c18 run_command("env default -f -a", 0); in do_ut_cmd()
29 run_command("setenv list", 0); in do_ut_cmd()
41 assert(run_command("false", 0) == 1); in do_ut_cmd()
42 assert(run_command("echo", 0) == 0); in do_ut_cmd()
47 run_command("setenv foo 'setenv black 1\nsetenv adder 2'", 0); in do_ut_cmd()
48 run_command("run foo", 0); in do_ut_cmd()
55 assert(run_command("", 0) == 0); in do_ut_cmd()
56 assert(run_command(" ", 0) == 0); in do_ut_cmd()
58 assert(run_command("'", 0) == 1); in do_ut_cmd()
/third_party/uboot/u-boot-2020.01/test/py/tests/test_fs/
Dtest_ext.py92 output = u_boot_console.run_command(
125 output = u_boot_console.run_command(
158 output = u_boot_console.run_command(
183 output = u_boot_console.run_command(
216 output = u_boot_console.run_command(
247 output = u_boot_console.run_command(
251 output = u_boot_console.run_command(
254 output = u_boot_console.run_command('%sls host 0:0 /' % fs_type)
260 output = u_boot_console.run_command(
263 output = u_boot_console.run_command('%sls host 0:0 /' % fs_type)
[all …]
Dtest_mkdir.py29 output = u_boot_console.run_command(
48 output = u_boot_console.run_command(
105 output = u_boot_console.run_command(
108 output = u_boot_console.run_command('%sls host 0:0 dir6' % fs_type)
112 output = u_boot_console.run_command(
117 output = u_boot_console.run_command(
/third_party/boost/libs/geometry/doc/
Dmake_qbk.py47 def run_command(command): function
60 run_command(doxygen_cmd)
64 run_command(cmd % ("group__" + section.replace("_", "__"), section))
67 run_command(cmd % ("classboost_1_1geometry_1_1model_1_1" + section.replace("_", "__"), section))
70 run_command(cmd % ("classboost_1_1geometry_1_1model_1_1" + classname, section))
73 run_command(cmd % ("structboost_1_1geometry_1_1" + section.replace("_", "__"), section))
76 run_command(cmd % ("classboost_1_1geometry_1_1" + section.replace("_", "__"), section))
79 run_command(cmd % ("classboost_1_1geometry_1_1" + classname, section))
82run_command(cmd % ("classboost_1_1geometry_1_1srs_1_1" + section.replace("_", "__"), "srs_" + sect…
88 run_command(cmd % ("classboost_1_1geometry_1_1strategy_1_1"
[all …]
/third_party/libxkbcommon/test/
Dtool-option-parsing.py52 def run_command(args): function
73 def run_command(self, args): member in XkbcliTool
83 return run_command(args)
86 rc, stdout, stderr = self.run_command(args)
91 rc, stdout, stderr = self.run_command(args)
96 rc, stdout, stderr = self.run_command(args)
102 rc, stdout, stderr = self.run_command(args)
194 rc, stdout, stderr = self.xkbcli_compile_keymap.run_command(args)
200 rc, stdout, stderr = self.xkbcli_compile_keymap.run_command(args)
206 rc, stdout, stderr = self.xkbcli_compile_keymap.run_command(args)
[all …]
/third_party/libinput/tools/
Dtest_tool_option_parsing.py51 def run_command(args): function
73 def run_command(self, args): member in LibinputTool
78 return run_command(args)
81 rc, stdout, stderr = self.run_command(args)
88 rc, stdout, stderr = self.run_command(args)
93 rc, stdout, stderr = self.run_command(args)
99 rc, stdout, stderr = self.run_command(args)
105 rc, stdout, stderr = self.run_command(args)
125 rc, _, _ = self.run_command(['--help'])
288 rc, stdout, stderr = libinput_debug_events.run_command(['/dev/input/event0'] * 61)
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range02.c85 static int run_command(char *command, char *option, char *file) in run_command() function
163 run_command("chattr", "-i", FILE_IMMUTABLE_PATH); in cleanup()
167 run_command("swapoff", FILE_SWAP_PATH, NULL); in cleanup()
225 chattr_i_nsup = run_command("chattr", "+i", FILE_IMMUTABLE_PATH); in setup()
239 swap_nsup = run_command("mkswap", FILE_SWAP_PATH, NULL); in setup()
240 swap_nsup = run_command("swapon", FILE_SWAP_PATH, NULL); in setup()

12345