mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
oeqa/sdk: Enable usage of OEQA thread mode
oeqa/sdk/context.py - Use OETestContextThreaded. classes/testsdk.bbclass - Enable bb event thread mode to avoid corrupt the PIPE when multiple threads writes. [YOCTO #11450] (From OE-Core rev: 598c6579932c2ca1dbdb022c8bec8af2e6c21e6b) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a4eef558c9
commit
adc434c063
@@ -24,6 +24,8 @@ def testsdk_main(d):
|
||||
from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor
|
||||
from oeqa.utils import make_logger_bitbake_compatible
|
||||
|
||||
bb.event.enable_threadlock()
|
||||
|
||||
pn = d.getVar("PN")
|
||||
logger = make_logger_bitbake_compatible(logging.getLogger("BitBake"))
|
||||
|
||||
@@ -97,6 +99,8 @@ def testsdkext_main(d):
|
||||
from oeqa.utils import avoid_paths_in_environ, make_logger_bitbake_compatible, subprocesstweak
|
||||
from oeqa.sdkext.context import OESDKExtTestContext, OESDKExtTestContextExecutor
|
||||
|
||||
bb.event.enable_threadlock()
|
||||
|
||||
pn = d.getVar("PN")
|
||||
logger = make_logger_bitbake_compatible(logging.getLogger("BitBake"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user