]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sdkext/cases/devtool: pass a logger to HTTPService
authorRoss Burton <ross.burton@arm.com>
Tue, 31 Jan 2023 11:49:53 +0000 (11:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Feb 2023 13:59:56 +0000 (13:59 +0000)
Pass our logger to the HTTPService instance so we can see the requests
and any errors.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdkext/cases/devtool.py

index a5c6a76e02d40fbca8704d727ba599db687f4f9c..5ffb732556b248954d0a02c7bf08394dd3a80755 100644 (file)
@@ -112,7 +112,7 @@ class SdkUpdateTest(OESDKExtTestCase):
         cmd = 'oe-publish-sdk %s %s' % (tcname_new, self.publish_dir)
         subprocess.check_output(cmd, shell=True)
 
-        self.http_service = HTTPService(self.publish_dir)
+        self.http_service = HTTPService(self.publish_dir, logger=self.logger)
         self.http_service.start()
 
         self.http_url = "http://127.0.0.1:%d" % self.http_service.port