diff options
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 09cc6d2a21..82557a8ede 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -229,6 +229,10 @@ def testimage_main(d): | |||
229 | 'kvm' : kvm, | 229 | 'kvm' : kvm, |
230 | } | 230 | } |
231 | 231 | ||
232 | # TODO: Currently BBPATH is needed for custom loading of targets. | ||
233 | # It would be better to find these modules using instrospection. | ||
234 | target_kwargs['target_modules_path'] = d.getVar('BBPATH') | ||
235 | |||
232 | # runtime use network for download projects for build | 236 | # runtime use network for download projects for build |
233 | export_proxies(d) | 237 | export_proxies(d) |
234 | 238 | ||
@@ -239,7 +243,7 @@ def testimage_main(d): | |||
239 | 243 | ||
240 | # the robot dance | 244 | # the robot dance |
241 | target = OERuntimeTestContextExecutor.getTarget( | 245 | target = OERuntimeTestContextExecutor.getTarget( |
242 | d.getVar("TEST_TARGET"), d.getVar("BBPATH"), None, d.getVar("TEST_TARGET_IP"), | 246 | d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"), |
243 | d.getVar("TEST_SERVER_IP"), **target_kwargs) | 247 | d.getVar("TEST_SERVER_IP"), **target_kwargs) |
244 | 248 | ||
245 | # test context | 249 | # test context |