]> code.ossystems Code Review - openembedded-core.git/commit
oeqa: Use snapshot instead of copying the rootfs image
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Sep 2016 13:44:41 +0000 (14:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2016 11:06:54 +0000 (12:06 +0100)
commiteab91997d415b0e690b3482749a32087e6a8b00a
treee834a3ba08ae78104fcdf4ff1f32c87c8ffb82a9
parent8fec4a5a004f0e99734f8c0820c66522d08f213e
oeqa: Use snapshot instead of copying the rootfs image

Rather than copying images, use the snapshot option to qemu. This fixes a regression
caused by the recent runqemu changes where the wrong images were being testes since
the image is copied without the qemuboot.conf file. This means the latest image is
found by runqemu rather than the specified one, leading to various confused testing
results.

It could be fixed by copying more files but use snapshot mode instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/targetcontrol.py
meta/lib/oeqa/utils/qemurunner.py