[Lldb-commits] [PATCH] D89053: [lldb] Don't let dotest silently fall back to default SDK if the specified one can't be found
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 13 06:08:16 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG480c440f9a3c: [lldb] Don't let dotest silently fall back to default SDK if the specified oneā¦ (authored by teemperor).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89053/new/
https://reviews.llvm.org/D89053
Files:
lldb/packages/Python/lldbsuite/test/dotest.py
Index: lldb/packages/Python/lldbsuite/test/dotest.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/dotest.py
+++ lldb/packages/Python/lldbsuite/test/dotest.py
@@ -302,6 +302,11 @@
configuration.sdkroot = seven.get_command_output(
'xcrun --sdk "%s" --show-sdk-path 2> /dev/null' %
(args.apple_sdk))
+ if not configuration.sdkroot:
+ logging.error(
+ 'No SDK found with the name %s; aborting...',
+ args.apple_sdk)
+ sys.exit(-1)
if args.arch:
configuration.arch = args.arch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89053.297836.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201013/ffaa5413/attachment.bin>
More information about the lldb-commits
mailing list