diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2013-11-26 11:18:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:51:58 +0000 |
commit | c1bfd4017f6f6502a68ceb3edf7d2027d02a309d (patch) | |
tree | 8bc594c141ce4faae1491ddeac7d7185efcba4d0 /scripts/lib/mic/bootstrap.py | |
parent | a7820350fa3271d78ed7476e02f4aef593be1125 (diff) | |
download | openembedded-core-c1bfd4017f6f6502a68ceb3edf7d2027d02a309d.tar.gz openembedded-core-c1bfd4017f6f6502a68ceb3edf7d2027d02a309d.tar.bz2 openembedded-core-c1bfd4017f6f6502a68ceb3edf7d2027d02a309d.zip |
lib/oeqa: targetcontrol.py: add abstraction for running tests on different targets
Add a new module which abstracts the target object used by testimage.bbclass
The purpose of this module is to move the deployment of a target from testimage.bbclass,
basically abstracting different implementations of how we setup a target and how it runs commands.
It allows to select one implementation or another by setting TEST_TARGET (currently to: "qemu" and "simpleremote").
QemuTarget is used to start a qemu instance (as it's currently done in testimage.bbclass)
SimpleRemoteTarget is meant for a remote machine (by setting TEST_TARGET_IP) that's already up and running
with network and ssh.
Simply put, it opens the door for running the tests on different types of targets by adding new classes
(maybe qemu-nfsroot or remote-special etc.). One could also override BaseTarget which currently uses
the existing SSHControl module and add a serial implementation.
[ YOCTO #5554 ]
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/bootstrap.py')
0 files changed, 0 insertions, 0 deletions