[poky] [PATCH 0/1] qemuimagetest: Use same image during sanity testing

Jiajun Xu jiajun.xu at intel.com
Tue Jan 18 08:36:29 PST 2011


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" for target sato/sdk/lsb because the other cases for
these targets already cover the check point of "boot".

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: jxu49/master
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jxu49/master

Thanks,
    Jiajun Xu <jiajun.xu at intel.com>
---


Jiajun Xu (1):
  qemuimagetest: Use same image during sanity testing instead of
    copying a new image for each case

 meta/classes/imagetest-qemu.bbclass                |   33 +++++-
 meta/conf/local.conf.sample                        |   10 +-
 scripts/qemuimage-testlib                          |  110 ++++++++++++++------
 scripts/qemuimage-tests/sanity/compiler            |    2 +-
 scripts/qemuimage-tests/sanity/connman             |    2 +-
 scripts/qemuimage-tests/sanity/dmesg               |    2 +-
 scripts/qemuimage-tests/sanity/rpm_query           |    2 +-
 scripts/qemuimage-tests/sanity/scp                 |    2 +-
 scripts/qemuimage-tests/sanity/shutdown            |   11 +-
 scripts/qemuimage-tests/sanity/ssh                 |    2 +-
 scripts/qemuimage-tests/sanity/zypper_help         |    2 +-
 scripts/qemuimage-tests/sanity/zypper_search       |    2 +-
 .../scenario/qemuarm/poky-image-lsb                |    3 +-
 .../scenario/qemuarm/poky-image-sato               |    3 +-
 .../scenario/qemuarm/poky-image-sdk                |    3 +-
 .../scenario/qemumips/poky-image-lsb               |    3 +-
 .../scenario/qemumips/poky-image-sato              |    3 +-
 .../scenario/qemumips/poky-image-sdk               |    3 +-
 .../scenario/qemuppc/poky-image-lsb                |    3 +-
 .../scenario/qemuppc/poky-image-sato               |    3 +-
 .../scenario/qemuppc/poky-image-sdk                |    3 +-
 .../scenario/qemux86-64/poky-image-lsb             |    3 +-
 .../scenario/qemux86-64/poky-image-sato            |    3 +-
 .../scenario/qemux86-64/poky-image-sdk             |    3 +-
 .../scenario/qemux86/poky-image-lsb                |    3 +-
 .../scenario/qemux86/poky-image-sato               |    3 +-
 .../scenario/qemux86/poky-image-sdk                |    3 +-
 27 files changed, 138 insertions(+), 87 deletions(-)




More information about the poky mailing list