summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/sstatetests.py
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-09-11 19:25:21 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-13 07:42:28 +0100
commit50b2d1679fd6a9e501e11837699ef20646cdcad9 (patch)
tree2b8c7ca5a839f4f95bf472a9ac0215bef9593e61 /meta/lib/oeqa/selftest/cases/sstatetests.py
parentee929034ebd712c702bb1199dec59999d91c15f0 (diff)
downloadpoky-50b2d1679fd6a9e501e11837699ef20646cdcad9.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/sstatetests.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/sstatetests.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py
index 7b008e409f..7194225c0a 100644
--- a/meta/lib/oeqa/selftest/cases/sstatetests.py
+++ b/meta/lib/oeqa/selftest/cases/sstatetests.py
@@ -349,12 +349,9 @@ MACHINE = \"qemuarm\"
349 self.sstate_allarch_samesigs(configA, configB) 349 self.sstate_allarch_samesigs(configA, configB)
350 350
351 @OETestID(1645) 351 @OETestID(1645)
352 def test_sstate_allarch_samesigs_multilib(self): 352 def test_sstate_nativesdk_samesigs_multilib(self):
353 """ 353 """
354 The sstate checksums of allarch multilib packages should be independent of whichever 354 check nativesdk stamps are the same between the two MACHINE values.
355 MACHINE is set. Check this using bitbake -S.
356 Also, rather than duplicate the test, check nativesdk stamps are the same between
357 the two MACHINE values.
358 """ 355 """
359 356
360 configA = """ 357 configA = """
@@ -392,10 +389,6 @@ MULTILIBS = \"\"
392 (_, task, _, shash) = name.rsplit(".", 3) 389 (_, task, _, shash) = name.rsplit(".", 3)
393 f[os.path.join(os.path.basename(root), task)] = shash 390 f[os.path.join(os.path.basename(root), task)] = shash
394 return f 391 return f
395 files1 = get_files(self.topdir + "/tmp-sstatesamehash/stamps/all" + self.target_vendor + "-" + self.target_os)
396 files2 = get_files(self.topdir + "/tmp-sstatesamehash2/stamps/all" + self.target_vendor + "-" + self.target_os)
397 self.maxDiff = None
398 self.assertEqual(files1, files2)
399 392
400 nativesdkdir = os.path.basename(glob.glob(self.topdir + "/tmp-sstatesamehash/stamps/*-nativesdk*-linux")[0]) 393 nativesdkdir = os.path.basename(glob.glob(self.topdir + "/tmp-sstatesamehash/stamps/*-nativesdk*-linux")[0])
401 394