]> 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>
Wed, 1 Mar 2017 12:54:19 +0000 (12:54 +0000)
commit62c61087a10cc3b26fbff32c9e2efd1704a39724
tree552b0aa4a24d708d2f030e8861363393bd5c736a
parent8889426d822fb403db1c2263e88ed7608202aafa
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]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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