diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-03-27 11:21:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-27 20:22:51 +0100 |
commit | 58a02e73d0a6b110d96e94033e1fdf634b42ccec (patch) | |
tree | 1d13cb5f9eaef7c999f16ac422b6d6c386e74a3a /meta/lib/oeqa/selftest/buildoptions.py | |
parent | 8fdbf9fcf28569de42c2c8d902b93a3ff4d28219 (diff) | |
download | poky-58a02e73d0a6b110d96e94033e1fdf634b42ccec.tar.gz |
oeqa/selftest: don't use cleanall in selftests
* devtool: oeqa.selftest.devtool.DevtoolTests is taking 4 or more hours on the
autobuilder because the cleanall call deletes the tarball of the kernel
source, forcing a large clone which is especially long on an NFS mount.
The cleanall invocation isn't really required here and switching to clean
instead should avoid hours of re-cloning the same repository each time we
run oe-selftest on the autobuilder.
* buildoptions: We only need to ensure the first image isn't an incremental
image, clean will suffice here.
* runtime-test: no need to clean up the artefacts generated during the test,
let's leave that to a higher level process rather than using the cleanall
hammer.
(From OE-Core rev: 9c948d3de08f158387e08a17cdc0cedc7d26bb54)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/buildoptions.py')
-rw-r--r-- | meta/lib/oeqa/selftest/buildoptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index 7ace7474ea..d155f64978 100644 --- a/meta/lib/oeqa/selftest/buildoptions.py +++ b/meta/lib/oeqa/selftest/buildoptions.py | |||
@@ -16,7 +16,7 @@ class ImageOptionsTests(oeSelfTest): | |||
16 | image_pkgtype = get_bb_var("IMAGE_PKGTYPE") | 16 | image_pkgtype = get_bb_var("IMAGE_PKGTYPE") |
17 | if image_pkgtype != 'rpm': | 17 | if image_pkgtype != 'rpm': |
18 | self.skipTest('Not using RPM as main package format') | 18 | self.skipTest('Not using RPM as main package format') |
19 | bitbake("-c cleanall core-image-minimal") | 19 | bitbake("-c clean core-image-minimal") |
20 | self.write_config('INC_RPM_IMAGE_GEN = "1"') | 20 | self.write_config('INC_RPM_IMAGE_GEN = "1"') |
21 | self.append_config('IMAGE_FEATURES += "ssh-server-openssh"') | 21 | self.append_config('IMAGE_FEATURES += "ssh-server-openssh"') |
22 | bitbake("core-image-minimal") | 22 | bitbake("core-image-minimal") |