aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta/meta-toolchain.bb
diff options
context:
space:
mode:
authorJiajun Xu <jiajun.xu@intel.com>2011-05-03 10:07:30 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:54:12 +0100
commitd4ec2a2ce255cb58cbd142f38aad4a56898b61a6 (patch)
treef34353acfee3b98e8b777be17317e1d4dbf3f007 /meta/recipes-core/meta/meta-toolchain.bb
parent041a10722b7311c57a03d5a032621d8c32e4fc7e (diff)
downloadopenembedded-core-contrib-d4ec2a2ce255cb58cbd142f38aad4a56898b61a6.tar.gz
qemuimagetest: Enable toolchain automation tests in qemuimagetest
Enable toolchain automation tests in qemuimagetest framework. 3 C/C++ test projects are added to test toolchain - cvs, iptables and sudoku-savant. User needs to set TEST_SCEN to "toolchain" in local.conf to enable tests. Test case will check if toolchain tarball exists under "${DEPLOY_DIR}/sdk". And it will extract toolchain tarball into /opt. It requires user to chown /opt to non-root user, who will run qemuimagetest. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
Diffstat (limited to 'meta/recipes-core/meta/meta-toolchain.bb')
-rw-r--r--meta/recipes-core/meta/meta-toolchain.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/meta-toolchain.bb b/meta/recipes-core/meta/meta-toolchain.bb
index 94c8a91a72..ab98bf99b2 100644
--- a/meta/recipes-core/meta/meta-toolchain.bb
+++ b/meta/recipes-core/meta/meta-toolchain.bb
@@ -6,6 +6,7 @@ PR = "r4"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-inherit populate_sdk
+IMAGETEST ?= "dummy"
+inherit populate_sdk imagetest-${IMAGETEST}
CONFIG_SITE := "${@siteinfo_get_files(d)}"