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

Robert Yang liezhi.yang at windriver.com
Mon Mar 20 09:45:19 UTC 2017



On 03/17/2017 07:54 PM, Richard Purdie wrote:
> 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.

Sorry, I will fix it.

// Robert

>
> Cheers,
>
> Richard
>



More information about the Openembedded-core mailing list