meta-selftest: add error recipe and error-image
* The error recipe throws an error during compile * The error-image includes the error recipe * Initial target is toaster selenium testing (From OE-Core rev: 1810d4ab3374d833cb4b68388b456dc7ddb3d685) Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
261e68c4f3
commit
aff7e72611
|
@ -0,0 +1,11 @@
|
||||||
|
SUMMARY = "Error Test case that fails on do_compile"
|
||||||
|
DESCRIPTION = "This generates a compile time error to be used to for testing."
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
EXCLUDE_FROM_WORLD = "1"
|
||||||
|
|
||||||
|
do_compile() {
|
||||||
|
bbfatal "Failing as expected.";
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
SUMMARY = "An image that includes the error recipe and will therefore fail"
|
||||||
|
DESCRIPTION = "This generates an error. Not currently used by oe-selftest"
|
||||||
|
|
||||||
|
IMAGE_INSTALL = "error"
|
||||||
|
|
||||||
|
IMAGE_LINGUAS = " "
|
||||||
|
|
||||||
|
inherit core-image
|
Loading…
Reference in New Issue