/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 59 def compute_regression_report(workdir, basebranch, baserevision, targetbranch, targetrevision, args… argument 77 workdir = args.testresultsdir 79 workdir = create_workdir() 87 subprocess.check_call(["rm", "-rf", workdir]) 89 basebranch = fetch_testresults(workdir, baserevision) 90 targetbranch = fetch_testresults(workdir, targetrevision) [all …]
|
/openbmc/openpower-pnor-code-mgmt/test/ |
H A D | test_functions.cpp | 269 std::filesystem::remove_all(workdir); in TEST() 279 auto linkPath = workdir / "link"; in TEST() 280 auto targetPath = workdir / "target"; in TEST() 284 std::filesystem::remove_all(workdir); in TEST() 300 auto linkPath = workdir / "link"; in TEST() 320 auto linkPath = workdir / "baz"; in TEST() 366 auto filePath = workdir / "foo.foo"; in TEST() 391 auto filePath = workdir / "foo.foo"; in TEST() 418 auto dir = workdir / "baz"; in TEST() 436 auto filePath = workdir / "foo.foo"; 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) 155 def need_update_submodule(ud, url, module, modpath, workdir, d): argument 171 runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) 184 def download_submodule(ud, url, module, modpath, workdir, d): argument 203 runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) 210 def unpack_submodules(ud, url, module, modpath, workdir, d): argument 240 …runfetchcmd("%s config core.bare false" % (ud.basecmd), d, quiet=True, workdir=os.path.join(repo_c… [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 | 409 runfetchcmd(fetch_cmd, d, workdir=ud.clonedir) 548 quiet=True, workdir=ud.clonedir) 550 % (tfile, mtime), d, workdir=ud.clonedir) 590 d, workdir=dest).splitlines() 607 runfetchcmd(subprocess.list2cmdline(shallow_cmd), d, workdir=dest) 681 workdir=destdir) 686 ud.revisions[ud.names[0]]), d, workdir=destdir) 688 branchname), d, workdir=destdir) 721 output = runfetchcmd(cmd, d, quiet=True, workdir=wd) 741 output = runfetchcmd(cmd, d, quiet=True, workdir=wd).rstrip() [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) 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) 261 runfetchcmd("%s up -C %s" % (ud.basecmd, revflag), d, workdir=codir) [all …]
|
/openbmc/qemu/tests/avocado/ |
H A D | machine_microblaze.py | 28 archive.extract(file_path, self.workdir) 30 self.vm.add_args('-kernel', self.workdir + '/day17/ballerina.bin') 50 archive.extract(file_path, self.workdir) 52 self.vm.add_args('-kernel', self.workdir + '/day13/xmaton.bin') 53 self.vm.add_args('-nic', 'user,tftp=' + self.workdir + '/day13/')
|
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) 212 initrd_path = self.workdir + "rootfs.cpio" 254 initrd_path = self.workdir + "rootfs.cpio" 278 kernel_path = self.workdir + "kernel" 801 image_path = os.path.join(self.workdir, image_name) 1298 archive.extract(zip_path, self.workdir) 1299 efi_fd = os.path.join(self.workdir, 'RPI_EFI.fd') [all …]
|
H A D | machine_aspeed.py | 40 archive.extract(tar_path, self.workdir) 41 kernel_file = self.workdir + "/ast1030-evb-demo/zephyr.elf" 60 archive.extract(tar_path, self.workdir) 61 kernel_file = self.workdir + "/ast1030-evb-demo/zephyr.bin" 338 archive.extract(image_path, self.workdir) 341 self.workdir + '/ast2500-default/image-bmc') 357 archive.extract(image_path, self.workdir) 364 self.workdir + '/ast2600-a2/image-bmc') 399 archive.extract(image_path, self.workdir) 402 image_dir = self.workdir + '/ast2700-default/'
|
H A D | 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 | ppc_bamboo.py | 31 archive.extract(file_path, self.workdir) 33 self.vm.add_args('-kernel', self.workdir + 35 '-initrd', self.workdir +
|
H A D | machine_aarch64_sbsaref.py | 54 archive.extract(tar_xz_path, self.workdir) 55 fs0_path = os.path.join(self.workdir, "SBSA_FLASH0.fd") 65 archive.extract(tar_xz_path, self.workdir) 66 fs1_path = os.path.join(self.workdir, "SBSA_FLASH1.fd")
|
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"
|
H A D | machine_mips_malta.py | 48 screendump_path = os.path.join(self.workdir, 'screendump.pbm') 55 kernel_path = self.workdir + "vmlinux" 135 archive.extract(zip_path, self.workdir) 136 yamon_path = os.path.join(self.workdir, 'yamon-02.22.bin')
|
/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/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/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/openbmc/poky/meta/classes/ |
H A D | devtool-source.bbclass | 39 workdir = os.path.join(tempdir, 'workdir') 40 d.setVar('WORKDIR', workdir) 41 if not d.getVar('S').startswith(workdir): 42 # Usually a shared workdir recipe (kernel, gcc) 81 workdir = d.getVar('WORKDIR') 120 (srcabspath == workdir or not 125 _move_file(os.path.join(workdir, fname), 132 if srcsubdir == workdir: 140 _move_file(os.path.join(workdir, path), 142 elif os.path.dirname(srcsubdir) != workdir: [all …]
|
/openbmc/linux/fs/overlayfs/ |
H A D | dir.c | 69 struct dentry *workdir = ofs->workdir; in ovl_whiteout() local 70 struct inode *wdir = workdir->d_inode; in ovl_whiteout() 363 struct inode *wdir = workdir->d_inode; in ovl_clear_empty() 372 if (WARN_ON(!workdir)) in ovl_clear_empty() 417 unlock_rename(workdir, upperdir); in ovl_clear_empty() 428 unlock_rename(workdir, upperdir); in ovl_clear_empty() 447 struct inode *wdir = workdir->d_inode; in ovl_create_over_whiteout() 456 if (WARN_ON(!workdir)) in ovl_create_over_whiteout() 537 unlock_rename(workdir, upperdir); in ovl_create_over_whiteout() 753 if (WARN_ON(!workdir)) in ovl_remove_and_whiteout() [all …]
|
H A D | super.c | 433 if (workdir != upperdir) { in ovl_workdir_ok() 606 struct dentry *workdir = ofs->workdir; in ovl_check_rename_whiteout() local 705 struct dentry *workdir; in ovl_make_workdir() local 717 err = PTR_ERR(workdir); in ovl_make_workdir() 718 if (IS_ERR_OR_NULL(workdir)) in ovl_make_workdir() 721 ofs->workdir = workdir; in ovl_make_workdir() 899 dput(ofs->workdir); in ovl_get_indexdir() 900 ofs->workdir = NULL; in ovl_get_indexdir() 906 ofs->workdir = dget(indexdir); in ovl_get_indexdir() 1403 if (!ofs->config.workdir) { in ovl_fill_super() [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/ |
H A D | direct.py | 66 self.workdir = self.setup_workdir(options.workdir) 83 def setup_workdir(self, workdir): argument 84 if workdir: 85 if os.path.exists(workdir): 88 os.makedirs(workdir) 89 return workdir 149 self.updated_fstab_path = os.path.join(self.workdir, "fstab") 280 for fname in os.listdir(self.workdir): 281 path = os.path.join(self.workdir, fname) 287 shutil.rmtree(self.workdir, ignore_errors=True) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/ |
H A D | run-ptest | 3 workdir=$(dirname `realpath $0`) 4 cd ${workdir}/testing
|
/openbmc/openbmc/poky/meta/files/ |
H A D | overlayfs-unit.mount.in | 10 …dir={LOWERDIR},upperdir={DATA_MOUNT_POINT}/upper{LOWERDIR},workdir={DATA_MOUNT_POINT}/workdir{LOWE…
|
/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()
|