summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-10 13:49:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-11 15:47:11 +0000
commit151ce55ec8ebc91b83bf0d09b9196f11646df1f1 (patch)
tree18613c4155a34f1f8de160379c5884c1e3bb1951 /meta/lib/oeqa/selftest
parentc32dfebbab45122dc005c1ae9c49dc15a4f350b2 (diff)
downloadopenembedded-core-151ce55ec8ebc91b83bf0d09b9196f11646df1f1.tar.gz
sstatetests: Add OLDEST_KERNEL to allarch tests
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>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r--meta/lib/oeqa/selftest/cases/sstatetests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py
index 2be96f1781..70ef10cda5 100644
--- a/meta/lib/oeqa/selftest/cases/sstatetests.py
+++ b/meta/lib/oeqa/selftest/cases/sstatetests.py
@@ -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)