[Lldb-commits] [lldb] f03f811 - [lldb] Only run TestUniversal64 on macOS 11 and later

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 30 14:12:39 PDT 2023


Author: Jonas Devlieghere
Date: 2023-03-30T14:12:32-07:00
New Revision: f03f8111d2af41561c2be918f56ac348bf228dc7

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

LOG: [lldb] Only run TestUniversal64 on macOS 11 and later

GreenDragon is running on a host OS and toolchain that doesn't support
building for Apple Silicon.

Added: 
    

Modified: 
    lldb/test/API/macosx/universal64/TestUniversal64.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/universal64/TestUniversal64.py b/lldb/test/API/macosx/universal64/TestUniversal64.py
index 0c4226fac538..d97ebc05176d 100644
--- a/lldb/test/API/macosx/universal64/TestUniversal64.py
+++ b/lldb/test/API/macosx/universal64/TestUniversal64.py
@@ -25,6 +25,7 @@ def do_test(self):
 
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
+    @skipIf(macos_version=["<", "11.0"])
     def test_universal64_executable(self):
         """Test fat64 universal executable"""
         self.build(debug_info="dsym")
@@ -32,7 +33,7 @@ def test_universal64_executable(self):
 
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
-    @skipIf(compiler="clang", compiler_version=['<', '7.0'])
+    @skipIf(macos_version=["<", "11.0"])
     def test_universal64_dsym(self):
         """Test fat64 universal dSYM"""
         self.build(debug_info="dsym", dictionary={'FAT64_DSYM': '1'})


        


More information about the lldb-commits mailing list