]> code.ossystems Code Review - openembedded-core.git/commit
qemuimagetest: Enable toolchain automation tests in qemuimagetest
authorJiajun Xu <jiajun.xu@intel.com>
Tue, 3 May 2011 02:07:30 +0000 (10:07 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 May 2011 23:54:12 +0000 (00:54 +0100)
commitd4ec2a2ce255cb58cbd142f38aad4a56898b61a6
treef34353acfee3b98e8b777be17317e1d4dbf3f007
parent041a10722b7311c57a03d5a032621d8c32e4fc7e
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>
12 files changed:
meta/classes/imagetest-qemu.bbclass
meta/conf/local.conf.sample
meta/recipes-core/meta/meta-toolchain.bb
scripts/qemuimage-testlib
scripts/qemuimage-tests/scenario/qemuarm/meta-toolchain-gmae [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemumips/meta-toolchain-gmae [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemuppc/meta-toolchain-gmae [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemux86-64/meta-toolchain-gmae [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemux86/meta-toolchain-gmae [new file with mode: 0644]
scripts/qemuimage-tests/toolchain/cvs [new file with mode: 0644]
scripts/qemuimage-tests/toolchain/iptables [new file with mode: 0644]
scripts/qemuimage-tests/toolchain/sudoku-savant [new file with mode: 0644]