]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstatetests: Add OLDEST_KERNEL to allarch tests
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jan 2022 13:49:04 +0000 (13:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Jan 2022 15:47:11 +0000 (15:47 +0000)
Some architectures vary OLDEST_KERNEL and this shouldn't change the allarch
signatures but in current OE-Core can/does. Add differing values to the
test configs to ensure we catch this in future (we want to keep a 32 and
64 bit machine here to test that as well).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/sstatetests.py

index 2be96f1781b259b28a7e211df6fba30d27a74eba..70ef10cda53a7252d9c7e45f6cbeeae3de6a80fd 100644 (file)
@@ -342,10 +342,12 @@ TCLIBCAPPEND = \"\"
 MACHINE = \"qemux86-64\"
 BB_SIGNATURE_HANDLER = "OEBasicHash"
 """
+        #OLDEST_KERNEL is arch specific so set to a different value here for testing
         configB = """
 TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\"
 TCLIBCAPPEND = \"\"
 MACHINE = \"qemuarm\"
+OLDEST_KERNEL = \"3.3.0\"
 BB_SIGNATURE_HANDLER = "OEBasicHash"
 """
         self.sstate_allarch_samesigs(configA, configB)