summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemutinyrunner.py
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-08-08 15:41:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-10 10:46:34 +0100
commit3ac3f3f30931881d1122e845d311921df07f2c51 (patch)
tree812e6ec1373526b6798184c0818aa97af848014c /meta/lib/oeqa/utils/qemutinyrunner.py
parent4a4a24fccc4a4bdfb1d57f1a9f74866564fa8585 (diff)
downloadpoky-3ac3f3f30931881d1122e845d311921df07f2c51.tar.gz
oeqa: start() add remaining args SimpleRemoteTarget and QemuTinyRunner
Now Runner's support extra_bootargs for the kernel so add extra_bootparams to the start() methods to avoid exception. (From OE-Core rev: 4c28c03a2322fbcb9a5c268b08eaeb71d940ee04) Signed-off-by: Aníbal Limón <anibal.limon@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/utils/qemutinyrunner.py')
-rw-r--r--meta/lib/oeqa/utils/qemutinyrunner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemutinyrunner.py b/meta/lib/oeqa/utils/qemutinyrunner.py
index c823157ad6..7f7489de42 100644
--- a/meta/lib/oeqa/utils/qemutinyrunner.py
+++ b/meta/lib/oeqa/utils/qemutinyrunner.py
@@ -60,7 +60,7 @@ class QemuTinyRunner(QemuRunner):
60 with open(self.logfile, "a") as f: 60 with open(self.logfile, "a") as f:
61 f.write("%s" % msg) 61 f.write("%s" % msg)
62 62
63 def start(self, qemuparams = None): 63 def start(self, qemuparams = None, ssh=True, extra_bootparams=None):
64 64
65 if self.display: 65 if self.display:
66 os.environ["DISPLAY"] = self.display 66 os.environ["DISPLAY"] = self.display
@@ -167,4 +167,4 @@ class QemuTinyRunner(QemuRunner):
167 basecmd = commands[p].split()[0] 167 basecmd = commands[p].split()[0]
168 basecmd = os.path.basename(basecmd) 168 basecmd = os.path.basename(basecmd)
169 if "qemu-system" in basecmd and "-serial unix" in commands[p]: 169 if "qemu-system" in basecmd and "-serial unix" in commands[p]:
170 return [int(p),commands[p]] \ No newline at end of file 170 return [int(p),commands[p]]