diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/context.py')
-rw-r--r-- | meta/lib/oeqa/runtime/context.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py index 0c5d1869ab..cb7227a8df 100644 --- a/meta/lib/oeqa/runtime/context.py +++ b/meta/lib/oeqa/runtime/context.py | |||
@@ -10,7 +10,6 @@ import sys | |||
10 | from oeqa.core.context import OETestContext, OETestContextExecutor | 10 | from oeqa.core.context import OETestContext, OETestContextExecutor |
11 | from oeqa.core.target.ssh import OESSHTarget | 11 | from oeqa.core.target.ssh import OESSHTarget |
12 | from oeqa.core.target.qemu import OEQemuTarget | 12 | from oeqa.core.target.qemu import OEQemuTarget |
13 | from oeqa.utils.dump import HostDumper | ||
14 | 13 | ||
15 | from oeqa.runtime.loader import OERuntimeTestLoader | 14 | from oeqa.runtime.loader import OERuntimeTestLoader |
16 | 15 | ||
@@ -20,12 +19,11 @@ class OERuntimeTestContext(OETestContext): | |||
20 | os.path.dirname(os.path.abspath(__file__)), "files") | 19 | os.path.dirname(os.path.abspath(__file__)), "files") |
21 | 20 | ||
22 | def __init__(self, td, logger, target, | 21 | def __init__(self, td, logger, target, |
23 | host_dumper, image_packages, extract_dir): | 22 | image_packages, extract_dir): |
24 | super(OERuntimeTestContext, self).__init__(td, logger) | 23 | super(OERuntimeTestContext, self).__init__(td, logger) |
25 | 24 | ||
26 | self.target = target | 25 | self.target = target |
27 | self.image_packages = image_packages | 26 | self.image_packages = image_packages |
28 | self.host_dumper = host_dumper | ||
29 | self.extract_dir = extract_dir | 27 | self.extract_dir = extract_dir |
30 | self._set_target_cmds() | 28 | self._set_target_cmds() |
31 | 29 | ||
@@ -199,10 +197,6 @@ class OERuntimeTestContextExecutor(OETestContextExecutor): | |||
199 | 197 | ||
200 | return image_packages | 198 | return image_packages |
201 | 199 | ||
202 | @staticmethod | ||
203 | def getHostDumper(cmds, directory): | ||
204 | return HostDumper(cmds, directory) | ||
205 | |||
206 | def _process_args(self, logger, args): | 200 | def _process_args(self, logger, args): |
207 | if not args.packages_manifest: | 201 | if not args.packages_manifest: |
208 | raise TypeError('Manifest file not provided') | 202 | raise TypeError('Manifest file not provided') |
@@ -215,9 +209,6 @@ class OERuntimeTestContextExecutor(OETestContextExecutor): | |||
215 | self.tc_kwargs['init']['target'] = \ | 209 | self.tc_kwargs['init']['target'] = \ |
216 | OERuntimeTestContextExecutor.getTarget(args.target_type, | 210 | OERuntimeTestContextExecutor.getTarget(args.target_type, |
217 | None, args.target_ip, args.server_ip, **target_kwargs) | 211 | None, args.target_ip, args.server_ip, **target_kwargs) |
218 | self.tc_kwargs['init']['host_dumper'] = \ | ||
219 | OERuntimeTestContextExecutor.getHostDumper(None, | ||
220 | args.host_dumper_dir) | ||
221 | self.tc_kwargs['init']['image_packages'] = \ | 212 | self.tc_kwargs['init']['image_packages'] = \ |
222 | OERuntimeTestContextExecutor.readPackagesManifest( | 213 | OERuntimeTestContextExecutor.readPackagesManifest( |
223 | args.packages_manifest) | 214 | args.packages_manifest) |