statetests.py: drop test_sstate_allarch_samesigs_multilib

allarch is disabled when multilib is used, so sstate oeqa case
test_sstate_allarch_samesigs_multilib is useless. Remove check for
allarch part and rename to test_sstate_nativesdk_samesigs_multilib.

(From OE-Core rev: 32fe47ea0aea791357d3045c202cdad86b16f2ff)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kai Kang
2018-09-11 19:25:21 -04:00
committed by Richard Purdie
parent ee929034eb
commit 50b2d1679f

View File

@@ -349,12 +349,9 @@ MACHINE = \"qemuarm\"
self.sstate_allarch_samesigs(configA, configB)
@OETestID(1645)
def test_sstate_allarch_samesigs_multilib(self):
def test_sstate_nativesdk_samesigs_multilib(self):
"""
The sstate checksums of allarch multilib packages should be independent of whichever
MACHINE is set. Check this using bitbake -S.
Also, rather than duplicate the test, check nativesdk stamps are the same between
the two MACHINE values.
check nativesdk stamps are the same between the two MACHINE values.
"""
configA = """
@@ -392,10 +389,6 @@ MULTILIBS = \"\"
(_, task, _, shash) = name.rsplit(".", 3)
f[os.path.join(os.path.basename(root), task)] = shash
return f
files1 = get_files(self.topdir + "/tmp-sstatesamehash/stamps/all" + self.target_vendor + "-" + self.target_os)
files2 = get_files(self.topdir + "/tmp-sstatesamehash2/stamps/all" + self.target_vendor + "-" + self.target_os)
self.maxDiff = None
self.assertEqual(files1, files2)
nativesdkdir = os.path.basename(glob.glob(self.topdir + "/tmp-sstatesamehash/stamps/*-nativesdk*-linux")[0])