Home
last modified time | relevance | path

Searched refs:workdir (Results 1 – 25 of 136) sorted by relevance

123456

/openbmc/openbmc/poky/scripts/
H A Dyocto_testresults_query.py27 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 Dtest_functions.cpp261 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 Dgitannex.py30 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 Dgitsm.py37 def process_submodules(self, ud, workdir, function, d): argument
66 …= runfetchcmd("%s show %s:.gitmodules" % (ud.basecmd, ud.revision), d, quiet=True, workdir=workdir)
73 …d("%s ls-tree -z -d %s %s" % (ud.basecmd, ud.revision, md['path']), d, quiet=True, workdir=workdir)
145 function(ud, url, module, paths[module], workdir, ld)
158 runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
170 def need_update_submodule(ud, url, module, modpath, workdir, d): argument
191 def download_submodule(ud, url, module, modpath, workdir, d): argument
208 def unpack_submodules(ud, url, module, modpath, workdir, d): argument
231 …rl %(url)s" % {'basecmd': ud.basecmd, 'module': module, 'url' : local_path}, d, workdir=ud.destdir)
234 …module.%(module)s.shallow true" % {'basecmd': ud.basecmd, 'module': module}, d, workdir=ud.destdir)
[all …]
H A Dcvs.py114 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 Dgit.py340 … runfetchcmd('%s rev-parse -q --verify %s' % (ud.basecmd, rev), d, quiet=True, workdir=ud.clonedir)
389 runfetchcmd("tar -xzf %s" % ud.fullmirror, d, workdir=ud.clonedir)
392 runfetchcmd("tar -xzf %s" % ud.fullmirror, d, workdir=tmpdir)
393 output = runfetchcmd("%s remote" % ud.basecmd, d, quiet=True, workdir=ud.clonedir)
395 runfetchcmd("%s remote rm mirror" % ud.basecmd, d, workdir=ud.clonedir)
396 …unfetchcmd("%s remote add --mirror=fetch mirror %s" % (ud.basecmd, tmpdir), d, workdir=ud.clonedir)
398 runfetchcmd(fetch_cmd, d, workdir=ud.clonedir)
407 …output = runfetchcmd("LANG=C %s rev-parse --absolute-git-dir" % ud.basecmd, d, workdir=ud.clonedir)
460 output = runfetchcmd("%s remote" % ud.basecmd, d, quiet=True, workdir=ud.clonedir)
462 runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir)
[all …]
H A Dhg.py158 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 …]
H A Drepo.py66 …" % (ud.basecmd, ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), d, workdir=repodir)
69 runfetchcmd("%s sync" % ud.basecmd, d, workdir=repodir)
78 …etchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.join(".", "*") ), d, workdir=codir)
H A Dnpm.py82 runfetchcmd(cmd, d, workdir=destdir)
83 runfetchcmd("chmod -R +X '%s'" % (destdir), d, quiet=True, workdir=destdir)
121 def run(self, cmd, args=None, configs=None, workdir=None): argument
128 if not workdir:
129 workdir = tmpdir
134 return runfetchcmd(cmd, d, workdir=workdir)
H A Dsvn.py135 runfetchcmd(ud.basecmd + " upgrade", d, workdir=ud.moddir)
140 runfetchcmd(svncmd, d, workdir=ud.moddir)
148 runfetchcmd(svncmd, d, workdir=ud.pkgdir)
152 output = runfetchcmd("svn propget svn:externals || true", d, workdir=ud.moddir)
170 cleanup=[ud.localpath], workdir=ud.pkgdir)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/onig/onig/
H A Drun-ptest4 [ -n "${workdir:-}" ] && rm -rf "${workdir}"
16 workdir=$(mktemp -d -t onig.ptest.XXXXXX)
17 status="${workdir}/failed"
35 ' _ "${workdir}" "${status}" {} \;
/openbmc/qemu/tests/qtest/migration/
H A Dtls-tests.c27 char *workdir; member
43 data->workdir = g_strdup_printf("%s/tlscredspsk0", tmpfs); in migrate_hook_start_tls_psk_common()
44 data->pskfile = g_strdup_printf("%s/%s", data->workdir, in migrate_hook_start_tls_psk_common()
46 g_mkdir_with_parents(data->workdir, 0700); in migrate_hook_start_tls_psk_common()
64 data->workdir); in migrate_hook_start_tls_psk_common()
72 mismatch ? data->workdiralt : data->workdir); in migrate_hook_start_tls_psk_common()
105 rmdir(data->workdir); in migrate_hook_end_tls_psk()
112 g_free(data->workdir); in migrate_hook_end_tls_psk()
119 char *workdir; member
144 data->workdir = g_strdup_printf("%s/tlscredsx5090", tmpfs); in migrate_hook_start_tls_x509_common()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-authz-listfile.c26 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/poky/meta/lib/oeqa/selftest/cases/
H A Dyoctotestresultsquerytests.py31 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/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/
H A Drun-ptest3 workdir=$(dirname `realpath $0`)
4 cd ${workdir}/testing
/openbmc/openbmc/poky/meta/files/
H A Doverlayfs-unit.mount.in10 …dir={LOWERDIR},upperdir={DATA_MOUNT_POINT}/upper{LOWERDIR},workdir={DATA_MOUNT_POINT}/workdir{LOWE…
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/
H A Ddirect.py66 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/openbmc/meta-openembedded/meta-networking/recipes-support/nbdkit/nbdkit/
H A D0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch25 +workdir := $(shell dirname $(abs_top_builddir))
26 +cc_no_sysroot := $(shell echo \"$(CC)\"|sed -e 's#$(workdir)#<WORKDIR>#g')
27 +cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)#<WORKDIR>#g')
H A D0001-plugins-Avoid-absolute-buildpaths-in-binaries.patch25 +workdir := $(shell dirname $(abs_top_builddir))
26 +cc_no_sysroot := $(shell echo \"$(CC)\"|sed -e 's#$(workdir)#<WORKDIR>#g')
27 +cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)#<WORKDIR>#g')
/openbmc/openbmc-tools/overlay/
H A Doverlay22 …mount -t overlay -o lowerdir="${o_lowerdir}",upperdir=${o_upperdir},workdir=${o_workdir} overlay "…
39 upperdir=*|workdir=*)
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/
H A Dgcc-shared-source.inc14 # Copy the SDE from the shared workdir to the recipe workdir
/openbmc/qemu/tests/qtest/
H A Ddbus-vmstate-test.c8 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()
/openbmc/openbmc/poky/meta/conf/distro/include/
H A Dyocto-space-optimize.inc5 # With -g, llvm workdir is 40GB, llvm-staticdev is 1.3GB, llvm-dbg is 1GB
9 # With -g, qemu workdir is 10GB, qemu-dbg is 363MB
/openbmc/libmctp/docs/
H A Dfuzzing.md46 nice aflr run -t bfuzz/tests/fuzz/i2c-fuzz -i workdir/out5/m_i2c-fuzz/queue -o workdir/out6 -c bcm…
51 `aflr tui workdir/out6` could be used to view progress, though its calculations
53 `afl-whatsup workdir/out6`.
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/
H A Dbootimg-biosplusefi.py120 def do_install_disk(cls, disk, disk_name, creator, workdir, oe_builddir, argument
134 workdir,
144 workdir,

123456