Home
last modified time | relevance | path

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

1234

/u-boot/test/py/tests/
A Dtest_tpm2.py32 output = u_boot_console.run_command('tpm2 init')
47 u_boot_console.run_command('tpm2 init')
48 output = u_boot_console.run_command('echo $?')
59 output = u_boot_console.run_command('echo $?')
70 output = u_boot_console.run_command('echo $?')
82 output = u_boot_console.run_command('echo $?')
99 output = u_boot_console.run_command('echo $?')
103 output = u_boot_console.run_command('echo $?')
119 output = u_boot_console.run_command('echo $?')
123 output = u_boot_console.run_command('echo $?')
[all …]
A Dtest_bind.py31 tree = u_boot_console.run_command('dm tree')
39 tree = u_boot_console.run_command('dm tree')
47 tree = u_boot_console.run_command('dm tree')
55 tree = u_boot_console.run_command('dm tree')
64 tree = u_boot_console.run_command('dm tree')
72 tree = u_boot_console.run_command('dm tree')
80 tree = u_boot_console.run_command('dm tree')
86 tree = u_boot_console.run_command('dm tree')
92 tree = u_boot_console.run_command('dm tree')
119 tree = u_boot_console.run_command('dm tree')
[all …]
A 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 …]
A Dtest_gpt.py82 output = u_boot_console.run_command('gpt read host 0')
87 output = u_boot_console.run_command('part list host 0')
98 output = u_boot_console.run_command('gpt verify host 0')
108 output = u_boot_console.run_command('gpt guid host 0')
121 output = u_boot_console.run_command('printenv newguid')
133 u_boot_console.run_command('gpt rename host 0 1 first')
134 output = u_boot_console.run_command('gpt read host 0')
137 output = u_boot_console.run_command('gpt read host 0')
139 output = u_boot_console.run_command('part list host 0')
152 output = u_boot_console.run_command('part list host 0')
[all …]
A Dtest_fpga.py110 output = u_boot_console.run_command('fpga')
145 u_boot_console.run_command('setenv fpga')
167 u_boot_console.run_command('setenv fpga')
263 u_boot_console.run_command('imi %x' % (addr))
282 u_boot_console.run_command('imi %x' % (addr))
296 u_boot_console.run_command('imi %x' % (addr))
303 u_boot_console.run_command('setenv fpga')
313 u_boot_console.run_command('imi %x' % (addr))
338 u_boot_console.run_command('setenv fpga')
395 u_boot_console.run_command('setenv fpga')
[all …]
A Dtest_efi_selftest.py18 u_boot_console.run_command(cmd='setenv efi_selftest')
36 u_boot_console.run_command(cmd='setenv efi_selftest list')
37 output = u_boot_console.run_command('bootefi selftest')
57 u_boot_console.run_command(cmd='setenv efi_selftest list')
58 output = u_boot_console.run_command('bootefi selftest')
76 output = u_boot_console.run_command(cmd='bootefi selftest',
84 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False,
92 u_boot_console.run_command(cmd=chr(8), wait_for_echo=False,
100 u_boot_console.run_command(cmd=chr(9), wait_for_echo=False,
146 output = u_boot_console.run_command(cmd='bootefi selftest',
[all …]
A Dtest_env.py140 state_test_env.u_boot_console.run_command(
286 c.run_command('env export %s' % addr)
323 c.run_command('env export %s' % addr)
351 response = c.run_command('env info')
386 response = c.run_command('env info')
395 response = c.run_command('echo $?')
399 response = c.run_command('echo $?')
403 response = c.run_command('echo $?')
455 response = c.run_command('env save')
475 response = c.run_command('echo $?')
[all …]
A Dtest_gpio.py10 response = u_boot_console.run_command('gpio input 0; echo rc:$?')
13 response = u_boot_console.run_command('gpio toggle 0; gpio input 0; echo rc:$?')
24 response = u_boot_console.run_command('gpio clear 0; echo rc:$?')
26 response = u_boot_console.run_command('gpio set 0; echo rc:$?')
28 response = u_boot_console.run_command('gpio toggle 0; echo rc:$?')
30 response = u_boot_console.run_command('gpio status -a; echo rc:$?')
34 response = u_boot_console.run_command('gpio nonexistent-command; echo rc:$?')
36 response = u_boot_console.run_command('gpio input 200; echo rc:$?')
A Dtest_button.py10 response = u_boot_console.run_command('button list; echo rc:$?')
25 u_boot_console.run_command('gpio set a3; gpio input a3');
26 response = u_boot_console.run_command('button button1; echo rc:$?')
30 u_boot_console.run_command('gpio clear a3; gpio input a3');
31 response = u_boot_console.run_command('button button1; echo rc:$?')
35 response = u_boot_console.run_command('button nonexistent-button; echo rc:$?')
A Dtest_efi_loader.py64 u_boot_console.run_command('usb start')
68 u_boot_console.run_command('pci enum')
85 u_boot_console.run_command('setenv autoload no')
86 output = u_boot_console.run_command('dhcp')
108 u_boot_console.run_command('setenv %s %s' % (var, val))
131 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
145 output = u_boot_console.run_command('crc32 %x $filesize' % addr)
161 output = u_boot_console.run_command('bootefi %x' % addr)
175 output = u_boot_console.run_command('bootefi hello')
190 u_boot_console.run_command('bootefi %x' % addr, wait_for_prompt=False)
[all …]
A 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 …]
A 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('')
A Dtest_dm.py9 response = u_boot_console.run_command('dm tree')
15 response = u_boot_console.run_command('dm compat')
22 response = u_boot_console.run_command('dm compat')
24 response = u_boot_console.run_command('dm drivers')
31 response = u_boot_console.run_command('dm static')
33 response = u_boot_console.run_command('dm drivers')
A 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')
45 output = u_boot_console.run_command('pinmux list')
53 output = u_boot_console.run_command('pinmux dev ' + pincontroller)
62 output = u_boot_console.run_command('pinmux dev ' + pincontroller)
71 output = u_boot_console.run_command('pinmux status')
A Dtest_pstore.py47 u_boot_console.run_command('')
49 response = u_boot_console.run_command('pstore display')
57 u_boot_console.run_command('')
59 response = u_boot_console.run_command('pstore display dump 1')
69 u_boot_console.run_command('')
71 u_boot_console.run_command('pstore save hostfs - %s' % (outdir))
A 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)
/u-boot/test/py/tests/test_android/
A 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()
79 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
82 response = u_boot_console.run_command('avb read_rb 1')
94 response = u_boot_console.run_command('avb is_unlocked')
104 response = u_boot_console.run_command('mmc rescan; mmc dev %s 0' %
119 response = u_boot_console.run_command('cmp 0x%x 0x%x 40' %
[all …]
A Dtest_abootimg.py127 u_boot_console.run_command('setenv loadaddr 0x%x' % (loadaddr))
132 response = u_boot_console.run_command('abootimg get ver')
134 u_boot_console.run_command('abootimg get ver v')
135 response = u_boot_console.run_command('env print v')
147 u_boot_console.run_command('abootimg get dtb_load_addr a')
148 response = u_boot_console.run_command('env print a')
152 u_boot_console.run_command('abootimg get dtb --index=1 dtb1_start')
153 response = u_boot_console.run_command('env print dtb1_start')
156 u_boot_console.run_command('fdt addr $dtb1_start')
157 u_boot_console.run_command('fdt get value v / model')
[all …]
A 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')
/u-boot/test/cmd/
A Dsetexpr.c31 ut_assertok(run_command("setexpr.b fred 0", 0)); in setexpr_test_int()
33 ut_assertok(run_command("setexpr.b fred *0", 0)); in setexpr_test_int()
38 ut_assertok(run_command("setexpr.w fred 0", 0)); in setexpr_test_int()
40 ut_assertok(run_command("setexpr.w fred *0", 0)); in setexpr_test_int()
45 ut_assertok(run_command("setexpr.l fred 0", 0)); in setexpr_test_int()
47 ut_assertok(run_command("setexpr.l fred *0", 0)); in setexpr_test_int()
52 ut_assertok(run_command("setexpr.q fred 0", 0)); in setexpr_test_int()
54 ut_assertok(run_command("setexpr.q fred *0", 0)); in setexpr_test_int()
58 ut_assertok(run_command("setexpr fred 0", 0)); in setexpr_test_int()
60 ut_assertok(run_command("setexpr fred *0", 0)); in setexpr_test_int()
[all …]
A Dpwm.c27 ut_assertok(run_command("pwm invert 0 0 1", 0)); in dm_test_pwm_cmd()
30 ut_assertok(run_command("pwm invert 0 0 0", 0)); in dm_test_pwm_cmd()
34 ut_assertok(run_command("pwm config 0 0 10 50", 0)); in dm_test_pwm_cmd()
38 ut_assertok(run_command("pwm enable 0 0", 0)); in dm_test_pwm_cmd()
41 ut_assertok(run_command("pwm disable 0 0", 0)); in dm_test_pwm_cmd()
A Dmem_search.c32 run_command("ms.b 1 ff 12", 0); in mem_test_ms_b()
59 run_command("ms.w 0 80 1234", 0); in mem_test_ms_w()
84 run_command("ms 0 40 12345678", 0); in mem_test_ms_l()
94 run_command("ms 0 80 12345679", 0); in mem_test_ms_l()
121 run_command("ms.b 0 100 34", 0); in mem_test_ms_cont()
172 run_command("ms.b 1 ff 12", 0); in mem_test_ms_cont_end()
214 run_command("ms.b 0 100 68 65 6c 6c 6f", 0); in mem_test_ms_mult()
244 run_command("ms.s 0 100 hello", 0); in mem_test_ms_s()
259 run_command("ms.s 0 100 hello there", 0); in mem_test_ms_s()
286 run_command("ms.b -l2 1 ff 12", 0); in mem_test_ms_limit()
[all …]
/u-boot/test/
A Dcommand_ut.c21 run_command("env default -f -a", 0); in do_ut_cmd()
32 run_command("setenv list", 0); in do_ut_cmd()
44 assert(run_command("false", 0) == 1); in do_ut_cmd()
45 assert(run_command("echo", 0) == 0); in do_ut_cmd()
50 run_command("setenv foo 'setenv black 1\nsetenv adder 2'", 0); in do_ut_cmd()
51 run_command("run foo", 0); in do_ut_cmd()
58 assert(run_command("", 0) == 0); in do_ut_cmd()
59 assert(run_command(" ", 0) == 0); in do_ut_cmd()
61 assert(run_command("'", 0) == 1); in do_ut_cmd()
/u-boot/test/log/
A Dlog_filter.c18 ut_asserteq(1, run_command("log filter-add -AD", 0)); in log_test_filter_invalid()
19 ut_asserteq(1, run_command("log filter-add -l1 -L1", 0)); in log_test_filter_invalid()
20 ut_asserteq(1, run_command("log filter-add -l1 -L1", 0)); in log_test_filter_invalid()
21 ut_asserteq(1, run_command("log filter-add -lfoo", 0)); in log_test_filter_invalid()
22 ut_asserteq(1, run_command("log filter-add -cfoo", 0)); in log_test_filter_invalid()
23 ut_asserteq(1, run_command("log filter-add -ccore -ccore -ccore -ccore " in log_test_filter_invalid()
43 ut_assertok(run_command("log filter-add -p " args, 0)); \ in log_test_filter()
78 ut_assertok(run_command(cmd, 0)); \ in log_test_filter()
100 ut_assertok(run_command("log filter-remove -a", 0)); in log_test_filter()
/u-boot/test/py/tests/test_fs/
A 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(
260 output = u_boot_console.run_command(
270 output = u_boot_console.run_command(
289 output = u_boot_console.run_command(
[all …]

Completed in 37 milliseconds

1234