]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: add a test for devtool deploy-target
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 13 Mar 2015 18:27:06 +0000 (18:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2015 11:03:13 +0000 (11:03 +0000)
commit9dc16a8a87bef5dc408aefb256c01e2a4fe3563c
treeff7f7967e59f61d3e067c3526959d0b4fcd9a5fd
parent48b58466bba084fd3439706d47e0cfbb7e951ee4
oe-selftest: add a test for devtool deploy-target

Whilst this test would seemingly be better placed as a runtime test,
unfortunately the runtime tests run under bitbake and you can't run
devtool within bitbake (since devtool needs to run bitbake itself).
Additionally we are testing build-time functionality as well, so
really this has to be done as an oe-selftest test.

This test does have a few perhaps unusual requirements in order to run:
 * pexpect is installed
 * MACHINE is set to one of the qemu machines
 * runqemu tap devices have been set up

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta-selftest/recipes-test/images/oe-selftest-image.bb [new file with mode: 0644]
meta/lib/oeqa/selftest/devtool.py