| /u-boot/test/py/tests/test_efi_secboot/ |
| A D | test_signed.py | 34 assert 'Hello, world!' in ''.join(output) 42 assert 'Hello, world!' in ''.join(output) 70 assert '\'HELLO2\' failed' in ''.join(output) 82 assert '\'HELLO2\' failed' in ''.join(output) 87 assert 'Hello, world!' in ''.join(output) 110 assert '\'HELLO\' failed' in ''.join(output) 122 assert '\'HELLO\' failed' in ''.join(output) 175 assert 'Hello, world!' in ''.join(output) 186 assert 'Hello, world!' in ''.join(output) 198 assert 'Hello, world!' in ''.join(output) [all …]
|
| A D | test_authvar.py | 50 assert 'PK:' in ''.join(output) 82 assert 'KEK:' in ''.join(output) 100 assert 'db:' in ''.join(output) 118 assert 'dbx:' in ''.join(output) 142 assert 'db:' in ''.join(output) 163 assert 'db:' in ''.join(output) 183 assert 'db:' in ''.join(output) 204 assert 'db:' in ''.join(output) 224 assert 'db:' in ''.join(output) 230 assert 'db:' in ''.join(output) [all …]
|
| A D | test_signed_intca.py | 39 assert 'Failed to set EFI variable' not in ''.join(output) 45 assert '\'HELLO_a\' failed' in ''.join(output) 46 assert 'efi_start_image() returned: 26' in ''.join(output) 54 assert 'Hello, world!' in ''.join(output) 70 assert 'Failed to set EFI variable' not in ''.join(output) 76 assert '\'HELLO_abc\' failed' in ''.join(output) 77 assert 'efi_start_image() returned: 26' in ''.join(output) 86 assert '\'HELLO_abc\' failed' in ''.join(output) 96 assert 'Hello, world!' in ''.join(output) 122 assert 'Hello, world!' in ''.join(output) [all …]
|
| A D | test_unsigned.py | 35 assert 'Failed to set EFI variable' not in ''.join(output) 41 assert '\'HELLO\' failed' in ''.join(output) 45 assert 'efi_start_image() returned: 26' in ''.join(output) 46 assert 'Hello, world!' not in ''.join(output) 64 assert 'Failed to set EFI variable' not in ''.join(output) 70 assert 'Hello, world!' in ''.join(output) 88 assert 'Failed to set EFI variable' not in ''.join(output) 94 assert '\'HELLO\' failed' in ''.join(output) 99 assert 'Hello, world!' not in ''.join(output) 112 assert '\'HELLO\' failed' in ''.join(output) [all …]
|
| /u-boot/test/py/tests/test_efi_capsule/ |
| A D | test_capsule_firmware.py | 55 assert 'Old' in ''.join(output) 62 assert 'Old' in ''.join(output) 69 assert 'Test01' in ''.join(output) 84 assert 'Test01' in ''.join(output) 93 assert 'Test01' in ''.join(output) 99 assert 'u-boot:Old' in ''.join(output) 130 assert 'Old' in ''.join(output) 137 assert 'Old' in ''.join(output) 144 assert 'Test01' in ''.join(output) 204 assert 'Old' in ''.join(output) [all …]
|
| /u-boot/test/py/tests/test_fs/ |
| A D | test_basic.py | 54 assert('filesize=100000' in ''.join(output)) 96 assert(md5val[0] in ''.join(output)) 115 assert(md5val[1] in ''.join(output)) 136 assert(md5val[2] in ''.join(output)) 157 assert(md5val[3] in ''.join(output)) 178 assert(md5val[4] in ''.join(output)) 199 assert(md5val[5] in ''.join(output)) 216 assert('filesize=100000' in ''.join(output)) 240 assert(md5val[0] in ''.join(output)) 282 assert(md5val[0] in ''.join(output)) [all …]
|
| A D | test_symlink.py | 32 assert('' in ''.join(output)) 37 assert('filesize=100000' in ''.join(output)) 43 assert(md5val[0] in ''.join(output)) 61 assert('' in ''.join(output)) 66 assert('filesize=100000' in ''.join(output)) 72 assert(md5val[0] in ''.join(output)) 87 assert('' in ''.join(output)) 92 assert('filesize=a00000' in ''.join(output)) 97 assert(md5val[1] in ''.join(output)) 108 assert(md5val[1] in ''.join(output)) [all …]
|
| A D | test_unlink.py | 28 assert('' == ''.join(output)) 48 assert('' == ''.join(output)) 64 assert('nofile: doesn\'t exist' in ''.join(output)) 76 assert('' == ''.join(output)) 93 assert('directory is not empty' in ''.join(output)) 105 assert('directory is not empty' in ''.join(output)) 117 assert('directory is not empty' in ''.join(output))
|
| A D | test_ext.py | 31 assert('20480 bytes written' in ''.join(output)) 39 assert(md5val[0] in ''.join(output)) 54 assert('20480 bytes written' in ''.join(output)) 62 assert(md5val[0] in ''.join(output)) 102 assert('filesize=6400' in ''.join(output)) 110 assert(md5val[1] in ''.join(output)) 135 assert('filesize=2800' in ''.join(output)) 143 assert(md5val[2] in ''.join(output)) 168 assert('filesize=0' in ''.join(output)) 193 assert('filesize=a000' in ''.join(output)) [all …]
|
| A D | test_mkdir.py | 27 assert('dir1/' in ''.join(output)) 46 assert('dir2/' in ''.join(output)) 64 assert('Unable to create a directory' in ''.join(output)) 76 assert('Unable to create a directory' in ''.join(output)) 88 assert('Unable to create a directory' in ''.join(output)) 102 assert('dir6/' in ''.join(output))
|
| /u-boot/test/py/tests/ |
| A D | test_pstore.py | 23 os.path.join(u_boot_console.config.source_dir, PSTORE_PANIC1)), 25 os.path.join(u_boot_console.config.source_dir, PSTORE_PANIC2)), 27 os.path.join(u_boot_console.config.source_dir, PSTORE_CONSOLE)), 36 assert('filesize=%x' % (filesize) in ''.join(output)) 41 assert(checksum in ''.join(output))
|
| /u-boot/scripts/kconfig/tests/ |
| A D | conftest.py | 18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf')) 62 shutil.copyfile(os.path.join(self._test_dir, dot_config), 63 os.path.join(temp_dir, '.config')) 90 with open(os.path.join(temp_dir, out_file)) as f: 100 print("[command]\n{}\n".format(' '.join(command))) 150 defconfig_path = os.path.join(self._test_dir, defconfig) 155 all_config_path = os.path.join(self._test_dir, all_config) 226 with open(os.path.join(self._test_dir, expected)) as f:
|
| /u-boot/test/py/tests/test_fs/test_squashfs/ |
| A D | sqfs_common.py | 15 return ''.join(letters) 34 src = os.path.join(build_dir, "sqfs_src/") 42 sqfs_img = os.path.join(build_dir, "sqfs-" + self.name) 52 src = os.path.join(build_dir, "sqfs_src/") 60 sqfs_img = os.path.join(build_dir, "sqfs-" + self.name)
|
| /u-boot/doc/sphinx/ |
| A D | kfigure.py | 217 src_fname = path.join(translator.builder.srcdir, img_node['uri']) 235 dst_fname = path.join(translator.builder.outdir, fname + '.pdf') 241 dst_fname = path.join( 245 img_node['uri'] = path.join( 248 '*': path.join(translator.builder.imgpath, fname + '.svg')} 439 fname = path.join('%s-%s' % (srclang, sha1(hashobj).hexdigest())) 441 tmp_fname = path.join( 450 img_node['uri'] = path.join(self.builder.imgpath, fname + tmp_ext) 452 '*': path.join(self.builder.imgpath, fname + tmp_ext)} 492 srclang, ",".join(RENDER_MARKUP_EXT.keys())), [all …]
|
| /u-boot/tools/patman/ |
| A D | project.py | 21 if os.path.exists(os.path.join(top_level, "include", "u-boot")): 23 elif os.path.exists(os.path.join(top_level, "kernel")):
|
| A D | tools.py | 95 return os.path.join(outdir, fname) 139 pathname = os.path.join(dirname, fname) 146 (fname, ','.join(indir), os.getcwd())) 161 pathname = os.path.join(dirname, pattern) 195 if os.path.exists(os.path.join(dir, fname)): 337 env['PATH'] = ':'.join(tool_search_paths) + ':' + env['PATH'] 350 (result.return_code,' '.join(all_args), 382 fname = os.path.join(chroot_path, fname[3:]) 389 pathname = os.path.join(path, os.path.basename(fname))
|
| /u-boot/tools/ |
| A D | microcode-tool.py | 30 for value in ''.join(data).split(','): 132 print('Matching models %s:' % (', '.join(tried))) 238 outfile = os.path.join(MICROCODE_DIR, mcode.name + '.dtsi') 240 ', '.join([mcode.name for mcode in mcodes]), outfile), file=sys.stderr) 292 print('\n'.join(license_text)) 305 (model, ', '.join(tried))) 309 (model, ', '.join(tried), 310 ', '.join([m.name for m in mcode_list])))
|
| A D | microcode-tool | 30 for value in ''.join(data).split(','): 132 print('Matching models %s:' % (', '.join(tried))) 238 outfile = os.path.join(MICROCODE_DIR, mcode.name + '.dtsi') 240 ', '.join([mcode.name for mcode in mcodes]), outfile), file=sys.stderr) 292 print('\n'.join(license_text)) 305 (model, ', '.join(tried))) 309 (model, ', '.join(tried), 310 ', '.join([m.name for m in mcode_list])))
|
| A D | genboardscfg.py | 75 filepath = os.path.join(dirpath, filename) 85 filepath = os.path.join(dirpath, filename) 96 if not os.path.exists(os.path.join(CONFIG_DIR, defconfig)): 232 all_defconfigs.append(os.path.join(dirpath, filename)) 260 p.join() 312 return ':'.join(self.database[target][1]) 362 database.parse_file(os.path.join(dirpath, 'MAINTAINERS')) 401 f.write(COMMENT_BLOCK + '\n'.join(output_lines) + '\n')
|
| A D | moveconfig.py | 425 pattern = os.path.join('configs', line) 714 tolines[i] = start + ','.join(new_tokens) + end 761 f.write(''.join(lines)) 801 f.write(''.join(newlines)) 878 self.dotconfig = os.path.join(build_dir, '.config') 1414 boards = '\n'.join(boards) + '\n' 1433 boards = '\n'.join(boards) + '\n' 1493 print('Move ' + ', '.join(configs), end=' ') 1601 fd.write('\n'.join(data) + '\n') 1924 db_queue.join() [all …]
|
| /u-boot/tools/binman/ |
| A D | elf.py | 53 re_syms = re.compile('|'.join(patterns)) 158 s_file = os.path.join(outdir, 'elf.S') 190 ''' % ('\n'.join(text_bytes1), '\n'.join(text_bytes2), '\n'.join(data_bytes)), 192 lds_file = os.path.join(outdir, 'elf.lds')
|
| A D | elf_test.py | 66 testdir = os.path.join(binman_dir, 'test') 74 os.path.join(testdir, 'Makefile'), 'SRC=%s/' % testdir) 91 return os.path.join(cls._indir, fname) 185 elf_fname = os.path.join(outdir, 'elf') 186 bin_fname = os.path.join(outdir, 'bin') 206 elf_fname = os.path.join(outdir, 'elf')
|
| A D | binman | 22 sys.path.insert(2, os.path.join(our_path, '..')) 28 sys.path.insert(2, os.path.join(our_path, '../../scripts/dtc/pylibfdt')) 29 sys.path.insert(2, os.path.join(our_path,
|
| /u-boot/tools/buildman/ |
| A D | control.py | 81 print(' %s' % ' '.join(why_selected[arg])) 134 fname = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 142 options.git_dir = os.path.join(options.git, '.git') 152 ' '.join(sorted_list))) 157 fetch_arch = ','.join(toolchains.ListArchs()) 187 board_file = os.path.join(options.output_dir, 'boards.cfg') 189 genboardscfg = os.path.join(our_path, '../genboardscfg.py') 191 genboardscfg = os.path.join(options.git, 'tools/genboardscfg.py') 306 gnu_make = command.Output(os.path.join(options.git, 318 output_dir = os.path.join(options.output_dir, dirname)
|
| /u-boot/scripts/dtc/pylibfdt/ |
| A D | setup.py | 83 makevars = ParseMakefile(os.path.join(basedir, 'Makefile')) 86 makevars = ParseMakefile(os.path.join(basedir, 'libfdt', 'Makefile.libfdt')) 88 files = [os.path.join(basedir, 'libfdt', fname) for fname in files]
|