diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/smart.py')
| -rw-r--r-- | meta/lib/oeqa/runtime/smart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/smart.py b/meta/lib/oeqa/runtime/smart.py index c3fdf7d499..7ef4b0e649 100644 --- a/meta/lib/oeqa/runtime/smart.py +++ b/meta/lib/oeqa/runtime/smart.py | |||
| @@ -46,7 +46,7 @@ class SmartRepoTest(SmartTest): | |||
| 46 | 46 | ||
| 47 | @classmethod | 47 | @classmethod |
| 48 | def setUpClass(self): | 48 | def setUpClass(self): |
| 49 | self.repo_server = HTTPService(oeRuntimeTest.tc.d.getVar('DEPLOY_DIR', True), oeRuntimeTest.tc.qemu.host_ip) | 49 | self.repo_server = HTTPService(oeRuntimeTest.tc.d.getVar('DEPLOY_DIR', True), oeRuntimeTest.tc.target.server_ip) |
| 50 | self.repo_server.start() | 50 | self.repo_server.start() |
| 51 | 51 | ||
| 52 | @classmethod | 52 | @classmethod |
| @@ -58,7 +58,7 @@ class SmartRepoTest(SmartTest): | |||
| 58 | 58 | ||
| 59 | def test_smart_channel_add(self): | 59 | def test_smart_channel_add(self): |
| 60 | image_pkgtype = self.tc.d.getVar('IMAGE_PKGTYPE', True) | 60 | image_pkgtype = self.tc.d.getVar('IMAGE_PKGTYPE', True) |
| 61 | deploy_url = 'http://%s:%s/%s' %(self.tc.qemu.host_ip, self.repo_server.port, image_pkgtype) | 61 | deploy_url = 'http://%s:%s/%s' %(self.target.server_ip, self.repo_server.port, image_pkgtype) |
| 62 | pkgarchs = self.tc.d.getVar('PACKAGE_ARCHS', True) | 62 | pkgarchs = self.tc.d.getVar('PACKAGE_ARCHS', True) |
| 63 | for arch in os.listdir('%s/%s' % (self.repo_server.root_dir, image_pkgtype)): | 63 | for arch in os.listdir('%s/%s' % (self.repo_server.root_dir, image_pkgtype)): |
| 64 | if arch in pkgarchs: | 64 | if arch in pkgarchs: |
