]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/cases/devtool.py: avoid .pyc race
authorTim Orling <timothy.t.orling@linux.intel.com>
Wed, 30 Sep 2020 21:40:47 +0000 (14:40 -0700)
committerSteve Sakoman <steve@sakoman.com>
Mon, 5 Oct 2020 14:29:40 +0000 (04:29 -1000)
commit1facb696140cc95ea3478654aedf1220459c825f
tree7e03a511091f80a604605d7262709a84d4b8c748
parentb9296bdeaacc1dce97aac9c9bf0d70555bb36646
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: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/devtool.py