]> code.ossystems Code Review - openembedded-core.git/commit
selftest: Avoid sstate corruption by calling cleansstate
authorMariano Lopez <mariano.lopez@linux.intel.com>
Tue, 21 Feb 2017 14:33:07 +0000 (14:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 May 2017 23:20:34 +0000 (00:20 +0100)
commit44ca8b1c23e4b2cf470e9be42705e3cca23b7f85
treefe48bdd72141e1507b66d64c93904fbc206893a8
parent9bb708cf31850f5a3e53660ee9ea5a9ba7615e43
selftest: Avoid sstate corruption by calling cleansstate

Currently selftest doesn't use sstates because some tests
clean sstate cache; using sstates would give a performance
boost instead of building everything from scratch.

With this sstates are not corrupted using different methods
depending on tests:

devtool: These tests needed to delete the cache so SSTATE_DIR
as SSTATE_MIRRORS and set a temporal SSTATE_DIR.

sstatetests: This module already used a temporal SSTATE_DIR, so
just set up the SSTATE_MIRRORS.

Rest: Removed cleansstate, some of them required to force a
certain task, others were just removed or changed for another
task.

[YOCTO #10929]

(From OE-Core rev: 62c61087a10cc3b26fbff32c9e2efd1704a39724)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/bbtests.py
meta/lib/oeqa/selftest/buildoptions.py
meta/lib/oeqa/selftest/devtool.py
meta/lib/oeqa/selftest/oescripts.py
meta/lib/oeqa/selftest/prservice.py
meta/lib/oeqa/selftest/recipetool.py
meta/lib/oeqa/selftest/signing.py
meta/lib/oeqa/selftest/sstatetests.py