diff options
Diffstat (limited to 'meta/classes/testsdk.bbclass')
-rw-r--r-- | meta/classes/testsdk.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index edea89cbf4..8a9e680328 100644 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk.bbclass | |||
@@ -24,6 +24,8 @@ 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 | |||
27 | pn = d.getVar("PN") | 29 | pn = d.getVar("PN") |
28 | logger = make_logger_bitbake_compatible(logging.getLogger("BitBake")) | 30 | logger = make_logger_bitbake_compatible(logging.getLogger("BitBake")) |
29 | 31 | ||
@@ -97,6 +99,8 @@ def testsdkext_main(d): | |||
97 | from oeqa.utils import avoid_paths_in_environ, make_logger_bitbake_compatible, subprocesstweak | 99 | from oeqa.utils import avoid_paths_in_environ, make_logger_bitbake_compatible, subprocesstweak |
98 | from oeqa.sdkext.context import OESDKExtTestContext, OESDKExtTestContextExecutor | 100 | from oeqa.sdkext.context import OESDKExtTestContext, OESDKExtTestContextExecutor |
99 | 101 | ||
102 | bb.event.enable_threadlock() | ||
103 | |||
100 | pn = d.getVar("PN") | 104 | pn = d.getVar("PN") |
101 | logger = make_logger_bitbake_compatible(logging.getLogger("BitBake")) | 105 | logger = make_logger_bitbake_compatible(logging.getLogger("BitBake")) |
102 | 106 | ||