[Lldb-commits] [lldb] r221492 - 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.
Greg Clayton
gclayton at apple.com
Thu Nov 6 14:55:10 PST 2014
Author: gclayton
Date: Thu Nov 6 16:55:09 2014
New Revision: 221492
URL: http://llvm.org/viewvc/llvm-project?rev=221492&view=rev
Log:
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.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=221492&r1=221491&r2=221492&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Thu Nov 6 16:55:09 2014
@@ -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]
More information about the lldb-commits
mailing list