A series with enhancements and new test cases for wic selftest. The enhancements mostly allow for running wic selftest on non-x86 MACHINE, such as qemuarm (the whole series was verified on qemux86 and qemuarm).
Patches in this series were previously a part of [1], but since then --fixed-size was merged upstream. The remaining selftest patches were rebased and received performance enhancements. The first patch adds a machine independent kickstart file - wictestdisk. Most of test cases build a disk image using one of the kickstart files shipped in Poky (mostly directdisk. These are usually x86 oriented due to use of syslinux and cannot be used when running with non-x86 compatible MACHINE. On the other hand, the image built during tests does not need to be bootable (with exception of TCs that verify if the image is indeed bootable). Patch 2 introduces wictestdisk in test cases where its use is possible. Patch 3 adds onlyForArch() convenience decorator and applies it to test cases where x86 specific image must be used. Changes since previous versions: - only 11 TCs are skipped on non-x86 targets, 17 previously - performance improvements due to lru_cache() wrapped helper for get_bb_var() Patch 4 removes some assumptions about kernel image. Patch 5 adds tests for --fixed-size partition flags, changes: - cache native sysroot path in class The changes in this series depend on the following commit (https://patchwork.openembedded.org/patch/135482/): commit 4299a3de6789833a27cce4f7e4bc79f48946f171 Author: Ed Bartosh <ed.bart...@linux.intel.com> Date: Fri Dec 23 01:42:14 2016 +0200 image_types.bbclass: look for wks files in <layer>/wic Maciej Borzecki (5): selftest: wictestdisk: machine agnostic WKS for use with selftest selftest: wic: replace directdisk with wictestdisk where possible wic: selftest: avoid COMPATIBLE_HOST issues wic: selftest: do not assume bzImage kernel image wic: selftest: add tests for --fixed-size partition flags meta-selftest/wic/wictestdisk.wks | 7 ++ meta/lib/oeqa/selftest/wic.py | 183 ++++++++++++++++++++++++++++++-------- 2 files changed, 151 insertions(+), 39 deletions(-) create mode 100644 meta-selftest/wic/wictestdisk.wks -- 2.5.5 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core