From: Paul Eggleton <paul.eggle...@microsoft.com>

Add verification of FIT_DESC to the existing test for kernel-fitimage.

Signed-off-by: Paul Eggleton <paul.eggle...@microsoft.com>
---
 meta/lib/oeqa/selftest/cases/fitimage.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py 
b/meta/lib/oeqa/selftest/cases/fitimage.py
index 2c3803d..2a02c60 100644
--- a/meta/lib/oeqa/selftest/cases/fitimage.py
+++ b/meta/lib/oeqa/selftest/cases/fitimage.py
@@ -35,6 +35,7 @@ UBOOT_RD_LOADADDRESS = "0x88000000"
 UBOOT_RD_ENTRYPOINT = "0x88000000"
 UBOOT_LOADADDRESS = "0x80080000"
 UBOOT_ENTRYPOINT = "0x80080000"
+FIT_DESC = "A model description"
 """
         self.write_config(config)
 
@@ -59,7 +60,9 @@ UBOOT_ENTRYPOINT = "0x80080000"
         # The order of fields in the below array is important. Not all the
         # fields are tested, only the key fields that wont vary between
         # different architectures.
-        its_field_check = ['type = "kernel";',
+        its_field_check = [
+            'description = "A model description";',
+            'type = "kernel";',
             'load = <0x80080000>;',
             'entry = <0x80080000>;',
             'type = "ramdisk";',
-- 
1.8.3.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145805): 
https://lists.openembedded.org/g/openembedded-core/message/145805
Mute This Topic: https://lists.openembedded.org/mt/79028972/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to