[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8193/8267] testimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()



commit 8d53ceebaf2cc01ceef38112a0b7d7fb31e943c3
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   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 linuxfoundation org>
    Signed-off-by: Armin Kuster <akuster mvista com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 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 6a43560..b955fc1 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]