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:15 +0100
commitc184cb1ad4343215ec564adfdcc87f7b3ad98c51 (patch)
tree9b79b615f8cf28d653a9b10ec03b43bdd2d424cc
parent9589076fed41fe9c5749445e9210406fea362277 (diff)
downloadpoky-c184cb1ad4343215ec564adfdcc87f7b3ad98c51.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: c4efa89f77e4d69826a9bbba47393ec737547469) 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()