| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | devtool.py | 13 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 D | bblayers.py | 9 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 D | wic.py | 23 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 D | pkgdata.py | 10 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 D | oescripts.py | 11 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) 54 …runCmd('%s/pybootchartgui/pybootchartgui.py %s -o %s/charts -f png' % (self.scripts_dir, self.bui… 58 …runCmd('%s/pybootchartgui/pybootchartgui.py %s -o %s/charts -f svg' % (self.scripts_dir, self.bui… 62 …runCmd('%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 D | kerneldevelopment.py | 3 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 D | runcmd.py | 6 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 D | gotoolchain.py | 10 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 D | fitimage.py | 6 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 D | recipetool.py | 10 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 D | runtime_test.py | 6 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) 154 …runCmd('gpgconf --list-dirs --homedir %s; gpg -v --batch --homedir %s --import %s' % (self.gpg_hom… 191 …runCmd('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 D | externalsrc.py | 12 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 D | bbtests.py | 9 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 D | imagefeatures.py | 7 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 D | signing.py | 6 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, create_temp_layer 34 …runCmd('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 D | prservice.py | 12 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 D | minidebuginfo.py | 12 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 D | eSDK.py | 11 from oeqa.utils.commands import runCmd, bitbake, get_bb_vars 38 …runCmd("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 D | meta_ide.py | 7 from oeqa.utils.commands import bitbake, get_bb_vars, runCmd 35 runCmd('cp %s/test.c %s' % (self.tc.files_dir, self.tmpdir_metaideQA)) 36 … runCmd("cd %s; . %s; $CC test.c -lm" % (self.tmpdir_metaideQA, self.environment_script_path))
|
| H A D | _sstatetests_noauto.py | 9 from oeqa.utils.commands import runCmd, bitbake, get_bb_var 67 …runCmd((". %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 D | liboe.py | 6 from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd 67 …runCmd('%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 D | containerimage.py | 8 from oeqa.utils.commands import bitbake, get_bb_vars, runCmd 86 result = runCmd("tar tf {} | sort".format(image), shell=True)
|
| H A D | sstatetests.py | 11 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) 201 …runCmd("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 D | systemd_boot.py | 5 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 D | git.py | 9 from oeqa.utils.commands import runCmd 39 ret = runCmd(git_cmd, ignore_status=True, cwd=cwd, **kwargs)
|