]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:05:20 +0000 (12:05 +0000)
commit4cd982566b10375925e616b176e988219d65b170
tree5301e66b2d48ff232533ab4c4485c0aeed85d530
parent6ad52a82ea9129716f6fb0d2c50f51fc24ed171a
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]

(From OE-Core rev: f995f178de79d6d11422cd879d06371811f50651)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]