| /test/py/tests/test_fs/test_squashfs/ |
| A D | sqfs_common.py | 104 root = os.path.join(build_dir, SQFS_SRC_DIR) 110 generate_file(os.path.join(root, file_name), 4096) 114 generate_file(os.path.join(root, file_name), 5096) 118 generate_file(os.path.join(root, file_name), 1000) 121 subdir_path = os.path.join(root, 'subdir') 126 os.symlink('subdir', os.path.join(root, 'sym')) 129 os.makedirs(os.path.join(root, 'empty-dir')) 174 output_path = os.path.join(build_dir, out) 179 output_path = os.path.join(build_dir, out) 203 path = os.path.join(build_dir, SQFS_SRC_DIR) [all …]
|
| A D | test_sqfs_load.py | 15 def original_md5sum(path): argument 24 out = subprocess.run(['md5sum ' + path], shell=True, check=True, 65 original_file_path = os.path.join(build_dir, SQFS_SRC_DIR + '/' + file) 144 image_path = os.path.join(build_dir, image)
|
| /test/py/tests/ |
| A D | test_ut.py | 13 import os.path 27 if not os.path.exists(dirname): 123 bootdir = os.path.join(mnt, 'boot') 142 target = os.path.join(bootdir, kernel) 147 if os.path.exists(symlink): 181 ext = os.path.join(mnt, 'extlinux') 198 mkdir_cond(os.path.join(mnt, dtbdir)) 494 if not os.path.exists(fn): 501 if not os.path.exists(fn): 508 if not os.path.exists(fn): [all …]
|
| A D | test_of_migrate.py | 33 dt_dir = os.path.join(build_dir, 'arch', 'sandbox', 'dts') 34 orig_fname = os.path.join(dt_dir, 'sandbox.dtb') 35 out_dts = os.path.join(dt_dir, 'sandbox_out.dts') 44 dts_fname = os.path.join(dt_dir, 'sandbox_oldtag.dts') 47 dtb_fname = os.path.join(dt_dir, 'sandbox_oldtag.dtb') 73 ubman, [os.path.join(TMPDIR1, 'u-boot'), '-D', '-c', 'help'], 103 ubman, [os.path.join(TMPDIR3, 'u-boot'), '-D', '-c', 'help'],
|
| A D | test_vbe_vpl.py | 15 ram = os.path.join(ubman.config.build_dir, 'ram.bin') 16 fdt = os.path.join(ubman.config.build_dir, 'arch/sandbox/dts/test.dtb') 17 image_fname = os.path.join(ubman.config.build_dir, 'image.bin') 31 if os.path.exists(ram):
|
| A D | test_pstore.py | 23 os.path.join(ubman.config.source_dir, PSTORE_PANIC1)), 25 os.path.join(ubman.config.source_dir, PSTORE_PANIC2)), 27 os.path.join(ubman.config.source_dir, PSTORE_CONSOLE)), 30 def checkfile(ubman, path, filesize, checksum): argument 34 'load hostfs - %x %s' % (ADDR, path),
|
| A D | test_gpt.py | 64 self.path = ubman.config.result_dir + '/' + filename 67 if os.path.exists(persistent): 93 cmd = ('cp', persistent, self.path) 112 ubman.run_command('host bind 0 ' + state_disk_image.path) 129 ubman.run_command('host bind 0 ' + state_disk_image.path) 163 ubman.run_command('host bind 0 ' + state_disk_image.path) 173 ubman.run_command('host bind 0 ' + state_disk_image.path) 183 ubman.run_command('host bind 0 ' + state_disk_image.path) 192 ubman.run_command('host bind 0 ' + state_disk_image.path) 227 ubman.run_command('host bind 0 ' + state_disk_image.path) [all …]
|
| A D | test_upl.py | 22 ram = os.path.join(ubman.config.build_dir, 'ram.bin') 23 fdt = os.path.join(ubman.config.build_dir, 'u-boot.dtb') 26 if os.path.exists(ram):
|
| A D | test_source.py | 14 mkimage = os.path.join(ubman.config.build_dir, 'tools/mkimage') 15 its = os.path.join(ubman.config.source_dir, 'test/py/tests/source.its') 16 fit = os.path.join(ubman.config.build_dir, 'source.itb')
|
| A D | vboot_evil.py | 69 path = '/' 88 if path[-1] != '/': 89 path += '/' 91 path += str(node_name) 93 if path == searched_node_name: 110 node_path = path + '/' + str(prop_name) 118 path = path[:path.rfind('/')] 119 if not path: 120 path = '/'
|
| A D | test_efi_fit.py | 56 import os.path 249 return os.path.join(ubman.config.build_dir, file_name) 338 hello_bin = os.path.basename(make_efi('test-efi-helloworld.efi', 'helloworld.efi', comp)) 339 dtbdump_bin = os.path.basename(make_efi('test-efi-dtbdump.efi', 'dtbdump.efi', comp)) 340 … initrddump_bin = os.path.basename(make_efi('test-efi-initrddump.efi', 'initrddump.efi', comp)) 341 fdt_bin = os.path.basename(make_dtb('user', comp)) 343 initrd_fs = os.path.basename(initrd_fs) 485 fit['fn'] = os.path.basename(fit_path) 486 fit['size'] = os.path.getsize(fit_path)
|
| A D | test_spl.py | 5 import os.path 13 if not os.path.exists(fn):
|
| A D | test_cleanup_build.py | 20 if os.path.realpath(u_boot_config.source_dir) == os.path.realpath( 83 rel_path = pathlib.Path(os.path.relpath(abs_path, search_dir))
|
| A D | test_extension.py | 18 …ubman.run_command('host load hostfs - $fdt_addr_r %s' % (os.path.join(ubman.config.build_dir, SAND… 42 …d hostfs - ${extension_overlay_addr} %s${extension_overlay_name}\'' % (os.path.join(ubman.config.b…
|
| A D | fs_helper.py | 27 fs_img = os.path.join(config.persistent_data_dir, fs_img) 93 fname = os.path.join(ubman.config.source_dir, f'{basename}{devnum}.img') 94 mnt = os.path.join(ubman.config.persistent_data_dir, 'scratch')
|
| A D | test_trace.py | 67 fname = os.path.join(TMPDIR, 'trace') 309 if not os.path.exists(TMPDIR): 311 proftool = os.path.join(ubman.config.build_dir, 'tools', 'proftool') 312 map_fname = os.path.join(ubman.config.build_dir, 'System.map') 313 trace_dat = os.path.join(TMPDIR, 'trace.dat') 314 trace_fg = os.path.join(TMPDIR, 'trace.fg')
|
| A D | test_fit_mkimage_validate.py | 52 mkimage = os.path.join(ubman.config.build_dir, 'tools/mkimage') 99 mkimage = os.path.join(ubman.config.build_dir, 'tools/mkimage')
|
| /test/py/tests/test_fs/ |
| A D | test_erofs.py | 35 root = os.path.join(build_dir, EROFS_SRC_DIR) 39 generate_file(os.path.join(root, 'f4096'), 4096) 42 generate_file(os.path.join(root, 'f7812'), 7812) 45 subdir_path = os.path.join(root, 'subdir') 50 os.symlink('subdir', os.path.join(root, 'symdir')) 51 os.symlink('f7812', os.path.join(root, 'symfile')) 53 input_path = os.path.join(build_dir, EROFS_SRC_DIR) 54 output_path = os.path.join(build_dir, EROFS_IMAGE_NAME) 63 path = os.path.join(build_dir, EROFS_SRC_DIR) 64 shutil.rmtree(path) [all …]
|
| /test/fdt_overlay/ |
| A D | test-fdt-overlay.dtso | 49 /* Test that we add a new node (by path) */ 51 target-path = "/"; 61 target-path = "/"; 71 target-path = "/"; 79 target-path = "/";
|
| /test/py/ |
| A D | test.py | 11 import os.path 17 args = [os.path.dirname(__file__) + '/tests']
|
| A D | utils.py | 11 import os.path 81 if os.path.exists(self.abs_fn): 280 self.module_timestamp = os.path.getmtime(self.module_filename) 282 if os.path.exists(self.filename): 283 filename_timestamp = os.path.getmtime(self.filename) 298 filename_timestamp = os.path.getmtime(self.filename)
|
| A D | conftest.py | 21 import os.path 35 TEST_PY_DIR = os.path.dirname(os.path.abspath(__file__)) 40 def mkdir_p(path): argument 54 os.makedirs(path) 56 if exc.errno == errno.EEXIST and os.path.isdir(path): 156 source_dir = os.path.dirname(os.path.dirname(TEST_PY_DIR)) 238 if not os.path.exists(dot_config): 318 if os.path.exists(build_dir + '/' + 'autoconf.mk'): 727 for path in os.environ["PATH"].split(os.pathsep): 728 fn = os.path.join(path, tool) [all …]
|
| /test/py/tests/test_android/ |
| A D | test_ab.py | 26 self.path = ubman.config.result_dir + '/' + filename 29 if os.path.exists(persistent): 46 cmd = ('cp', persistent, self.path) 85 ubman.run_command('host bind 0 ' + ab_disk_image.path)
|
| A D | test_abootimg.py | 123 self.path = ubman.config.result_dir + '/' + filename 126 if os.path.exists(persistent): 140 cmd = ('cp', persistent, self.path) 194 abootimg_disk_image.path)) 239 abootimgv4_disk_image_vboot.path)) 241 abootimgv4_disk_image_boot.path))
|
| /test/cmd/ |
| A D | fdt.c | 615 const char *path, const char *prop) in fdt_test_get_addr_common() argument 622 path_offset = fdt_path_offset(fdt, path); in fdt_test_get_addr_common() 628 ut_assertok(run_commandf("fdt get addr pstr %s %s", path, prop)); in fdt_test_get_addr_common() 685 const char *path, const char *prop, in fdt_test_get_size_common() argument 689 ut_assertok(run_commandf("fdt get size sstr %s %s", path, prop)); in fdt_test_get_size_common() 691 ut_assertok(run_commandf("fdt get size sstr %s", path)); in fdt_test_get_size_common() 772 const char *path, const char *prop, in fdt_test_set_single() argument 782 ut_assertok(run_commandf("fdt set %s %s %s", path, prop, sval)); in fdt_test_set_single() 786 ut_assertok(run_commandf("fdt set %s %s", path, prop)); in fdt_test_set_single() 802 const char *path, const char *prop, in fdt_test_set_multi() argument [all …]
|