]> 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>
Tue, 31 Jul 2018 21:42:03 +0000 (22:42 +0100)
commit2457cd57b4195924ef127f497efa2f34f411e660
treec53fbd89b250215cbea8454cdf18100940e63278
parentf03f3edc211b3e03cf1a6b2655ba664af7fbd12f
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).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/lib/oeqa/selftest/cases/devtool.py