diff options
author | brian avery <avery.brian@gmail.com> | 2015-09-21 16:45:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-24 17:52:46 +0100 |
commit | 1810d4ab3374d833cb4b68388b456dc7ddb3d685 (patch) | |
tree | 2926a2cf3bc8363539ab91615e87598cc8864ea7 /meta-selftest/recipes-test/error | |
parent | cf3c5a6253e14576a63dde20682ab2cc50bdcbfe (diff) | |
download | openembedded-core-1810d4ab3374d833cb4b68388b456dc7ddb3d685.tar.gz openembedded-core-1810d4ab3374d833cb4b68388b456dc7ddb3d685.tar.bz2 openembedded-core-1810d4ab3374d833cb4b68388b456dc7ddb3d685.zip |
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
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>
Diffstat (limited to 'meta-selftest/recipes-test/error')
-rw-r--r-- | meta-selftest/recipes-test/error/error.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/error/error.bb b/meta-selftest/recipes-test/error/error.bb new file mode 100644 index 0000000000..a7bdecf29d --- /dev/null +++ b/meta-selftest/recipes-test/error/error.bb @@ -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."; +} |