]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime: Add case, context and loader classes for runtime testing
authorMariano Lopez <mariano.lopez@linux.intel.com>
Mon, 31 Oct 2016 13:15:02 +0000 (13:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:55 +0000 (12:03 +0000)
commitf995f178de79d6d11422cd879d06371811f50651
tree0d844befb24590df492f5e6f0c829b0496b63b53
parent3bc13548df4adb85f09467d200530a9c9f60da04
oeqa/runtime: Add case, context and loader classes for runtime testing

This adds OERuntimeTestCase, OERuntimeTestContext, and OERuntimeTestLoader
to be used for runtime testing.

As expected there are some changes in runtime context:

- Adds the target to be used for runtime testing, the default
is a SSH connection to the device under test running a OE image.
- Runtime context requires image manifest because several
tests are skipped if a package is missing or installed.
- Several tests require the output of the ps command and it changes
its output and arguments if busybox o procps is installed, so the
case must use the correct ps command.

[YOCTO #10234]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
meta/lib/oeqa/runtime/case.py [new file with mode: 0644]
meta/lib/oeqa/runtime/context.py [new file with mode: 0644]
meta/lib/oeqa/runtime/loader.py [new file with mode: 0644]