diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-08 18:15:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-04 11:11:59 +0000 |
commit | 3cf1f1712dacfd39e5506b4743e5150bd5c65f18 (patch) | |
tree | 2ca5c631b3f4865fea20f12a7325d6530bc16a5c /meta/classes | |
parent | 1659b33553b4c219ff55ef5812e6819ee5983c03 (diff) | |
download | poky-3cf1f1712dacfd39e5506b4743e5150bd5c65f18.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: 1054965a2d44df2617127c0c47e34adc62c1bf4d)
(From OE-Core rev: 93aaa0cf4f792f76d76f9f79be7fbbe59d01e910)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index fb214604a9..4ec9161a97 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 |