[Lldb-commits] [lldb] e3eb3cf - [lldb] Only check for --apple-sdk argument on Darwin

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 7 13:05:50 PDT 2020


Author: Jonas Devlieghere
Date: 2020-08-07T13:05:42-07:00
New Revision: e3eb3cf5501c6b97b5baa2d66193f2d610492be6

URL: https://github.com/llvm/llvm-project/commit/e3eb3cf5501c6b97b5baa2d66193f2d610492be6
DIFF: https://github.com/llvm/llvm-project/commit/e3eb3cf5501c6b97b5baa2d66193f2d610492be6.diff

LOG: [lldb] Only check for --apple-sdk argument on Darwin

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/dotest.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 10faa67b6508..e6f497493587 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -426,7 +426,7 @@ def parseOptionsAndInitTestdirs():
         configuration.lldb_platform_url = args.lldb_platform_url
     if args.lldb_platform_working_dir:
         configuration.lldb_platform_working_dir = args.lldb_platform_working_dir
-    if args.apple_sdk:
+    if platform_system == 'Darwin'  and args.apple_sdk:
         configuration.apple_sdk = args.apple_sdk
     if args.test_build_dir:
         configuration.test_build_dir = args.test_build_dir


        


More information about the lldb-commits mailing list