summaryrefslogtreecommitdiff
path: root/poky/meta/lib/oeqa/selftest/cases
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-16 01:30:15 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-26 15:46:19 +0300
commitc4ea075d918124f556619e8e75b7ca38b3f2dac8 (patch)
tree9e2cffe8b1767635307bb0bfef5cbcc432fa4214 /poky/meta/lib/oeqa/selftest/cases
parenta7999f57d119bdb9377220db06b8c047fc39d49e (diff)
downloadopenbmc-c4ea075d918124f556619e8e75b7ca38b3f2dac8.tar.xz
poky: sumo refresh eebbc00b25..64a257fa22
Update poky to sumo HEAD. Armin Kuster (1): dhcp: allow for excluding the external bind Awais Belal (1): bitbake: bitbake: toaster: allow OE_ROOT to be provided through environment Changqing Li (2): unzip: fix for CVE-2018-18384 curl: fix for CVE-2018-16839/CVE-2018-16840/CVE-2018-16842 Fabien Lahoudere (1): archiver: Drop unwanted directories Ioan-Adrian Ratiu (1): wic: isoimage-isohybrid: fix UEFI spec breakage Kosta Zertsekel (1): meta: Use double colon for chown OWNER:GROUP Matthias Schiffer (1): base.bbclass: avoid 'find -ignore_readdir_race -delete' Mohamad Noor Alim Hussin (1): oeqa/selftest/recipetool: Fix problems from changing upstream source Peter Kjellerstedt (4): common-licenses: Correct the FreeType license text apr: Trim license info extracted from apr_lib.h apr-util: Trim license info extracted from apu_version.h pixman: Trim license info extracted from pixman-matrix.c Richard Purdie (4): oeqa/selftest/wic: Use a subdir of builddir, not /var/ oeqa/selftest/wic: Ensure initramfs exists for test_iso_image selftest/wic: Improve error message for test_fixed_size crosssdk: Remove usage of host flags for cross-compilation Ross Burton (3): unzip: actually apply CVE-2018-18384 curl: actually apply latest CVE patches gnupg: patch gnupg-native to allow path relocation Scott Rifenbark (1): kernel-dev: Updated phrasing for what a "defconfig" file is. Change-Id: I08f7fbe91f3f7ed6f00b6ea691c33ee1e0d3205b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/meta/lib/oeqa/selftest/cases')
-rw-r--r--poky/meta/lib/oeqa/selftest/cases/recipetool.py4
-rw-r--r--poky/meta/lib/oeqa/selftest/cases/wic.py6
2 files changed, 4 insertions, 6 deletions
diff --git a/poky/meta/lib/oeqa/selftest/cases/recipetool.py b/poky/meta/lib/oeqa/selftest/cases/recipetool.py
index 754ea9498..437eb2a73 100644
--- a/poky/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/poky/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -431,12 +431,12 @@ class RecipetoolTests(RecipetoolBase):
temprecipe = os.path.join(self.tempdir, 'recipe')
os.makedirs(temprecipe)
recipefile = os.path.join(temprecipe, 'navit_0.5.0.bb')
- srcuri = 'http://downloads.sourceforge.net/project/navit/v0.5.0/navit-0.5.0.tar.gz'
+ srcuri = 'http://downloads.yoctoproject.org/mirror/sources/navit-0.5.0.tar.gz'
result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
self.assertTrue(os.path.isfile(recipefile))
checkvars = {}
checkvars['LICENSE'] = set(['Unknown', 'GPLv2', 'LGPLv2'])
- checkvars['SRC_URI'] = 'http://downloads.sourceforge.net/project/navit/v${PV}/navit-${PV}.tar.gz'
+ checkvars['SRC_URI'] = 'http://downloads.yoctoproject.org/mirror/sources/navit-${PV}.tar.gz'
checkvars['SRC_URI[md5sum]'] = '242f398e979a6b8c0f3c802b63435b68'
checkvars['SRC_URI[sha256sum]'] = '13353481d7fc01a4f64e385dda460b51496366bba0fd2cc85a89a0747910e94d'
checkvars['DEPENDS'] = set(['freetype', 'zlib', 'openssl', 'glib-2.0', 'virtual/libgl', 'virtual/egl', 'gtk+', 'libpng', 'libsdl', 'freeglut', 'dbus-glib'])
diff --git a/poky/meta/lib/oeqa/selftest/cases/wic.py b/poky/meta/lib/oeqa/selftest/cases/wic.py
index b84466d9a..baf3af6eb 100644
--- a/poky/meta/lib/oeqa/selftest/cases/wic.py
+++ b/poky/meta/lib/oeqa/selftest/cases/wic.py
@@ -64,13 +64,13 @@ def only_for_arch(archs, image='core-image-minimal'):
class Wic(OESelftestTestCase):
"""Wic test class."""
- resultdir = "/var/tmp/wic.oe-selftest/"
image_is_ready = False
native_sysroot = None
wicenv_cache = {}
def setUpLocal(self):
"""This code is executed before each test method."""
+ self.resultdir = self.builddir + "/wic-tmp/"
super(Wic, self).setUpLocal()
if not self.native_sysroot:
Wic.native_sysroot = get_bb_var('STAGING_DIR_NATIVE', 'wic-tools')
@@ -191,7 +191,7 @@ class Wic(OESelftestTestCase):
'MACHINE_FEATURES_append = " efi"\n'\
'DEPENDS_pn-core-image-minimal += "syslinux"\n'
self.append_config(config)
- bitbake('core-image-minimal')
+ bitbake('core-image-minimal core-image-minimal-initramfs')
self.remove_config(config)
cmd = "wic create mkhybridiso --image-name core-image-minimal -o %s" % self.resultdir
self.assertEqual(0, runCmd(cmd).status)
@@ -691,9 +691,7 @@ part /etc --source rootfs --ondisk mmcblk0 --fstype=ext4 --exclude-path bin/ --r
# verify partition size with wic
res = runCmd("parted -m %s unit mib p 2>/dev/null" % wicimg,
- ignore_status=True,
native_sysroot=self.native_sysroot)
- self.assertEqual(0, res.status)
# parse parted output which looks like this:
# BYT;\n