]> code.ossystems Code Review - openembedded-core.git/commit
selftest: devtool: Separate common functions and devtool sstate setup into two classes
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Wed, 8 Dec 2021 10:18:39 +0000 (11:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Dec 2021 10:33:21 +0000 (10:33 +0000)
commitc0bd0686092181b6a5316c373b5b125d78a24e9f
tree523a20990f170634f9d490c3854d2a0996750434
parent2aef869bcca3e0de4afb9ef00492de3ee72b035c
selftest: devtool: Separate common functions and devtool sstate setup into two classes

The selftest recipetool base class reuse the selftest devtool base
class. Thereby the selftest devtool base class setup its own devtool
sstate and the selftest recipetool classes trigger the build of recipes.
This leads to the problem that the build artifacts doesn't reach the
persistent sstate cache and rebuild on every selftest run.

Move the common selftest devtool functions into its own class and use
the sstate cache in the recipetool tests.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/devtool.py
meta/lib/oeqa/selftest/cases/recipetool.py