summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-08 18:15:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-09 12:24:24 +0000
commit7608f33f0f0c6c1c61c80a77e12270d06b236d84 (patch)
treeccab9db518b501677870d54bda1a351e4906ea24
parent07cddf76a2b4e6ab3cdfe9cea2e69566070f7c88 (diff)
downloadpoky-7608f33f0f0c6c1c61c80a77e12270d06b236d84.tar.gz
testimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()
I have no idea why we didn't do this but it means the code has nowhere to log to unless we do this. This means we can then use the logger to log data to the task logs. (From OE-Core rev: e241fb128840889acff79dbf3fae7bfaafcb5357) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 6a43560422..b955fc1775 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -248,7 +248,7 @@ def testimage_main(d):
248 248
249 # the robot dance 249 # the robot dance
250 target = OERuntimeTestContextExecutor.getTarget( 250 target = OERuntimeTestContextExecutor.getTarget(
251 d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"), 251 d.getVar("TEST_TARGET"), logger, d.getVar("TEST_TARGET_IP"),
252 d.getVar("TEST_SERVER_IP"), **target_kwargs) 252 d.getVar("TEST_SERVER_IP"), **target_kwargs)
253 253
254 # test context 254 # test context