Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Ddevtool.py13 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, create_temp_layer
41 result = runCmd('git rev-parse --show-toplevel', cwd=canonical_layerpath)
44 runCmd('git clone %s %s' % (oldreporoot, corecopydir), cwd=templayerdir)
51 result = runCmd('git status --porcelain', cwd=oldreporoot)
97 result = runCmd('git status --porcelain', cwd=repo_dir)
100 result = runCmd('git symbolic-ref HEAD', cwd=repo_dir)
106 result = runCmd('git status . --porcelain',
170 result = runCmd('bitbake-layers show-appends', cwd=self.builddir)
196 result = runCmd('bitbake-layers add-layer %s' % templayerdir, cwd=self.builddir)
266 runCmd('rm -rf %s' % cls.devtool_sstate)
[all …]
H A Dbblayers.py9 from oeqa.utils.commands import runCmd, get_bb_var, get_bb_vars
16 result = runCmd('bitbake-layers layerindex-show-depends meta-poky')
21 result = runCmd('bitbake-layers show-cross-depends')
25 result = runCmd('bitbake-layers show-layers')
31 result = runCmd('bitbake-layers show-appends')
35 result = runCmd('bitbake-layers show-overlayed')
45 result = runCmd('bitbake-layers flatten %s' % testoutdir)
54 result = runCmd('bitbake-layers show-layers')
56 result = runCmd('bitbake-layers add-layer %s' % test_layer)
57 result = runCmd('bitbake-layers show-layers')
[all …]
H A Dwic.py23 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu
109 runCmd('wic --version')
113 runCmd('wic --help')
114 runCmd('wic -h')
118 runCmd('wic create --help')
122 runCmd('wic list --help')
126 runCmd('wic help create')
130 runCmd('wic help list')
134 runCmd('wic help overview')
138 runCmd('wic help plugins')
[all …]
H A Dpkgdata.py10 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
24 result = runCmd('oe-pkgdata-util lookup-pkg "zlib busybox"')
26 result = runCmd('oe-pkgdata-util lookup-pkg zlib-dev')
28 result = runCmd('oe-pkgdata-util lookup-pkg nonexistentpkg', ignore_status=True)
32 result = runCmd('oe-pkgdata-util lookup-pkg -r "libz1 busybox"')
34 result = runCmd('oe-pkgdata-util lookup-pkg -r libz-dev')
36 result = runCmd('oe-pkgdata-util lookup-pkg -r nonexistentpkg', ignore_status=True)
41 result = runCmd('oe-pkgdata-util read-value PN libz1')
43 result = runCmd('oe-pkgdata-util read-value PKG libz1')
45 result = runCmd('oe-pkgdata-util read-value PKGSIZE m4')
[all …]
H A Doescripts.py11 from oeqa.utils.commands import runCmd, bitbake, get_bb_var
20 result = runCmd("oe-pkgdata-util read-value PKGV %s" % target)
22 result = runCmd("buildhistory-diff -p %s" % get_bb_var('BUILDHISTORY_DIR'))
51 runCmd('%s/pybootchartgui/pybootchartgui.py --help' % self.scripts_dir)
54runCmd('%s/pybootchartgui/pybootchartgui.py %s -o %s/charts -f png' % (self.scripts_dir, self.bui…
58runCmd('%s/pybootchartgui/pybootchartgui.py %s -o %s/charts -f svg' % (self.scripts_dir, self.bui…
62runCmd('%s/pybootchartgui/pybootchartgui.py %s -o %s/charts -f pdf' % (self.scripts_dir, self.bui…
70 res = runCmd('%s/oe-git-proxy --help' % self.scripts_dir, assert_error=False)
86 res = runCmd('%s%s/oe-git-proxy host.outside-example.com 9418' %
90 res = runCmd('%s%s/oe-git-proxy host.example.com 9418' %
[all …]
H A Dkerneldevelopment.py3 from oeqa.utils.commands import runCmd, get_bb_var
13 runCmd('bitbake-layers create-layer %s' % cls.layername)
14 runCmd('mkdir -p %s/recipes-kernel/linux/linux-yocto' % cls.layername)
18 runCmd('bitbake-layers add-layer %s' % cls.layername)
22 runCmd('bitbake-layers remove-layer %s' % cls.layername, ignore_status=True)
23 runCmd('rm -rf %s' % cls.layername)
39 runCmd('bitbake virtual/kernel -c patch')
54 runCmd('mv %s %s' % (patchpath, self.recipes_linuxyocto_dir))
55 runCmd('rm %s ' % readme)
63 runCmd('bitbake virtual/kernel -c clean')
[all …]
H A Druncmd.py6 from oeqa.utils.commands import runCmd
34 result = runCmd("true")
38 result = runCmd("false", ignore_status=True)
43 result = runCmd("false; true", ignore_status=True)
48 runCmd, "false; true", shell=False)
52 runCmd, ["false; true"])
55 result = runCmd(["true"])
60 runCmd, "echo foobar >&2; false", shell=True)
64 runCmd, "echo foobar >&2; false", shell=True, assert_error=False)
67 result = runCmd("echo stdout; echo stderr >&2", shell=True, sync=False)
[all …]
H A Dgotoolchain.py10 from oeqa.utils.commands import runCmd, bitbake, get_bb_vars
41 runCmd("sh %s -y -d \"%s\"" % (cls.sdk_path, cls.tmpdir_SDKQA))
56 return runCmd(cmd).status
65 runCmd("cd %s; wget %s" % (self.tmpdir_SDKQA, url))
66 runCmd("cd %s; tar -xf %s" % (self.tmpdir_SDKQA, ver+archive))
67 runCmd("mkdir -p %s/src/%s" % (self.go_path, proj))
68 runCmd("mv %s/direnv-2.27.0 %s/src/%s/%s"
H A Dfitimage.py6 from oeqa.utils.commands import runCmd, bitbake, get_bb_var
197 result = runCmd('bitbake -e u-boot-tools-native | grep ^RECIPE_SYSROOT_NATIVE=')
200 result = runCmd('%s -l %s' % (dumpimage_path, fitimage_path))
226 result = runCmd('bitbake -e virtual/kernel | grep ^T=')
228 …result = runCmd('grep "a smart comment" %s/run.do_assemble_fitimage' % tempdir, ignore_status=True)
232 …result = runCmd('grep "### uboot-mkimage wrapper message" %s/log.do_assemble_fitimage' % tempdir, …
234 …result = runCmd('grep "### uboot-mkimage signing wrapper message" %s/log.do_assemble_fitimage' % t…
516 result = runCmd('bitbake -e u-boot-tools-native | grep ^RECIPE_SYSROOT_NATIVE=')
519 result = runCmd('%s -l %s' % (dumpimage_path, fitimage_path))
541 result = runCmd('bitbake -e virtual/kernel | grep ^T=')
[all …]
H A Drecipetool.py10 from oeqa.utils.commands import runCmd, bitbake, get_bb_var
20 runCmd('bitbake-layers add-layer %s' % templayerdir)
24 runCmd('bitbake-layers remove-layer %s' % templayerdir, ignore_status=True)
25 runCmd('rm -rf %s' % templayerdir)
40 runCmd('rm -rf %s/recipes-*' % self.templayerdir)
44 result = runCmd(cmd)
88 result = runCmd(cmd, ignore_status=True)
127 result = runCmd('diff -q %s %s' % (testfile2, copiedfile), ignore_status=True)
134 … result = runCmd('recipetool appendfile %s /bin/ls %s -r coreutils' % (self.templayerdir, ls))
299 …result = runCmd('recipetool appendfile %s /usr/share/selftest-replaceme-orig %s' % (exttemplayerdi…
[all …]
H A Druntime_test.py6 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu
51 result = runCmd(cmd)
94 result = runCmd("%s -y -d %s" % (tarball_path, tmpdirname))
98 result = runCmd(". %s; which tar" % env_script, shell=True)
104 result = runCmd("%s --version" % tar_sdk)
154runCmd('gpgconf --list-dirs --homedir %s; gpg -v --batch --homedir %s --import %s' % (self.gpg_hom…
191runCmd('gpgconf --list-dirs --homedir %s; gpg -v --batch --homedir %s --import %s' % (self.gpg_hom…
439 result = runCmd(cmd)
451 result = runCmd(cmd)
463 result = runCmd(cmd)
[all …]
H A Dexternalsrc.py12 from oeqa.utils.commands import get_bb_var, runCmd
31 runCmd('git clone %s %s' % (git_url, externalsrc_dir))
38 runCmd('git checkout .gitmodules', cwd=externalsrc_dir)
39 runCmd('git submodule update --init --recursive', cwd=externalsrc_dir)
H A Dbbtests.py9 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
174 result = runCmd('bitbake -e | grep TEST_ENV=')
178 result = runCmd('bitbake -n m4-native')
182 result = runCmd('bitbake -p')
186 result = runCmd('bitbake -s | grep wget')
194 result = runCmd('bitbake -r conf/prefile.conf -e | grep TEST_PREFILE=')
197 result = runCmd('bitbake -r conf/prefile.conf -e | grep TEST_PREFILE=')
205 result = runCmd('bitbake -R conf/postfile.conf -e | grep TEST_POSTFILE=')
209 result = runCmd('bitbake -c checkuri m4')
219 runCmd('bitbake -c cleanall man-db xcursor-transparent-theme')
[all …]
H A Dimagefeatures.py7 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu
122 self.assertTrue(runCmd('gzip -t %s' % gzip_path))
154 result = runCmd('qemu-img info --output json %s' % image_path,
191 self.assertTrue(runCmd('cd %s;sha256sum -c %s.%s.sha256sum' %
280 result = runCmd('cd %s; tar xvf %s' % (deploy_dir_image, dbg_tar_file))
282 result = runCmd('find %s -name %s' % (deploy_dir_image, "udevadm"))
287 result = runCmd('objdump --syms %s | grep debug' % t)
H A Dsigning.py6 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, create_temp_layer
34runCmd('gpg --agent-program=`which gpg-agent`\|--auto-expand-secmem --batch --homedir %s --import …
109 runCmd('%s/rpmkeys --define "_dbpath %s" --import %s' %
112 ret = runCmd('%s/rpmkeys --define "_dbpath %s" --checksig %s' %
168 … ret = runCmd('gpg --homedir %s --verify %s %s' % (self.gpg_dir, recipe_sig[0], recipe_archive[0]))
203 runCmd('bitbake-layers add-layer %s' % templayerdir)
H A Dprservice.py12 from oeqa.utils.commands import runCmd, bitbake, get_bb_var
76 … export_result = runCmd("bitbake-prserv-tool export %s" % exported_db_path, ignore_status=True)
85 … import_result = runCmd("bitbake-prserv-tool import %s" % exported_db_path, ignore_status=True)
121 runCmd('bitbake-prserv --host localhost --port %s --loglevel=DEBUG --start' % port)
122 ret = runCmd('bitbake-prserv --host localhost --port %s --loglevel=DEBUG --stop' % port)
H A Dminidebuginfo.py12 from oeqa.utils.commands import bitbake, get_bb_var, runCmd
42 r = runCmd([readelf, "-W", "-S", os.path.join(unpackedfs, "bin", "busybox")],
46 r = runCmd([readelf, "-W", "-S", os.path.join(unpackedfs, "lib", "libc.so.6")],
H A DeSDK.py11 from oeqa.utils.commands import runCmd, bitbake, get_bb_vars
38runCmd("cd %s; unset BBPATH; unset BUILDDIR; . %s; %s" % (tmpdir_eSDKQA, env_eSDK, cmd), **options)
61 runCmd("%s -y -d \"%s\"" % (cls.ext_sdk_path, cls.tmpdir_eSDKQA))
88 runCmd("%s -y -d \"%s\"" % (cls.ext_sdk_path, cls.tmpdir_eSDKQA))
H A Dmeta_ide.py7 from oeqa.utils.commands import bitbake, get_bb_vars, runCmd
35 runCmd('cp %s/test.c %s' % (self.tc.files_dir, self.tmpdir_metaideQA))
36runCmd("cd %s; . %s; $CC test.c -lm" % (self.tmpdir_metaideQA, self.environment_script_path))
H A D_sstatetests_noauto.py9 from oeqa.utils.commands import runCmd, bitbake, get_bb_var
67runCmd((". %s/oe-init-build-env %s && " % (get_bb_var('COREBASE'), buildA)) + 'bitbake ' + ' '.jo…
77 …result_cleansstate = runCmd((". %s/oe-init-build-env %s && " % (get_bb_var('COREBASE'), buildB)) +…
83 …result_build = runCmd((". %s/oe-init-build-env %s && " % (get_bb_var('COREBASE'), buildB)) + 'bitb…
H A Dliboe.py6 from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd
67runCmd('%s/setfattr -n user.oetest -v "testing liboe" %s' % (bindir, oe.path.join(src, testfilenam…
71 result = runCmd('%s/getfattr -n user.oetest %s' % (bindir, oe.path.join(dst, testfilename)))
H A Dcontainerimage.py8 from oeqa.utils.commands import bitbake, get_bb_vars, runCmd
86 result = runCmd("tar tf {} | sort".format(image), shell=True)
H A Dsstatetests.py11 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, create_temp_layer
29 runCmd('bitbake-layers add-layer %s' % tempdir)
35 result = runCmd('git clone %s noname' % url, cwd=tempdir)
37 result = runCmd('git reset --hard %s' % srcrev, cwd=srcdir)
43 result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri])
53 result = runCmd('git add bar.txt; git commit -asm "add bar"', cwd=srcdir)
201runCmd("sstate-cache-management.sh -y --cache-dir=%s --remove-duplicated --extra-archs=%s" % (self…
/OK3568_Linux_fs/yocto/poky/meta-yocto-bsp/lib/oeqa/selftest/cases/
H A Dsystemd_boot.py5 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu
30 runCmd('rm -f %s' % systemdbootfile)
58 runCmd('rm -f %s' % imagebootfile)
62 runCmd('wic cp %s:1/EFI/BOOT/bootx64.efi %s -n %s' % (systemdbootimage,
69 result = runCmd('md5sum %s %s' % (systemdbootfile, imagebootfile))
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dgit.py9 from oeqa.utils.commands import runCmd
39 ret = runCmd(git_cmd, ignore_status=True, cwd=cwd, **kwargs)

12