diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2020-12-14 01:28:02 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.microsoft.com> | 2020-12-16 18:44:51 -0800 |
commit | f4febec53413964bd192043df28d0c9a82181f94 (patch) | |
tree | f949084f406b41e2fc20c61707f1749e80d0f830 | |
parent | efcddba69ef957063f5d98a1e99c024bc5eb3c7c (diff) | |
download | openembedded-core-contrib-f4febec53413964bd192043df28d0c9a82181f94.tar.gz |
oe-selftest: fitimage: Test for FIT_DESC
Add verification of FIT_DESC to the existing test for kernel-fitimage.
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
-rw-r--r-- | meta/lib/oeqa/selftest/cases/fitimage.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index 2c3803d5be..2a02c60251 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";', |