diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2020-12-16 18:51:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-20 00:03:01 +0000 |
commit | 1d75a67efe968f1d9161b64e2b7b2d3cf482c968 (patch) | |
tree | 5f29235d2db02b3f9d3bf30e43210f65cdc3147e /meta/lib | |
parent | 89f620cc142df9b4af6d49a13db96452ec838139 (diff) | |
download | openembedded-core-contrib-1d75a67efe968f1d9161b64e2b7b2d3cf482c968.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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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";', |