]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/selftest/cases/devtool.py: avoid .pyc race timo/devtool-shutil-copytree-13803
authorTim Orling <timothy.t.orling@linux.intel.com>
Wed, 12 Aug 2020 22:39:17 +0000 (15:39 -0700)
committerTim Orling <timothy.t.orling@linux.intel.com>
Tue, 29 Sep 2020 04:47:50 +0000 (21:47 -0700)
commit0b8c053f2bac5a43663abd0acc428737e5873c23
treeedfadc447ac345841e525a0a55ff7ac5e1fc5a00
parent791da075619139fa55751f8013c73d2fbf0cf64c
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>
meta/lib/oeqa/selftest/cases/devtool.py