summaryrefslogtreecommitdiffstats
path: root/meta/classes/testsdk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-12 11:10:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-18 10:18:41 +0100
commit4e4958cba2e083eac20e2770e04bfc7d56d9db42 (patch)
treeb8fb57f9b3a3e37b3a5f095c70c127af9bce82fa /meta/classes/testsdk.bbclass
parentebd97e728ae1bd9442299c871a07a1b3b9f9efdf (diff)
downloadpoky-4e4958cba2e083eac20e2770e04bfc7d56d9db42.tar.gz
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 commit adc434c0636b7dea2ef70c8d2c8e61cdb5c703b1. Revert "oeqa/core/tests: Add tests of OEQA Threaded mode" This reverts commit a4eef558c9933eb32413b61ff80a11b999951b40. Revert "oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode" This reverts commit d3d4ba902dee8b19fa1054330cffdf73f9b81fe7. (From OE-Core rev: a98ab5e560e73b6988512fbae5cefe9e42ceed53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testsdk.bbclass')
-rw-r--r--meta/classes/testsdk.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass
index e6e3c74bdb..2b5d66b193 100644
--- a/meta/classes/testsdk.bbclass
+++ b/meta/classes/testsdk.bbclass
@@ -24,8 +24,6 @@ def testsdk_main(d):
24 from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor 24 from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor
25 from oeqa.utils import make_logger_bitbake_compatible 25 from oeqa.utils import make_logger_bitbake_compatible
26 26
27 bb.event.enable_threadlock()
28
29 pn = d.getVar("PN") 27 pn = d.getVar("PN")
30 logger = make_logger_bitbake_compatible(logging.getLogger("BitBake")) 28 logger = make_logger_bitbake_compatible(logging.getLogger("BitBake"))
31 29
@@ -99,8 +97,6 @@ def testsdkext_main(d):
99 from oeqa.utils import avoid_paths_in_environ, make_logger_bitbake_compatible, subprocesstweak 97 from oeqa.utils import avoid_paths_in_environ, make_logger_bitbake_compatible, subprocesstweak
100 from oeqa.sdkext.context import OESDKExtTestContext, OESDKExtTestContextExecutor 98 from oeqa.sdkext.context import OESDKExtTestContext, OESDKExtTestContextExecutor
101 99
102 bb.event.enable_threadlock()
103
104 pn = d.getVar("PN") 100 pn = d.getVar("PN")
105 logger = make_logger_bitbake_compatible(logging.getLogger("BitBake")) 101 logger = make_logger_bitbake_compatible(logging.getLogger("BitBake"))
106 102