summaryrefslogtreecommitdiffstats
path: root/meta/conf/local.conf.sample
diff options
context:
space:
mode:
authorJiajun Xu <jiajun.xu@intel.com>2011-01-19 00:22:30 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-20 21:36:57 +0000
commit3e052919c9307ba73a1db0f705b7dc1a677cb80f (patch)
tree14861629035fb78eaae19645801f49a608536ecf /meta/conf/local.conf.sample
parent50b208612945c638e3f4965ebf90ade4aac5b636 (diff)
downloadpoky-3e052919c9307ba73a1db0f705b7dc1a677cb80f.tar.gz
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>
Diffstat (limited to 'meta/conf/local.conf.sample')
-rw-r--r--meta/conf/local.conf.sample10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index cb0e54887f..4567a828ff 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -158,11 +158,11 @@ ENABLE_BINARY_LOCALE_GENERATION = "1"
158 158
159#Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder 159#Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder
160#may suffer a timeout issue when running sanity test. We introduce variable 160#may suffer a timeout issue when running sanity test. We introduce variable
161#SHARE_IMAGE here to fix the issue. It is by default set to 1. Poky will copy 161#TEST_SERIALIZE here to reduce the time on sanity test. It is by default set
162#latest built-out image and keep using it in sanity testing. If it is set to 0, 162#to 1. Poky will start image and run cases in the same image without reboot
163#latest built-out image will be copied and tested for each case, which will take 163#or kill. If it is set to 0, the image will be copied and tested for each
164#much time. 164#case, which will take much time.
165#SHARE_IMAGE = "1" 165#TEST_SERIALIZE = "1"
166 166
167# Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not 167# Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not
168# wish to perform the time-consuming step of generating all LIBC locales. 168# wish to perform the time-consuming step of generating all LIBC locales.