summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-11-06 22:55:09 +0000
committerGreg Clayton <gclayton@apple.com>2014-11-06 22:55:09 +0000
commit2dd43650381bac72edf0e806f926bd736b427bbc (patch)
tree2a0eea766420005752e3d6833d166ceb8eb09965
parent60e1a7924210894107e1f16f7b861543ccfbfbb9 (diff)
downloadbcm5719-llvm-2dd43650381bac72edf0e806f926bd736b427bbc.tar.gz
bcm5719-llvm-2dd43650381bac72edf0e806f926bd736b427bbc.zip
Make sure stderr is filtered out in case xcodebuild or xcrun print errors when getting the SDK path and use xcrun to find the SDK path.
llvm-svn: 221492
-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