]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/oetest.py: Add class ExportTestContext
authorMariano Lopez <mariano.lopez@linux.intel.com>
Mon, 2 May 2016 13:19:14 +0000 (13:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 May 2016 22:23:43 +0000 (23:23 +0100)
commitef9618a6e7f99e485cc6b59484d11807475c7823
tree79fd93b002ecbee7c95740af17f1b3c29c46e73d
parent21c38a091c4a1917f62a942c4751b0fd11dce340
oeqa/oetest.py: Add class ExportTestContext

Adding the class is needed to separate the exported test
from the test image; both test run under different conditions,
i.e. an exported test doesn't require to change the signal
handling.

This change adds clasess ExportTestContext and ImageTestContext,
both of them inherits from RuntimeTestContext. Also refactors
RuntimeTestContext class, to keep the code common in this class.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/oetest.py