]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: devtool: avoid parallel races by using temporary copy of core
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 26 Jul 2018 14:27:44 +0000 (16:27 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 22:13:07 +0000 (22:13 +0000)
commit9cb8353a4f0137823d6ed3e467db9dd7ead7b3de
treed2e46e079ccc4146bc72dbda0751aacd04689334
parent8e23a3d59421f34961f39a7db512e93eb9647ec6
oe-selftest: devtool: avoid parallel races by using temporary copy of core

Some of the devtool tests make changes to files under meta/ -
legitimately since we want these tests to be working with real recipes
and associated files. Unfortunately with the new oe-selftest
parallelisation this can break other tests if files go missing at the
wrong time (among other scenarios). To avoid this issue, simply take a
copy of the core repository and use that for these tests. (We copy the
entire repository since changing the path of meta/ influences COREBASE
and thus we need to have things like scripts/ alongside as well).

(From OE-Core rev: 2457cd57b4195924ef127f497efa2f34f411e660)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/selftest/cases/devtool.py