generic-poky/meta/lib/oeqa/utils
Stefan Stanacar b4d9b4208b testimage: use the new targetcontrol.py module for running tests
This patch makes the necessary changes for using the targetcontrol.py module
so that one can run the same tests on a qemu instance or a remote machine
based on the value of TEST_TARGET variable: "qemu" or "simpleremote".
The default value is "qemu" which starts a qemu instance and it's the
with what we currently have.

With "simpleremote", the remote machine must be up with network and ssh
and you need to set TEST_TARGET_IP with the IP address of the remote machine
(it can still be a qemu instance that was manually started).

Basically testimage.bbclass now does something along the lines of:
 - load tests -> deploy (prepare) / start target -> run tests.
There were a couple of changes necessary for tests and
also some cleanups/renames that were needed to adjust this change. (use
ip everywhere when refering to target and server_ip when refering to host/build machine)
Also two unnecessary and unsed methods were dropped from sshcontrol.

[ YOCTO #5554 ]

(From OE-Core rev: a7820350fa3271d78ed7476e02f4aef593be1125)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-03 17:45:51 +00:00
..
__init__.py lib/oeqa/utils/sshcontrol.py: helper module for running remote commands 2013-07-09 10:53:44 +01:00
commands.py scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
decorators.py lib/oeqa: add oeTest superclass 2013-11-05 22:04:28 +00:00
ftools.py scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
httpserver.py lib/oeqa/runtime: smart: serve repo on host ip only and increase timeout 2013-09-03 19:57:38 +01:00
qemurunner.py testimage: use the new targetcontrol.py module for running tests 2013-12-03 17:45:51 +00:00
sshcontrol.py testimage: use the new targetcontrol.py module for running tests 2013-12-03 17:45:51 +00:00
targetbuild.py lib/oeqa/utils: targetbuild: Add helper class for building packages on target 2013-08-26 11:47:21 +01:00