]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/cases/devtool.py: avoid .pyc race
authorTim Orling <timothy.t.orling@linux.intel.com>
Tue, 29 Sep 2020 04:49:05 +0000 (21:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2020 14:01:47 +0000 (15:01 +0100)
commit4df098aeecd589ddd11a883e281285588a6966ca
tree989948d29c907b7b38688f4de257031d83bacc1d
parenta58f69f854c28d61a8c74b8af75b80b8695f6198
oeqa/selftest/cases/devtool.py: avoid .pyc race

In certain conditions, most likely under heavy load on the
AutoBuilder, the prebuilt .pyc files are attempting to be
executed before they have been completely copied. Avoid
this by not copying the .pyc files (nor the __pycache__
directory). The impact of python3-native recreating the .pyc
files should hopefully be negligible.

YOCTO#13421
YOCTO#13803

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/devtool.py