[oe-commits] [openembedded-core] 39/43: testimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()

git at git.openembedded.org git at git.openembedded.org
Sat Mar 3 08:36:40 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch pyro-next
in repository openembedded-core.

commit 93aaa0cf4f792f76d76f9f79be7fbbe59d01e910
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Nov 8 18:15:02 2017 +0000

    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)
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster at mvista.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/testimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index fb21460..4ec9161 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list