diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/runtime/context.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py index f0f6e62944..bc8abd0c4e 100644 --- a/meta/lib/oeqa/runtime/context.py +++ b/meta/lib/oeqa/runtime/context.py | |||
@@ -76,13 +76,13 @@ class OERuntimeTestContextExecutor(OETestContextExecutor): | |||
76 | help="Qemu boot configuration, only needed when target_type is QEMU.") | 76 | help="Qemu boot configuration, only needed when target_type is QEMU.") |
77 | 77 | ||
78 | @staticmethod | 78 | @staticmethod |
79 | def getTarget(target_type, target_ip, server_ip, **kwargs): | 79 | def getTarget(target_type, logger, target_ip, server_ip, **kwargs): |
80 | target = None | 80 | target = None |
81 | 81 | ||
82 | if target_type == 'simpleremote': | 82 | if target_type == 'simpleremote': |
83 | target = OESSHTarget(target_ip, server_ip, kwargs) | 83 | target = OESSHTarget(logger, target_ip, server_ip, **kwargs) |
84 | elif target_type == 'qemu': | 84 | elif target_type == 'qemu': |
85 | target = OEQemuTarget(target_ip, server_ip, kwargs) | 85 | target = OEQemuTarget(logger, target_ip, server_ip, **kwargs) |
86 | else: | 86 | else: |
87 | # TODO: Implement custom target module loading | 87 | # TODO: Implement custom target module loading |
88 | raise TypeError("target_type %s isn't supported" % target_type) | 88 | raise TypeError("target_type %s isn't supported" % target_type) |