diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-05-26 15:37:43 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-30 10:15:22 +0100 |
commit | 598c6579932c2ca1dbdb022c8bec8af2e6c21e6b (patch) | |
tree | acc34d3534bdc7ac02d887caff8d226564b37df7 /meta/lib | |
parent | fb9d91ca34c1b5d3e0034f5135e71f964fca5b82 (diff) | |
download | openembedded-core-598c6579932c2ca1dbdb022c8bec8af2e6c21e6b.tar.gz openembedded-core-598c6579932c2ca1dbdb022c8bec8af2e6c21e6b.tar.bz2 openembedded-core-598c6579932c2ca1dbdb022c8bec8af2e6c21e6b.zip |
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]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdk/context.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/context.py b/meta/lib/oeqa/sdk/context.py index 82e4c19bfc..b3d7c75183 100644 --- a/meta/lib/oeqa/sdk/context.py +++ b/meta/lib/oeqa/sdk/context.py @@ -6,9 +6,10 @@ import sys import glob import re -from oeqa.core.context import OETestContext, OETestContextExecutor +from oeqa.core.context import OETestContextExecutor +from oeqa.core.threaded import OETestContextThreaded -class OESDKTestContext(OETestContext): +class OESDKTestContext(OETestContextThreaded): sdk_files_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "files") def __init__(self, td=None, logger=None, sdk_dir=None, sdk_env=None, |