summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-01-31 11:49:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-15 21:46:56 +0000
commit7a94746939e8dde9598d9159ccc21b8adf9f79ed (patch)
tree6b7d0dbf80d71d2e20175515227c40eaf08f41d5 /meta/lib
parent58c692d246e69d35041fe0b0a1dc77512b0b02e7 (diff)
downloadpoky-7a94746939e8dde9598d9159ccc21b8adf9f79ed.tar.gz
sdkext/cases/devtool: pass a logger to HTTPService
Pass our logger to the HTTPService instance so we can see the requests and any errors. (From OE-Core rev: 032b0a834b7b1583d3d2bd4ac55414583ce8dfdc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3485df2ff61143aac03d92300b7bac4e5d6b2427) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/sdkext/cases/devtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py
index a5c6a76e02..5ffb732556 100644
--- a/meta/lib/oeqa/sdkext/cases/devtool.py
+++ b/meta/lib/oeqa/sdkext/cases/devtool.py
@@ -112,7 +112,7 @@ class SdkUpdateTest(OESDKExtTestCase):
112 cmd = 'oe-publish-sdk %s %s' % (tcname_new, self.publish_dir) 112 cmd = 'oe-publish-sdk %s %s' % (tcname_new, self.publish_dir)
113 subprocess.check_output(cmd, shell=True) 113 subprocess.check_output(cmd, shell=True)
114 114
115 self.http_service = HTTPService(self.publish_dir) 115 self.http_service = HTTPService(self.publish_dir, logger=self.logger)
116 self.http_service.start() 116 self.http_service.start()
117 117
118 self.http_url = "http://127.0.0.1:%d" % self.http_service.port 118 self.http_url = "http://127.0.0.1:%d" % self.http_service.port