Home
last modified time | relevance | path

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

12

/openbmc/openbmc/poky/meta/lib/oeqa/sdkext/cases/
H A Ddevtool.py40 self._run('devtool add myapp %s' % directory)
42 self._run('devtool build myapp')
44 self._run('devtool reset myapp')
47 self._run('devtool add myapp %s' % directory)
49 self._run('devtool package myapp')
51 self._run('devtool reset myapp')
54 output = self._run('which devtool')
59 self._run('devtool add myapp %s' % self.myapp_dst)
60 self._run('devtool reset myapp')
73 self._run('devtool sdk-install dbus')
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/
H A Drust.py34 self._run('cd %s/hello; cargo add zstd' % (self.tc.sdk_dir))
35 self._run('cd %s/hello; cargo build' % self.tc.sdk_dir)
56 self._run('cd %s/hello; cargo add zstd' % (self.tc.sdk_dir))
57 self._run('cd %s/hello; cargo build --target %s-gnu' % (self.tc.sdk_dir, sdksys))
58 self._run('cd %s/hello; cargo run --target %s-gnu' % (self.tc.sdk_dir, sdksys))
H A Dmeson.py35 log = self._run(f"meson setup --warnlevel 1 {builddir} {sourcedir} {options}")
41 data = json.loads(self._run(f"meson introspect --compilers {builddir}"))
45 data = json.loads(self._run(f"meson introspect --machines {builddir}"))
48 self._run(f"meson compile -C {builddir} -v")
51 self._run(f"meson install -C {builddir} --destdir {installdir}")
H A Dcmake.py41 …self._run("sed -i '/# ifdef _FILE_OFFSET_BITS/I,+2 d' {source}/contrib/zlib/gzguts.h".format(**di…
44 …self._run("cd {build} && cmake -DASSIMP_WARNINGS_AS_ERRORS=OFF -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D…
45 self._run("cmake --build {build} -- -j".format(**dirs))
46 self._run("cmake --build {build} --target install -- DESTDIR={install}".format(**dirs))
H A Dmaturin.py22 …out = self._run(r"""python3 -c 'import sys; print(f"{sys.executable}\n{sys.version_info.major}.{sy…
25 output = self._run("maturin list-python")
59 self._run("cd %s; python3 -m venv .venv" % targetdir)
60 output = self._run("cd %s; maturin develop" % targetdir)
H A Dgcc.py39 self._run('$CC %s/test.c -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir))
42 self._run('$CXX %s/test.c -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir))
45 self._run('$CXX %s/test.cpp -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir))
48 self._run('cd %s; make -f testsdkmakefile' % self.tc.sdk_dir)
H A Dmakefile.py42 self._run(cmd.format(**dirs))
43 self._run("cd {build} && make -j".format(**dirs))
44 self._run("cd {build} && make install DESTDIR={install}".format(**dirs))
H A Dautotools.py38 …self._run("cd {build} && {source}/configure CFLAGS='-std=gnu17 -Dbool=int -Dtrue=1 -Dfalse=0 -Wno-…
45 …self._run("cd {build} && make CFLAGS='-std=gnu17 -Dbool=int -Dtrue=1 -Dfalse=0 -Wno-error=implicit…
46 self._run("cd {build} && make install DESTDIR={install}".format(**dirs))
H A Dkmod.py26 self._run("make -j -C $OECORE_TARGET_SYSROOT/usr/src/kernel prepare scripts")
38 self._run("make -C %s V=1 KERNEL_DIR=$OECORE_TARGET_SYSROOT/usr/src/kernel" % sourcedir)
H A Dperl.py18 output = self._run(cmd)
H A Dpython.py18 output = self._run(cmd)
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dbuildproject.py46 def _run(self, cmd): member in BuildProject
52 …return self._run('cd %s; gnu-configize; %s ./configure %s' % (self.targetdir, extra_cmds, configur…
55 return self._run('cd %s; make %s' % (self.targetdir, make_args))
58 return self._run('cd %s; make install %s' % (self.targetdir, install_args))
65 self._run('rm -rf %s' % self.targetdir)
H A Dtargetbuild.py60 def _run(self, cmd): member in BuildProject
66 return self._run('cd %s; %s ./configure %s' % (self.targetdir, extra_cmds, configure_args))
69 return self._run('cd %s; make %s' % (self.targetdir, make_args))
72 return self._run('cd %s; make install %s' % (self.targetdir, install_args))
77 self._run('rm -rf %s' % self.targetdir)
104 def _run(self, cmd): member in TargetBuildProject
142 def _run(self, cmd): member in SDKBuildProject
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/buildtools-cases/
H A Dhttps.py18 …self._run('env -i wget --debug --output-document /dev/null https://yoctoproject.org/connectivity.h…
22 …self._run('python3 -c \'import urllib.request; urllib.request.urlopen("https://yoctoproject.org/co…
H A Dgcc.py19 gcc_path = os.path.realpath(self._run("command -v gcc").strip())
30 for line in self._run('gcc -dumpspecs').splitlines():
H A Dbuild.py21 self._run('. %s/oe-init-build-env %s' % (corebase, testdir))
27 self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
H A Dsanity.py22 tool_path = os.path.realpath(self._run("command -v %s" % command).strip())
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/buildtools-docs-cases/
H A Dbuild.py18 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/lib/oeqa/sdk/
H A Dcase.py16 def _run(self, cmd): member in OESDKTestCase
47 self._run('devtool sdk-install %s' % recipe)
72 self._run('devtool sdk-install %s' % recipe)
102 output = self._run("echo $OECORE_TARGET_OS:$OECORE_TARGET_ARCH")
/openbmc/openbmc/poky/meta/lib/oeqa/sdkext/
H A Dcase.py14 def _run(self, cmd): member in OESDKExtTestCase
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dssh.py58 def _run(self, command, timeout=None, ignore_status=True, raw=False): member in OESSHTarget
94 status, output = self._run(sshCmd, processTimeout, ignore_status, raw)
117 return self._run(scpCmd, ignore_status=False)
125 (status, output) = self._run(scpCmd, ignore_status=warn_on_failure)
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dupgrade.py29 def _run(cmd, cwd=''): function
176 return _run(cmd, srctree)
264 (stdout, _) = _run('git rev-parse HEAD', cwd=path)
273 _run('git checkout devtool-patched -b %s' % branch, cwd=path)
274 (stdout, _) = _run('git branch --list devtool-override-*', cwd=path)
290 _run('git checkout %s' % b, cwd=path)
292 _run('git rebase %s' % target_branch, cwd=path)
296 _run('git rebase --abort', cwd=path)
305 _run('git checkout %s' % branch, cwd=path)
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/utils/
H A Dtargetbuildproject.py39 def _run(self, cmd): member in TargetBuildProject
/openbmc/u-boot/Documentation/sphinx/
H A Dkernel_include.py74 return self._run()
76 def _run(self): member in KernelInclude
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/utils/
H A Dsdkbuildproject.py45 def _run(self, cmd): member in SDKBuildProject

12