diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdkext/testsdk.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/lib/oeqa/sdkext/testsdk.py b/meta/lib/oeqa/sdkext/testsdk.py index 785b5dda53..c5c46df6cd 100644 --- a/meta/lib/oeqa/sdkext/testsdk.py +++ b/meta/lib/oeqa/sdkext/testsdk.py | |||
@@ -25,11 +25,8 @@ class TestSDKExt(TestSDKBase): | |||
25 | 25 | ||
26 | subprocesstweak.errors_have_output() | 26 | subprocesstweak.errors_have_output() |
27 | 27 | ||
28 | # extensible sdk can be contaminated if native programs are | 28 | # We need the original PATH for testing the eSDK, not with our manipulations |
29 | # in PATH, i.e. use perl-native instead of eSDK one. | 29 | os.environ['PATH'] = d.getVar("BB_ORIGENV", False).getVar("PATH") |
30 | paths_to_avoid = [d.getVar('STAGING_DIR'), | ||
31 | d.getVar('BASE_WORKDIR')] | ||
32 | os.environ['PATH'] = avoid_paths_in_environ(paths_to_avoid) | ||
33 | 30 | ||
34 | tcname = d.expand("${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh") | 31 | tcname = d.expand("${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh") |
35 | if not os.path.exists(tcname): | 32 | if not os.path.exists(tcname): |