Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/meta/lib/oeqa/sdk/buildtools-cases/
H A Dbuild.py18 with tempfile.TemporaryDirectory(prefix='bitbake-build-', dir=self.tc.sdk_dir) as testdir:
21 self._run('. %s/oe-init-build-env %s' % (corebase, testdir))
22 with open(os.path.join(testdir, 'conf', 'local.conf'), 'ta') as conf:
27 self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
30 …while delay and (os.path.exists(testdir + "/bitbake.lock") or os.path.exists(testdir + "/cache/has…
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/
H A Dgtk3.py27 with tempfile.TemporaryDirectory(prefix="libhandy", dir=self.tc.sdk_dir) as testdir:
28 …tarball = self.fetch(testdir, self.td["DL_DIR"], "https://download.gnome.org/sources/libhandy/1.8/…
30 sourcedir = os.path.join(testdir, "libhandy-1.8.3")
31 builddir = os.path.join(testdir, "build")
32 installdir = os.path.join(testdir, "install")
34 subprocess.check_output(["tar", "xf", tarball, "-C", testdir], stderr=subprocess.STDOUT)
H A Dmakefile.py23 with tempfile.TemporaryDirectory(prefix="lzip", dir=self.tc.sdk_dir) as testdir:
24 …tarball = self.fetch(testdir, self.td["DL_DIR"], "http://downloads.yoctoproject.org/mirror/sources…
27 dirs["source"] = os.path.join(testdir, "lzip-1.19")
28 dirs["build"] = os.path.join(testdir, "build")
29 dirs["install"] = os.path.join(testdir, "install")
31 subprocess.check_output(["tar", "xf", tarball, "-C", testdir], stderr=subprocess.STDOUT)
H A Dcmake.py29 with tempfile.TemporaryDirectory(prefix="assimp", dir=self.tc.sdk_dir) as testdir:
30 …tarball = self.fetch(testdir, self.td["DL_DIR"], "https://github.com/assimp/assimp/archive/v5.4.1.…
33 dirs["source"] = os.path.join(testdir, "assimp-5.4.1")
34 dirs["build"] = os.path.join(testdir, "build")
35 dirs["install"] = os.path.join(testdir, "install")
37 subprocess.check_output(["tar", "xf", tarball, "-C", testdir], stderr=subprocess.STDOUT)
H A Dautotools.py26 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
27 … tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.gz")
30 dirs["source"] = os.path.join(testdir, "cpio-2.15")
31 dirs["build"] = os.path.join(testdir, "build")
32 dirs["install"] = os.path.join(testdir, "install")
34 subprocess.check_output(["tar", "xf", tarball, "-C", testdir], stderr=subprocess.STDOUT)
H A Dmeson.py59 with tempfile.TemporaryDirectory(prefix="epoxy", dir=self.tc.sdk_dir) as testdir:
60 …tarball = self.fetch(testdir, self.td["DL_DIR"], "https://github.com/anholt/libepoxy/releases/down…
62 sourcedir = os.path.join(testdir, "libepoxy-1.5.3")
63 builddir = os.path.join(testdir, "build")
64 installdir = os.path.join(testdir, "install")
66 subprocess.check_output(["tar", "xf", tarball, "-C", testdir], stderr=subprocess.STDOUT)
H A Dkmod.py28 with tempfile.TemporaryDirectory(prefix="cryptodev", dir=self.tc.sdk_dir) as testdir:
33 sourcedir = os.path.join(testdir, "cryptodev-linux")
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/buildtools-docs-cases/
H A Dbuild.py17 … with tempfile.TemporaryDirectory(prefix='docs-tarball-build-', dir=self.tc.sdk_dir) as testdir:
18 self._run('git clone git://git.yoctoproject.org/yocto-docs %s' % testdir)
19 self._run('cd %s/documentation && make html' % testdir)
/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/
H A D0001-archival-disallow-path-traversals-CVE-2023-39810.patch117 +rm -rf cpio.testdir
118 +mkdir -p cpio.testdir/prepare/inner
119 +echo "file outside of destination was written" > cpio.testdir/prepare/dont_write
120 +echo "data" > cpio.testdir/prepare/inner/to_extract
121 +mkdir -p cpio.testdir/extract
123 +(cd cpio.testdir/prepare/inner && echo -e '../dont_write\nto_extract' | cpio -o -H newc) | (cd cpi…
125 +ls cpio.testdir/dont_write 2>&1" \
132 +ls: cpio.testdir/dont_write: No such file or directory
137 rm -rf cpio.testdir cpio.testdir2 2>/dev/null
H A D0001-du-l-works-fix-to-use-145-instead-of-144.patch21 @@ -5,7 +5,7 @@ cd du.testdir
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Dtargetcontrol.py29 self.testdir = d.getVar("TEST_LOG_DIR")
36 self.sshlog = os.path.join(self.testdir, "ssh_target_log.%s" % self.datetime)
37 sshloglink = os.path.join(self.testdir, "ssh_target_log")
105 self.qemulog = os.path.join(self.testdir, "qemu_boot_log.%s" % self.datetime)
114 bb.utils.mkdirhier(self.testdir)
115 self.qemurunnerlog = os.path.join(self.testdir, 'qemurunner_log.%s' % self.datetime)
119 …oe.path.symlink(os.path.basename(self.qemurunnerlog), os.path.join(self.testdir, 'qemurunner_log')…
152 bb.utils.mkdirhier(self.testdir)
154 qemuloglink = os.path.join(self.testdir, "qemu_boot_log")
H A Drunexported.py46 self.testdir = d.getVar("TEST_LOG_DIR")
50 self.sshlog = os.path.join(self.testdir, "ssh_target_log.%s" % self.datetime)
51 sshloglink = os.path.join(self.testdir, "ssh_target_log")
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/selftest/cases/
H A Drunfvp.py12 testdir = pathlib.Path(__file__).parent / "tests" variable
28 …ret = subprocess.run(cli, cwd=testdir, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, …
44 cases = list(testdir.glob("auto-*.json"))
53 self.run_fvp(testdir / "test-parameter.json", "--", "--parameter", "board.dog=woof")
56 …output = self.run_fvp(testdir / "test-environment.json", env={"DISPLAY": "test_fvp_environment:42"…
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dgo-ptest.bbclass42 testdir=`dirname $test`
44 install -d ${D}${PTEST_PATH}/$testdir
46 echo "run_test $testdir $testprog || RC=1" >> ${D}${PTEST_PATH}/run-ptest
/openbmc/openbmc/poky/meta/recipes-core/dbus/dbus-glib/
H A Dtest-install-makefile.patch26 +testdir = $(datadir)/@PACKAGE@/tests
40 +testdir = $(datadir)/@PACKAGE@/tests/core
54 +testdir = $(datadir)/@PACKAGE@/tests/interfaces
/openbmc/openbmc/poky/scripts/
H A Dpatchtest133 start_dir=PatchtestParser.testdir,
236 PatchtestParser.topdir = PatchtestParser.testdir
H A Dpatchtest.README87 …If you want to use a different test suite or target repository, you can use the --testdir and --re…
89 patchtest --patch /path/to/patch/file --repodir /path/to/repo --testdir /path/to/test/dir
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/geoip/
H A Dgeoip_1.6.12.bb68 -e 's:SRCDIR=\\"$(top_srcdir)\\":SRCDIR=\\"$(testdir)\\":' \
71 if ! grep "^testdir = " ${S}/test/Makefile.am ; then
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/utils/
H A Dsdkbuildproject.py16 self.testdir = testpath
/openbmc/openbmc/poky/meta/recipes-support/numactl/numactl/
H A DFix-the-test-output-format.patch46 @@ -9,12 +9,11 @@ testdir=`dirname "$0"`
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/
H A Dsamba_4.19.8.bb185 testdir=${D}${datadir}/ctdb-tests/UNIT/$d
186 install -d $testdir
187 cp ${S}/ctdb/tests/UNIT/$d/*.sh $testdir
188 cp -r ${S}/ctdb/tests/UNIT/$d/scripts ${S}/ctdb/tests/UNIT/$d/stubs $testdir || true
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dtargetbuild.py112 self.testdir = testpath
/openbmc/phosphor-logging/tools/
H A Delog-gen.py331 options.testdir,
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dwic.py1778 testdir = os.path.join(self.resultdir, 'wic-test-cp-dir')
1779 testsubdir = os.path.join(testdir, 'subdir')
1781 copy(testfile.name, testdir)
1784 runCmd("wic cp %s %s:1/ -n %s" % (testdir, images[0], sysroot))
1789 self.assertIn(os.path.basename(testdir), result.output)
/openbmc/openbmc/poky/documentation/contributor-guide/
H A Dsubmit-changes.rst348 a different set of tests, you can use the ``--repodir`` and ``--testdir``
351 patchtest --patch <patch_name> --repodir <path/to/repo> --testdir <path/to/testdir>