]> code.ossystems Code Review - openembedded-core.git/commit
qemuimagetest: Use same image during sanity testing instead of copying a new image...
authorJiajun Xu <jiajun.xu@intel.com>
Tue, 18 Jan 2011 16:22:30 +0000 (00:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jan 2011 21:36:57 +0000 (21:36 +0000)
commit3e052919c9307ba73a1db0f705b7dc1a677cb80f
tree14861629035fb78eaae19645801f49a608536ecf
parent50b208612945c638e3f4965ebf90ade4aac5b636
qemuimagetest: Use same image during sanity testing instead of copying a new image for each case

To reduce the time on sanity testing, we remove variable SHARE_IMAGE and use
a new variable TEST_SERIALIZE in local.conf. It is by default set to 1. Poky
will copy and boot the to-be tested image for only once. It will not remove
or kill the image and test cases will be serialized executed against the same
image. If it is set to 0, image is always be copied for each cases, which takes
much time. I had a experiment that latest qemuppc sato only takes 7 minutes to
finish 9 sanity test cases, which takes more than 20 minutes before.

I also removed sanity case "boot" from sato/sdk/lsb because the other cases for
these targets already cover the check point of "boot".

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
27 files changed:
meta/classes/imagetest-qemu.bbclass
meta/conf/local.conf.sample
scripts/qemuimage-testlib
scripts/qemuimage-tests/sanity/compiler
scripts/qemuimage-tests/sanity/connman
scripts/qemuimage-tests/sanity/dmesg
scripts/qemuimage-tests/sanity/rpm_query
scripts/qemuimage-tests/sanity/scp
scripts/qemuimage-tests/sanity/shutdown
scripts/qemuimage-tests/sanity/ssh
scripts/qemuimage-tests/sanity/zypper_help
scripts/qemuimage-tests/sanity/zypper_search
scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk
scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb
scripts/qemuimage-tests/scenario/qemumips/poky-image-sato
scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk
scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk
scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb
scripts/qemuimage-tests/scenario/qemux86/poky-image-sato
scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk