]> code.ossystems Code Review - openembedded-core.git/commitdiff
testimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Nov 2017 18:15:02 +0000 (18:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Nov 2017 11:49:13 +0000 (11:49 +0000)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass

index 6a4356042227b0a1c7ce19d58adb167d7edda1ee..b955fc1775a8d777a624f2187fb1487ba64f832c 100644 (file)
@@ -248,7 +248,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"), logger, d.getVar("TEST_TARGET_IP"),
         d.getVar("TEST_SERVER_IP"), **target_kwargs)
 
     # test context