summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/target/qemu.py
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2017-02-21 10:11:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-23 12:49:48 -0800
commitcf0b92f8937436ced297f65a30daa911e5a1e333 (patch)
tree4608157e420f7157b51f8f4fb6e721499a38576e /meta/lib/oeqa/core/target/qemu.py
parent5ff7db946cea7d0c3a227bae997f22394bd2e629 (diff)
downloadpoky-cf0b92f8937436ced297f65a30daa911e5a1e333.tar.gz
oeqa/runtime/context.py: Fix use of getTarget() with testexport
The idea on getTarget is to use kwargs to send custom variables to different targets, instead of this, a new variable was added (just used for custom targets) and this broke testexport. So in order to fix it, just add the custom variable to kwargs. This fixes the use of getTarget() in testexport class that was introduced in 1dc8010afd71fe46fb28bb86fb7c07a5fbd3d7cf. (From OE-Core rev: cf138029a1f18f991fc7a28c81d85884942e9d56) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/target/qemu.py')
-rw-r--r--meta/lib/oeqa/core/target/qemu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/target/qemu.py b/meta/lib/oeqa/core/target/qemu.py
index 9d3f68cb64..2dc521c216 100644
--- a/meta/lib/oeqa/core/target/qemu.py
+++ b/meta/lib/oeqa/core/target/qemu.py
@@ -15,7 +15,7 @@ class OEQemuTarget(OESSHTarget):
15 def __init__(self, logger, ip, server_ip, timeout=300, user='root', 15 def __init__(self, logger, ip, server_ip, timeout=300, user='root',
16 port=None, machine='', rootfs='', kernel='', kvm=False, 16 port=None, machine='', rootfs='', kernel='', kvm=False,
17 dump_dir='', dump_host_cmds='', display='', bootlog='', 17 dump_dir='', dump_host_cmds='', display='', bootlog='',
18 tmpdir='', dir_image='', boottime=60): 18 tmpdir='', dir_image='', boottime=60, **kwargs):
19 19
20 super(OEQemuTarget, self).__init__(logger, ip, server_ip, timeout, 20 super(OEQemuTarget, self).__init__(logger, ip, server_ip, timeout,
21 user, port) 21 user, port)