testimage: Implement custom target loading
PATCH 1/1 testimage: Implement custom target loading
This patch implements custom target loading for testimage, currently missing due to major changes to the test framework. Custom targets can be defined in various meta-layers, so we need an extra path information in order to find them.
Any other additional info is retrieved as usual via the variables TEST_TARGET and TEST_SUITES
Signed-off-by Juro Bystricky <[email protected]>
--- meta/classes/testimage.bbclass | 2 +- meta/lib/oeqa/runtime/context.py | 74 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 72 insertions(+), 4 deletions(-)
meta/classes/testimage.bbclass +1 -1
@@ -238,7 +238,7 @@ def testimage_main(d): # the robot dance target = OERuntimeTestContextExecutor.getTarget( - d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"), + d.getVar("TEST_TARGET"), d.getVar("BBPATH"), None, d.getVar("TEST_TARGET_IP"), d.getVar("TEST_SERVER_IP"), **target_kwargs) # test context
meta/lib/oeqa/runtime/context.py +71 -3
89 lines not on this page · raw message
Signature · 1 line
2.7.4