]> code.ossystems Code Review - openembedded-core.git/commit
qemurunner.py: Add method run_serial
authorMariano Lopez <mariano.lopez@linux.intel.com>
Tue, 11 Aug 2015 13:24:44 +0000 (13:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 16 Aug 2015 08:24:17 +0000 (09:24 +0100)
commita82711fe4520538a732a16795d50573b6f1d4463
tree0ee4a80a57f44dc1b1ce9f2cd6a478779826b664
parentd055e797eb1d60f04d685b6583eb1695c7600a56
qemurunner.py: Add method run_serial

The only need for the console before this patch was
to check if the target has booted. This allows to send
commands to the terminal.

This new method is based on the method with the same name
of the QemuTinyRunner class. The difference here is it will
remove the command and the prompt. The other diference is
it will send an echo $? to check if the last command was
successful.

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/utils/qemurunner.py