From: Richard Purdie Date: Wed, 8 Nov 2017 18:15:02 +0000 (+0000) Subject: testimage: Pass the logger into OERuntimeTestContextExecutor.getTarget() X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19636 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e241fb128840889acff79dbf3fae7bfaafcb5357;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 6a435604222..b955fc1775a 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