summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/lib/oeqa/sdkext/testsdk.py
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/lib/oeqa/sdkext/testsdk.py')
-rw-r--r--external/poky/meta/lib/oeqa/sdkext/testsdk.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/external/poky/meta/lib/oeqa/sdkext/testsdk.py b/external/poky/meta/lib/oeqa/sdkext/testsdk.py
index 57b2e0e0..c5c46df6 100644
--- a/external/poky/meta/lib/oeqa/sdkext/testsdk.py
+++ b/external/poky/meta/lib/oeqa/sdkext/testsdk.py
@@ -1,5 +1,8 @@
+#
# Copyright 2018 by Garmin Ltd. or its subsidiaries
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
from oeqa.sdk.testsdk import TestSDKBase
@@ -22,11 +25,8 @@ class TestSDKExt(TestSDKBase):
subprocesstweak.errors_have_output()
- # extensible sdk can be contaminated if native programs are
- # in PATH, i.e. use perl-native instead of eSDK one.
- paths_to_avoid = [d.getVar('STAGING_DIR'),
- d.getVar('BASE_WORKDIR')]
- os.environ['PATH'] = avoid_paths_in_environ(paths_to_avoid)
+ # We need the original PATH for testing the eSDK, not with our manipulations
+ os.environ['PATH'] = d.getVar("BB_ORIGENV", False).getVar("PATH")
tcname = d.expand("${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh")
if not os.path.exists(tcname):