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-15 16:19:05 +0100
commite6f7c57b556cad467ff014f29bc9ceb26146a22c (patch)
tree191e0faad68ca504074356cdca83cc388d6e36cf
parent69dfa029f1c1e4ffb8c69c277a1559782c469107 (diff)
downloadpoky-e6f7c57b556cad467ff014f29bc9ceb26146a22c.tar.gz
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. (From meta-yocto rev: 1ed60bfb46569a8b8c29f24187390ba79686486a) 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):
44 44
45 # Ensure we're actually testing that this gets built and not that 45 # Ensure we're actually testing that this gets built and not that
46 # it was around from an earlier build 46 # it was around from an earlier build
47 bitbake('-c cleansstate systemd-boot') 47 bitbake('-c clean systemd-boot')
48 runCmd('rm -f %s' % systemdbootfile) 48 runCmd('rm -f %s' % systemdbootfile)
49 49
50 self._common_build() 50 self._common_build()