summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlldb/test/dotest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index 37e7f0ef3b3..485c4724cd4 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -574,7 +574,7 @@ def parseOptionsAndInitTestdirs():
archs = args.archs
for arch in archs:
if arch.startswith('arm') and platform_system == 'Darwin':
- os.environ['SDKROOT'] = commands.getoutput('xcodebuild -version -sdk iphoneos.internal Path')
+ os.environ['SDKROOT'] = commands.getoutput('xcrun --sdk iphoneos.internal --show-sdk-path 2> /dev/null')
else:
archs = [platform_machine]
OpenPOWER on IntegriCloud