[OE-core] [PATCH 4/6] oeqa/targetcontrol.py: modify it to test runqemu

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 17 11:54:19 UTC 2017


On Thu, 2017-03-16 at 03:13 -0700, Robert Yang wrote:
> Modify the following files to test runqemu:
>     targetcontrol.py
>     utils/commands.py
>     utils/qemurunner.py
> 
> We need simulate how "runqemu" works in command line, so when test
> "runqemu", the targetcontrol.py, utils/commands.py and
> utils/qemurunner.py don't have to find the rootfs or set env vars.
> 
> [YOCTO #10249]
> 
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  meta/lib/oeqa/targetcontrol.py    | 20 +++++++++++++++-----
>  meta/lib/oeqa/utils/commands.py   | 13 +++++++++++--
>  meta/lib/oeqa/utils/qemurunner.py | 28 +++++++++++++++++-----------
>  3 files changed, 43 insertions(+), 18 deletions(-)

This change breaks "oe-selftest -r wic.Wic.test_qemu_efi" which just
hangs afterwards.

Cheers,

Richard



More information about the Openembedded-core mailing list