/openbmc/openbmc/poky/scripts/ |
H A D | yocto_testresults_query.py | 27 workdir = tempfile.mkdtemp(prefix='yocto-testresults-query.') 29 subprocess.check_call(["git", "clone", testresults_default_url, workdir, "--depth", "1"]) 30 return workdir 46 def fetch_testresults(workdir, sha1): argument 48 …put(["git", "ls-remote", "--refs", "--tags", "origin", f"*{sha1}*"], cwd=workdir).decode('utf-8').… 56 … subprocess.check_call(["git", "fetch", "--depth", "1", "origin", f"{rev}:{rev}"], cwd=workdir) 59 def compute_regression_report(workdir, basebranch, baserevision, targetbranch, targetrevision, args… argument 61 …ebranch, "--commit", baserevision, "--branch2", targetbranch, "--commit2", targetrevision, workdir] 77 workdir = args.testresultsdir 79 workdir = create_workdir() [all …]
|
/openbmc/openpower-pnor-code-mgmt/test/ |
H A D | test_functions.cpp | 261 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST() local 264 std::filesystem::path linkPath = workdir / "link"; in TEST() 265 std::filesystem::path targetPath = workdir / "target"; in TEST() 269 std::filesystem::remove_all(workdir); in TEST() 276 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST() local 279 auto linkPath = workdir / "link"; in TEST() 280 auto targetPath = workdir / "target"; in TEST() 284 std::filesystem::remove_all(workdir); in TEST() 291 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST() local 298 auto targetPath = workdir / "target"; in TEST() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | gitannex.py | 30 runfetchcmd("%s rev-list git-annex" % (ud.basecmd), d, quiet=True, workdir=wd) 39 runfetchcmd("%s annex get --all" % (ud.basecmd), d, quiet=True, workdir=wd) 42 runfetchcmd("chmod u+w -R %s/annex" % (ud.clonedir), d, quiet=True, workdir=wd) 57 runfetchcmd("%s annex init" % ud.basecmd, d, workdir=dest) 62 runfetchcmd("%s annex get" % ud.basecmd, d, workdir=dest) 63 runfetchcmd("chmod u+w -R %s/.git/annex" % (dest), d, quiet=True, workdir=dest) 69 runfetchcmd("%s annex init" % (ud.basecmd), d, workdir=ud.destdir) 75 runfetchcmd("%s annex get" % (ud.basecmd), d, workdir=ud.destdir) 76 … runfetchcmd("chmod u+w -R %s/.git/annex" % (ud.destdir), d, quiet=True, workdir=ud.destdir)
|
H A D | gitsm.py | 37 def process_submodules(self, ud, workdir, function, d): argument 67 …tchcmd("%s show %s:.gitmodules" % (ud.basecmd, ud.revisions[name]), d, quiet=True, workdir=workdir) 74 …s-tree -z -d %s %s" % (ud.basecmd, ud.revisions[name], md['path']), d, quiet=True, workdir=workdir) 146 function(ud, url, module, paths[module], workdir, ld) 156 runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) 168 def need_update_submodule(ud, url, module, modpath, workdir, d): argument 189 def download_submodule(ud, url, module, modpath, workdir, d): argument 206 def unpack_submodules(ud, url, module, modpath, workdir, d): argument 229 …rl %(url)s" % {'basecmd': ud.basecmd, 'module': module, 'url' : local_path}, d, workdir=ud.destdir) 232 …module.%(module)s.shallow true" % {'basecmd': ud.basecmd, 'module': module}, d, workdir=ud.destdir) [all …]
|
H A D | cvs.py | 114 workdir = None 119 workdir = moddir 125 workdir = ud.pkgdir 130 runfetchcmd(cmd, d, cleanup=[moddir], workdir=workdir) 142 workdir = None 144 workdir = ud.pkgdir 147 workdir = os.path.dirname(os.path.realpath(moddir)) 150 runfetchcmd(cmd, d, cleanup=[ud.localpath], workdir=workdir)
|
H A D | git.py | 358 … runfetchcmd('%s rev-parse -q --verify %s' % (ud.basecmd, rev), d, quiet=True, workdir=ud.clonedir) 400 runfetchcmd("tar -xzf %s" % ud.fullmirror, d, workdir=ud.clonedir) 403 runfetchcmd("tar -xzf %s" % ud.fullmirror, d, workdir=tmpdir) 404 output = runfetchcmd("%s remote" % ud.basecmd, d, quiet=True, workdir=ud.clonedir) 406 runfetchcmd("%s remote rm mirror" % ud.basecmd, d, workdir=ud.clonedir) 407 …unfetchcmd("%s remote add --mirror=fetch mirror %s" % (ud.basecmd, tmpdir), d, workdir=ud.clonedir) 409 runfetchcmd(fetch_cmd, d, workdir=ud.clonedir) 418 …output = runfetchcmd("LANG=C %s rev-parse --absolute-git-dir" % ud.basecmd, d, workdir=ud.clonedir) 453 output = runfetchcmd("%s remote" % ud.basecmd, d, quiet=True, workdir=ud.clonedir) 455 runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir) [all …]
|
H A D | hg.py | 158 runfetchcmd("tar -xzf %s" % (ud.fullmirror), d, workdir=ud.pkgdir) 165 runfetchcmd(updatecmd, d, workdir=ud.moddir) 173 runfetchcmd(pullcmd, d, workdir=ud.moddir) 188 runfetchcmd(fetchcmd, d, workdir=ud.pkgdir) 194 runfetchcmd(updatecmd, d, workdir=ud.moddir) 231 runfetchcmd("tar -czf %s %s" % (ud.fullmirror, ud.module), d, workdir=ud.pkgdir) 232 runfetchcmd("touch %s.done" % (ud.fullmirror), d, workdir=ud.pkgdir) 255 …default.schemes=%s\" pull %s" % (ud.basecmd, ud.user, ud.pswd, proto, ud.moddir), d, workdir=codir) 257 runfetchcmd("%s pull %s" % (ud.basecmd, ud.moddir), d, workdir=codir) 259 ….default.schemes=%s\" up -C %s" % (ud.basecmd, ud.user, ud.pswd, proto, revflag), d, workdir=codir) [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-authz-listfile.c | 26 static char *workdir; variable 31 gchar *path = g_strdup_printf("%s/default-deny.cfg", workdir); in qemu_authz_listfile_test_save() 39 rmdir(workdir); in qemu_authz_listfile_test_save() 175 workdir = g_dir_make_tmp("qemu-test-authz-listfile-XXXXXX", in main() 177 if (!workdir) { in main() 192 rmdir(workdir); in main() 193 g_free(workdir); in main()
|
/openbmc/qemu/tests/functional/ |
H A D | test_acpi_bits.py | 171 target_config_dir = os.path.join(self.workdir, 188 target_test_dir = os.path.join(self.workdir, 227 grub_x86_64_mods = os.path.join(self.workdir, 'grub-inst-x86_64-efi') 228 grub_i386_mods = os.path.join(self.workdir, 'grub-inst') 249 bits_dir = os.path.join(self.workdir, 251 iso_file = os.path.join(self.workdir, 253 mkrescue_script = os.path.join(self.workdir, 292 prebuiltDir = os.path.join(self.workdir, 'prebuilt') 313 zref.extractall(self.workdir) 316 tarball.extractall(self.workdir) [all …]
|
H A D | test_sh4eb_r2d.py | 24 archive_extract(file_path, self.workdir) 26 self.launch_kernel(os.path.join(self.workdir, 'sh4eb/linux-kernel'), 27 initrd=os.path.join(self.workdir, 'sh4eb/initramfs.cpio.gz'), 30 shutil.rmtree(os.path.join(self.workdir, 'sh4eb'))
|
H A D | test_ppc_amiga.py | 31 zf.extractall(path=self.workdir) 32 bios_fh = open(self.workdir + "/u-boot-amigaone.bin", "wb") 34 self.workdir + "/floppy_edition/updater.image"], 38 self.vm.add_args('-bios', self.workdir + '/u-boot-amigaone.bin')
|
H A D | test_arm_aspeed_ast1030.py | 29 zf.extract(kernel_name, path=self.workdir) 30 kernel_file = os.path.join(self.workdir, kernel_name) 51 zf.extract(kernel_name, path=self.workdir) 52 kernel_file = os.path.join(self.workdir, kernel_name)
|
H A D | test_arm_vexpress.py | 20 archive_extract(file_path, self.workdir) 21 self.launch_kernel(self.workdir + '/day16/winter.zImage', 22 dtb=self.workdir + '/day16/vexpress-v2p-ca9.dtb',
|
H A D | test_ppc_virtex_ml507.py | 29 archive_extract(file_path, self.workdir) 31 self.vm.add_args('-kernel', self.workdir + '/hippo/hippo.linux', 32 '-dtb', self.workdir + '/hippo/virtex440-ml507.dtb',
|
H A D | test_ppc_bamboo.py | 29 archive_extract(file_path, self.workdir) 31 self.vm.add_args('-kernel', self.workdir + 33 '-initrd', self.workdir +
|
H A D | test_microblazeel_s3adsp1800.py | 28 archive_extract(file_path, self.workdir) 30 self.vm.add_args('-kernel', self.workdir + '/day13/xmaton.bin') 31 self.vm.add_args('-nic', 'user,tftp=' + self.workdir + '/day13/')
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/onig/onig/ |
H A D | run-ptest | 4 [ -n "${workdir:-}" ] && rm -rf "${workdir}" 16 workdir=$(mktemp -d -t onig.ptest.XXXXXX) 17 status="${workdir}/failed" 35 ' _ "${workdir}" "${status}" {} \;
|
/openbmc/qemu/tests/avocado/ |
H A D | boot_linux_console.py | 65 os.chdir(self.workdir) 68 archive.extract(file_path, self.workdir) 74 return os.path.normpath(os.path.join(self.workdir, 88 os.chdir(self.workdir) 91 return os.path.normpath(os.path.join(self.workdir, path)) 187 spi_path_rw = os.path.join(self.workdir, os.path.basename(spi_path)) 227 initrd_path = os.path.join(self.workdir, 'rootfs.cpio') 266 initrd_path = os.path.join(self.workdir, 'rootfs.cpio') 310 rootfs_path = os.path.join(self.workdir, 'rootfs.cpio') 355 image_path = archive.extract(image_path_gz, self.workdir) [all …]
|
H A D | replay_kernel.py | 86 replay_path = os.path.join(self.workdir, 'replay.bin') 245 initrd_path = os.path.join(self.workdir, 'rootfs.cpio') 283 uncompressed_kernel = archive.uncompress(kernel_path, self.workdir) 342 archive.extract(file_path, self.workdir) 344 for entry in os.scandir(self.workdir): 363 dtb_path = self.workdir + '/day16/vexpress-v2p-ca9.dtb' 485 initrd_path = self.workdir + "rootfs.cpio" 515 initrd_path = self.workdir + "rootfs.cpio" 526 kernel_path = self.workdir + "kernel"
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | yoctotestresultsquerytests.py | 31 workdir = create_workdir() 34 ["git", "-C", workdir, "remote", "get-url", "origin"]).strip().decode("utf-8") 36 shutil.rmtree(workdir, ignore_errors=True) 38 shutil.rmtree(workdir)
|
/openbmc/linux/fs/overlayfs/ |
H A D | dir.c | 45 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp() argument 54 temp = ovl_lookup_upper(ofs, name, workdir, strlen(name)); in ovl_lookup_temp() 69 struct dentry *workdir = ofs->workdir; in ovl_whiteout() local 70 struct inode *wdir = workdir->d_inode; in ovl_whiteout() 73 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 87 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 112 struct inode *wdir = ofs->workdir->d_inode; in ovl_cleanup_and_whiteout() 227 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, in ovl_create_temp() argument 230 return ovl_create_real(ofs, d_inode(workdir), in ovl_create_temp() 231 ovl_lookup_temp(ofs, workdir), attr); in ovl_create_temp() [all …]
|
H A D | super.c | 366 ofs->config.workdir, name, -err); in ovl_workdir_create() 429 static bool ovl_workdir_ok(struct dentry *workdir, struct dentry *upperdir) in ovl_workdir_ok() argument 433 if (workdir != upperdir) { in ovl_workdir_ok() 434 ok = (lock_rename(workdir, upperdir) == NULL); in ovl_workdir_ok() 435 unlock_rename(workdir, upperdir); in ovl_workdir_ok() 606 struct dentry *workdir = ofs->workdir; in ovl_check_rename_whiteout() local 607 struct inode *dir = d_inode(workdir); in ovl_check_rename_whiteout() 616 temp = ovl_create_temp(ofs, workdir, OVL_CATTR(S_IFREG | 0)); in ovl_check_rename_whiteout() 621 dest = ovl_lookup_temp(ofs, workdir); in ovl_check_rename_whiteout() 637 whiteout = ovl_lookup_upper(ofs, name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout() [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/ |
H A D | direct.py | 66 self.workdir = self.setup_workdir(options.workdir) 78 image_path = self._full_path(self.workdir, self.parts[0].disk, "direct") 83 def setup_workdir(self, workdir): argument 84 if workdir: 85 if os.path.exists(workdir): 86 … raise WicError("Internal workdir '%s' specified in wic arguments already exists!" % (workdir)) 88 os.makedirs(workdir) 89 return workdir 149 self.updated_fstab_path = os.path.join(self.workdir, "fstab") 207 plugin.do_install_disk(self._image, disk_name, self, self.workdir, [all …]
|
/openbmc/qemu/tests/functional/qemu_test/ |
H A D | linuxkernel.py | 41 os.chdir(self.workdir) 45 archive_extract(file_path, self.workdir) 51 return os.path.normpath(os.path.join(self.workdir,
|
/openbmc/qemu/tests/qtest/ |
H A D | dbus-vmstate-test.c | 8 static char *workdir; variable 194 uri = g_strdup_printf("unix:%s/migsocket", workdir); in test_dbus_vmstate() 356 workdir = g_dir_make_tmp("dbus-vmstate-test-XXXXXX", &err); in main() 357 if (!workdir) { in main() 362 g_setenv("DBUS_VMSTATE_TEST_TMPDIR", workdir, true); in main() 377 rmdir(workdir); in main() 378 g_free(workdir); in main()
|