diff options
author | Ross Burton <ross.burton@arm.com> | 2023-01-31 11:49:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-01 14:05:15 +0000 |
commit | d8ec2bbc77b48b1f163623eb3909387b3bc0d3e4 (patch) | |
tree | b5bddbb4d0062b7963eea0c545081f95ee608889 /meta/lib/oeqa | |
parent | 61f27971a9aa02520ece62e070822687dc652e0d (diff) | |
download | poky-d8ec2bbc77b48b1f163623eb3909387b3bc0d3e4.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: 3485df2ff61143aac03d92300b7bac4e5d6b2427)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/sdkext/cases/devtool.py | 2 |
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 |