]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
wic: selftest: avoid COMPATIBLE_HOST issues
authorMaciej Borzecki <maciej.borzecki@rndity.com>
Tue, 21 Mar 2017 11:35:03 +0000 (12:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Mar 2017 22:43:05 +0000 (22:43 +0000)
commitff46125082f08eb93cc549bbe1d79c3b8f9cba64
tree63822f0bde09dc51eebacae73dbf479706a70d34
parent071785b01cdaa0d35808fa0b7308162cfebf54f1
wic: selftest: avoid COMPATIBLE_HOST issues

Wic tests will unconditionally attempt to build images that may require
dependencies that are incompatible with current target.

Resolve this by consulting HOST_ARCH first (which defaults to TARGET_ARCH)
before proceeding to build images that may be incompatible.

A convenience decorator only_for_arch() can be used to skip test cases for
specific architectures.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/wic.py