/u-boot/test/py/tests/ |
A D | test_tpm2.py | 25 def force_init(u_boot_console, force=False): argument 44 def test_tpm2_init(u_boot_console): argument 52 def test_tpm2_startup(u_boot_console): argument 86 def test_tpm2_clear(u_boot_console): argument 116 force_init(u_boot_console) 140 force_init(u_boot_console) 162 force_init(u_boot_console) 185 force_init(u_boot_console) 212 force_init(u_boot_console) 230 def test_tpm2_cleanup(u_boot_console): argument [all …]
|
A D | test_efi_selftest.py | 11 def test_efi_selftest(u_boot_console): argument 23 u_boot_console.restart_uboot() 47 u_boot_console.restart_uboot() 65 u_boot_console.restart_uboot() 86 m = u_boot_console.p.expect( 94 m = u_boot_console.p.expect( 102 m = u_boot_console.p.expect( 110 m = u_boot_console.p.expect( 118 m = u_boot_console.p.expect( 156 m = u_boot_console.p.expect( [all …]
|
A D | test_fpga.py | 66 def check_dev(u_boot_console): argument 78 dev, f = check_dev(u_boot_console) 100 def test_fpga_fail(u_boot_console): argument 108 def test_fpga_help(u_boot_console): argument 117 def test_fpga_dump(u_boot_console): argument 130 dev, f = check_dev(u_boot_console) 141 dev, f = check_dev(u_boot_console) 150 def test_fpga_info(u_boot_console): argument 204 def test_fpga_load(u_boot_console): argument 214 def test_fpga_loadp(u_boot_console): argument [all …]
|
A D | test_gpt.py | 19 def __init__(self, u_boot_console): argument 59 u_boot_utils.run_and_log(u_boot_console, cmd) 63 def state_disk_image(u_boot_console): argument 71 gtdi = GptTestDiskImage(u_boot_console) 78 def test_gpt_read(state_disk_image, u_boot_console): argument 82 output = u_boot_console.run_command('gpt read host 0') 94 def test_gpt_verify(state_disk_image, u_boot_console): argument 104 def test_gpt_guid(state_disk_image, u_boot_console): argument 108 output = u_boot_console.run_command('gpt guid host 0') 114 def test_gpt_save_guid(state_disk_image, u_boot_console): argument [all …]
|
A D | test_efi_loader.py | 55 def test_efi_pre_commands(u_boot_console): argument 68 u_boot_console.run_command('pci enum') 71 def test_efi_setup_dhcp(u_boot_console): argument 93 def test_efi_setup_static(u_boot_console): argument 152 def test_efi_helloworld_net(u_boot_console): argument 181 def test_efi_grub_net(u_boot_console): argument 195 u_boot_console.wait_for('grub>') 197 u_boot_console.wait_for('SMBIOS') 200 u_boot_console.wait_for('grub>') 202 u_boot_console.wait_for(u_boot_console.prompt) [all …]
|
A D | test_pstore.py | 18 def load_pstore(u_boot_console): argument 21 output = u_boot_console.run_command_list([ 33 output = u_boot_console.run_command_list([ 38 output = u_boot_console.run_command_list([ 47 u_boot_console.run_command('') 48 load_pstore(u_boot_console) 57 u_boot_console.run_command('') 58 load_pstore(u_boot_console) 64 def test_pstore_save_records(u_boot_console): argument 69 u_boot_console.run_command('') [all …]
|
A D | test_shell_basics.py | 10 def test_shell_execute(u_boot_console): argument 16 def test_shell_semicolon_two(u_boot_console): argument 20 response = u_boot_console.run_command(cmd) 24 def test_shell_semicolon_three(u_boot_console): argument 30 response = u_boot_console.run_command(cmd) 32 u_boot_console.run_command('setenv list') 34 def test_shell_run(u_boot_console): argument 38 u_boot_console.run_command('run foo') 43 u_boot_console.run_command('setenv foo') 44 u_boot_console.run_command('setenv monty') [all …]
|
A D | test_net.py | 62 def test_net_pre_commands(u_boot_console): argument 71 u_boot_console.run_command('usb start') 75 u_boot_console.run_command('pci enum') 78 def test_net_dhcp(u_boot_console): argument 89 u_boot_console.run_command('setenv autoload no') 90 output = u_boot_console.run_command('dhcp') 97 def test_net_setup_static(u_boot_console): argument 115 def test_net_ping(u_boot_console): argument 126 output = u_boot_console.run_command('ping $serverip') 130 def test_net_tftpboot(u_boot_console): argument [all …]
|
A D | test_bind.py | 29 def test_bind_unbind_with_node(u_boot_console): argument 31 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') [all …]
|
A D | test_sandbox_exit.py | 10 def test_poweroff(u_boot_console): argument 14 assert(u_boot_console.validate_exited()) 17 def test_ctrl_c(u_boot_console): argument 20 u_boot_console.kill(signal.SIGINT) 21 assert(u_boot_console.validate_exited()) 26 def test_exception_reset(u_boot_console): argument 30 m = u_boot_console.p.expect(['resetting ...', 'U-Boot']) 33 m = u_boot_console.p.expect(['U-Boot', '=>']) 36 u_boot_console.restart_uboot() 41 def test_exception_exit(u_boot_console): argument [all …]
|
A D | test_sf.py | 47 def sf_prepare(u_boot_console, env__sf_config): argument 72 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) 170 def test_sf_read(u_boot_console, env__sf_config): argument 189 def test_sf_erase(u_boot_console, env__sf_config): argument 199 output = u_boot_console.run_command(cmd) 203 u_boot_console.run_command(cmd) [all …]
|
A D | test_ums.py | 99 u_boot_console.log.warning( 136 u_boot_console.log.action( 139 u_boot_console.run_command(cmd, wait_for_prompt=False) 140 u_boot_console.wait_for(re.compile('UMS: LUN.*[\r\n]')) 158 u_boot_utils.run_and_log(u_boot_console, cmd) 173 u_boot_console.log.action('Unmounting UMS device') 193 u_boot_console.log.action( 195 u_boot_console.ctrlc() 209 u_boot_utils.run_and_log(u_boot_console, cmd) 213 u_boot_utils.run_and_log(u_boot_console, cmd) [all …]
|
/u-boot/test/py/tests/test_efi_secboot/ |
A D | test_authvar.py | 24 u_boot_console.restart_uboot() 33 output = u_boot_console.run_command( 52 output = u_boot_console.run_command( 55 output = u_boot_console.run_command( 84 output = u_boot_console.run_command( 102 output = u_boot_console.run_command( 120 output = u_boot_console.run_command( 128 u_boot_console.restart_uboot() 169 u_boot_console.restart_uboot() 210 u_boot_console.restart_uboot() [all …]
|
A D | test_signed.py | 25 u_boot_console.restart_uboot() 27 with u_boot_console.log.section('Test Case 1a'): 29 output = u_boot_console.run_command_list([ 38 output = u_boot_console.run_command_list([ 49 u_boot_console.restart_uboot() 53 output = u_boot_console.run_command_list([ 60 output = u_boot_console.run_command_list([ 93 u_boot_console.restart_uboot() 129 u_boot_console.restart_uboot() 157 u_boot_console.restart_uboot() [all …]
|
A D | test_signed_intca.py | 27 u_boot_console.restart_uboot() 29 with u_boot_console.log.section('Test Case 1a'): 31 output = u_boot_console.run_command_list([ 41 output = u_boot_console.run_command_list([ 50 output = u_boot_console.run_command_list([ 60 u_boot_console.restart_uboot() 64 output = u_boot_console.run_command_list([ 72 output = u_boot_console.run_command_list([ 81 output = u_boot_console.run_command_list([ 91 output = u_boot_console.run_command_list([ [all …]
|
A D | test_unsigned.py | 25 u_boot_console.restart_uboot() 27 with u_boot_console.log.section('Test Case 1'): 29 output = u_boot_console.run_command_list([ 37 output = u_boot_console.run_command_list([ 42 output = u_boot_console.run_command_list([ 52 u_boot_console.restart_uboot() 54 with u_boot_console.log.section('Test Case 2'): 56 output = u_boot_console.run_command_list([ 66 output = u_boot_console.run_command_list([ 76 u_boot_console.restart_uboot() [all …]
|
/u-boot/test/py/tests/test_android/ |
A D | test_abootimg.py | 67 def __init__(self, u_boot_console): argument 102 u_boot_utils.run_and_log(u_boot_console, cmd) 106 def abootimg_disk_image(u_boot_console): argument 114 gtdi = AbootimgTestDiskImage(u_boot_console) 123 def test_abootimg(abootimg_disk_image, u_boot_console): argument 134 u_boot_console.run_command('abootimg get ver v') 135 response = u_boot_console.run_command('env print v') 148 response = u_boot_console.run_command('env print a') 156 u_boot_console.run_command('fdt addr $dtb1_start') 157 u_boot_console.run_command('fdt get value v / model') [all …]
|
A D | test_avb.py | 28 def test_avb_verify(u_boot_console): argument 36 response = u_boot_console.run_command('avb verify') 42 def test_avb_mmc_uuid(u_boot_console): argument 50 response = u_boot_console.run_command('mmc rescan; mmc dev %s' % 75 def test_avb_read_rb(u_boot_console): argument 82 response = u_boot_console.run_command('avb read_rb 1') 87 def test_avb_is_unlocked(u_boot_console): argument 94 response = u_boot_console.run_command('avb is_unlocked') 100 def test_avb_mmc_read(u_boot_console): argument 119 response = u_boot_console.run_command('cmp 0x%x 0x%x 40' % [all …]
|
A D | test_ab.py | 13 def __init__(self, u_boot_console): argument 26 self.path = u_boot_console.config.result_dir + '/' + filename 38 u_boot_utils.run_and_log(u_boot_console, cmd) 42 u_boot_utils.run_and_log(u_boot_console, cmd) 44 u_boot_utils.run_and_log(u_boot_console, cmd) 47 u_boot_utils.run_and_log(u_boot_console, cmd) 51 def ab_disk_image(u_boot_console): argument 54 di = ABTestDiskImage(u_boot_console) 61 def test_ab(ab_disk_image, u_boot_console): argument 69 output = u_boot_console.run_command('printenv slot_name') [all …]
|
/u-boot/test/py/tests/test_efi_capsule/ |
A D | test_capsule_firmware.py | 40 output = u_boot_console.run_command_list([ 49 output = u_boot_console.run_command_list([ 56 output = u_boot_console.run_command_list([ 65 output = u_boot_console.run_command_list([ 72 u_boot_console.restart_uboot() 87 output = u_boot_console.run_command( 90 output = u_boot_console.run_command_list([ 147 u_boot_console.restart_uboot() 162 output = u_boot_console.run_command( 214 u_boot_console.restart_uboot() [all …]
|
/u-boot/test/py/tests/test_fs/ |
A D | test_basic.py | 19 def test_fs1(self, u_boot_console, fs_obj_basic): argument 26 output = u_boot_console.run_command_list([ 34 output = u_boot_console.run_command( 41 def test_fs2(self, u_boot_console, fs_obj_basic): argument 49 output = u_boot_console.run_command_list([ 58 output = u_boot_console.run_command_list([ 64 def test_fs3(self, u_boot_console, fs_obj_basic): argument 72 output = u_boot_console.run_command_list([ 79 def test_fs4(self, u_boot_console, fs_obj_basic): argument 98 def test_fs5(self, u_boot_console, fs_obj_basic): argument [all …]
|
A D | test_ext.py | 19 def test_fs_ext1(self, u_boot_console, fs_obj_ext): argument 26 output = u_boot_console.run_command_list([ 34 output = u_boot_console.run_command_list([ 49 output = u_boot_console.run_command_list([ 92 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( [all …]
|
A D | test_unlink.py | 18 def test_unlink1(self, u_boot_console, fs_obj_unlink): argument 24 output = u_boot_console.run_command_list([ 30 output = u_boot_console.run_command( 36 def test_unlink2(self, u_boot_console, fs_obj_unlink): argument 50 output = u_boot_console.run_command( 61 output = u_boot_console.run_command_list([ 73 output = u_boot_console.run_command_list([ 78 output = u_boot_console.run_command( 90 output = u_boot_console.run_command_list([ 102 output = u_boot_console.run_command_list([ [all …]
|
A D | test_mkdir.py | 17 def test_mkdir1(self, u_boot_console, fs_obj_mkdir): argument 23 output = u_boot_console.run_command_list([ 29 output = u_boot_console.run_command( 36 def test_mkdir2(self, u_boot_console, fs_obj_mkdir): argument 42 output = u_boot_console.run_command_list([ 48 output = u_boot_console.run_command( 61 output = u_boot_console.run_command_list([ 73 output = u_boot_console.run_command_list([ 105 output = u_boot_console.run_command( 112 output = u_boot_console.run_command( [all …]
|
A D | test_symlink.py | 21 def test_symlink1(self, u_boot_console, fs_obj_symlink): argument 27 output = u_boot_console.run_command_list([ 34 output = u_boot_console.run_command_list([ 40 output = u_boot_console.run_command_list([ 52 output = u_boot_console.run_command_list([ 63 output = u_boot_console.run_command_list([ 69 output = u_boot_console.run_command_list([ 81 output = u_boot_console.run_command_list([ 89 output = u_boot_console.run_command_list([ 94 output = u_boot_console.run_command_list([ [all …]
|