summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-14 09:33:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-14 10:36:17 +0100
commit1ed60bfb46569a8b8c29f24187390ba79686486a (patch)
tree0b092332e56235da674624a7c3bf4e7dfade2e4a
parent1f8b8d266a3e8dbe7c447d074446c9f27526991e (diff)
downloadopenembedded-core-contrib-1ed60bfb46569a8b8c29f24187390ba79686486a.tar.gz
openembedded-core-contrib-1ed60bfb46569a8b8c29f24187390ba79686486a.tar.bz2
openembedded-core-contrib-1ed60bfb46569a8b8c29f24187390ba79686486a.zip
oeqa/selftest/systemd_boot: Never use cleansstate in QA tests without special handling of SSTATE_DIR
Removing things straight from the live sstate directory is prone to issues since other builds may be relying on the artefact presence. Also, cleansstate is very slow on the huge sstate that the autobuilder has on slow NFS drives. This may well be causing long buildtimes in oe-selftest as the time taken to remove the artefact by be long. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py b/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py
index dd5eeec163..26c775c09e 100644
--- a/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py
+++ b/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py
@@ -44,7 +44,7 @@ class Systemdboot(OESelftestTestCase):
# Ensure we're actually testing that this gets built and not that
# it was around from an earlier build
- bitbake('-c cleansstate systemd-boot')
+ bitbake('-c clean systemd-boot')
runCmd('rm -f %s' % systemdbootfile)
self._common_build()