]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/imagefeatures: Use QemuTarget code
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jul 2015 13:04:02 +0000 (14:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jul 2015 22:28:21 +0000 (23:28 +0100)
commit7d18d1169204ee80f1c00b35998f10fffaefa107
treefbf08b5dd9df45cadaf64c776e8bb6b52daf4cc4
parent09b7ed39df150257cfe2eb55a8f8c7475e73217e
oeqa/selftest/imagefeatures: Use QemuTarget code

Create a runqemu function which uses the QemuTarget() code from
oeqa.targetcontrol to setup the QEMU instance, with all of the added
robustness that that gives us. To do this, a datastore is needed for the
recipe in question (core-image-minimal) so we do the work needed to set
this up. We then use this runqemu function within the imagefeatures
tests instead of a hand-rolled implementation.

We can then use SSHControl to run the SSH tests rather than rolling our
own code to do that as an added bonus.

Fixed and extended by Paul Eggleton <paul.eggleton@linux.intel.com>.

Part of the fix for [YOCTO #7994].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/imagefeatures.py
meta/lib/oeqa/utils/commands.py