]> code.ossystems Code Review - openembedded-core.git/commitdiff
selftest: wic: Add APPEND to the optional variables list
authorKevin Hao <kexin.hao@windriver.com>
Sat, 15 Feb 2020 11:41:44 +0000 (19:41 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Feb 2020 22:41:45 +0000 (22:41 +0000)
The APPEND is an optional variable, so add it to the optional variables
list to make the wic selftest happy.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/wic.py

index 46cd98b1934d81b9fa69850789c85bc7698ce341..626a217e69faf731a946d5f45030f8a46c4f6853 100644 (file)
@@ -537,7 +537,8 @@ class Wic2(WicTestCase):
         # filter out optional variables
         wicvars = wicvars.difference(('DEPLOY_DIR_IMAGE', 'IMAGE_BOOT_FILES',
                                       'INITRD', 'INITRD_LIVE', 'ISODIR','INITRAMFS_IMAGE',
-                                      'INITRAMFS_IMAGE_BUNDLE', 'INITRAMFS_LINK_NAME'))
+                                      'INITRAMFS_IMAGE_BUNDLE', 'INITRAMFS_LINK_NAME',
+                                      'APPEND'))
         with open(path) as envfile:
             content = dict(line.split("=", 1) for line in envfile)
             # test if variables used by wic present in the .env file