mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
oeqa/core/threaded: Remove in favour of using concurrenttests
We have several options for parallel processing in oeqa, parallel execution of modules, threading and mulitple processes for the runners. After much experimentation is appears the most scalable and least invasive approach is multiple processes using concurrenttestsuite from testtools. This means we can drop the current threading code which is only used by the sdk test execution. oeqa/decorator/depends: Remove threading code Revert "oeqa/sdk: Enable usage of OEQA thread mode" This reverts commitadc434c063. Revert "oeqa/core/tests: Add tests of OEQA Threaded mode" This reverts commita4eef558c9. Revert "oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode" This reverts commitd3d4ba902d. (From OE-Core rev: a98ab5e560e73b6988512fbae5cefe9e42ceed53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -24,8 +24,6 @@ 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"))
|
||||
|
||||
@@ -99,8 +97,6 @@ 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