[Lldb-commits] [lldb] f5f22f0 - [lldb] Skip TestSimulatorPlatform with sanitized builds

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 17 06:08:13 PDT 2020


Author: Raphael Isemann
Date: 2020-08-17T15:06:48+02:00
New Revision: f5f22f04481bec765ccaf6e400da24987a421c2e

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

LOG: [lldb] Skip TestSimulatorPlatform with sanitized builds

The test executable crashes when ran on a simulator. Skipping until this is
fixed.

rdar://67238668

Added: 
    

Modified: 
    lldb/test/API/macosx/simulator/TestSimulatorPlatform.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py b/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
index cd3c999b5356..41924fc62a10 100644
--- a/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
+++ b/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
@@ -52,6 +52,7 @@ def run_with(self, arch, os, vers, env, expected_load_command):
         self.expect('image list -b -t', patterns=['a\.out '+triple_re])
         self.check_debugserver(log, os+env, vers)
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('iphone')
@@ -62,6 +63,7 @@ def test_ios(self):
                       os='ios', vers='', env='simulator',
                       expected_load_command='LC_BUILD_VERSION')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('appletv')
@@ -72,6 +74,7 @@ def test_tvos(self):
                       os='tvos', vers='', env='simulator',
                       expected_load_command='LC_BUILD_VERSION')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('watch')
@@ -84,6 +87,7 @@ def test_watchos_i386(self):
                       os='watchos', vers='', env='simulator',
                       expected_load_command='LC_BUILD_VERSION')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('watch')
@@ -114,6 +118,7 @@ def test_lc_version_min_macosx(self):
         self.run_with(arch=self.getArchitecture(),
                       os='macosx', vers='10.9', env='',
                       expected_load_command='LC_VERSION_MIN_MACOSX')
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('iphone')
@@ -126,6 +131,7 @@ def test_lc_version_min_iphoneos(self):
                       os='ios', vers='11.0', env='simulator',
                       expected_load_command='LC_VERSION_MIN_IPHONEOS')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('iphone')
@@ -138,6 +144,7 @@ def test_ios_backdeploy_x86(self):
                       os='ios', vers='13.0', env='simulator',
                       expected_load_command='LC_BUILD_VERSION')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('iphone')
@@ -149,6 +156,7 @@ def test_ios_backdeploy_apple_silicon(self):
                       os='ios', vers='11.0', env='simulator',
                       expected_load_command='LC_BUILD_VERSION')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('appletv')
@@ -161,6 +169,7 @@ def test_lc_version_min_tvos(self):
                       os='tvos', vers='11.0', env='simulator',
                       expected_load_command='LC_VERSION_MIN_TVOS')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('appletv')
@@ -172,6 +181,7 @@ def test_tvos_backdeploy_apple_silicon(self):
                       os='tvos', vers='11.0', env='simulator',
                       expected_load_command='LC_BUILD_VERSION')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('watch')
@@ -185,6 +195,7 @@ def test_lc_version_min_watchos(self):
                       os='watchos', vers='4.0', env='simulator',
                       expected_load_command='LC_VERSION_MIN_WATCHOS')
 
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @apple_simulator_test('watch')


        


More information about the lldb-commits mailing list