summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-02-06 09:49:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 09:29:55 -0800
commitb1f99066bd8ff787c126ed26ab71fa67b30f15d5 (patch)
tree9bee8cfc26015976d2c0732272f74584a14c1324 /meta/classes/testimage.bbclass
parent124f689569c687070c70b73fc9b7eeee4c730208 (diff)
downloadpoky-b1f99066bd8ff787c126ed26ab71fa67b30f15d5.tar.gz
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 (From OE-Core rev: 1dc8010afd71fe46fb28bb86fb7c07a5fbd3d7cf) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index c6e4cec426..366c6f5d7b 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -238,7 +238,7 @@ def testimage_main(d):
238 238
239 # the robot dance 239 # the robot dance
240 target = OERuntimeTestContextExecutor.getTarget( 240 target = OERuntimeTestContextExecutor.getTarget(
241 d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"), 241 d.getVar("TEST_TARGET"), d.getVar("BBPATH"), None, d.getVar("TEST_TARGET_IP"),
242 d.getVar("TEST_SERVER_IP"), **target_kwargs) 242 d.getVar("TEST_SERVER_IP"), **target_kwargs)
243 243
244 # test context 244 # test context