@skipUnlessDarwin
@skipIfDarwinEmbedded
@apple_simulator_test('iphone')
+ @skipIfOutOfTreeDebugserver
def test_ios(self):
"""Test running an iOS simulator binary"""
self.run_with(arch=self.getArchitecture(),
@skipUnlessDarwin
@skipIfDarwinEmbedded
@apple_simulator_test('appletv')
+ @skipIfOutOfTreeDebugserver
def test_tvos(self):
"""Test running an tvOS simulator binary"""
self.run_with(arch=self.getArchitecture(),
@apple_simulator_test('watch')
@skipIfDarwin # rdar://problem/64552748
@skipIf(archs=['arm64','arm64e'])
+ @skipIfOutOfTreeDebugserver
def test_watchos_i386(self):
"""Test running a 32-bit watchOS simulator binary"""
self.run_with(arch='i386',
@apple_simulator_test('watch')
@skipIfDarwin # rdar://problem/64552748
@skipIf(archs=['i386','x86_64'])
+ @skipIfOutOfTreeDebugserver
def test_watchos_armv7k(self):
"""Test running a 32-bit watchOS simulator binary"""
self.run_with(arch='armv7k',
# and ios-simulator. When targeting a simulator on Apple Silicon
# macOS, however, these legacy load commands are never generated.
#
-
+
@skipUnlessDarwin
@skipIfDarwinEmbedded
+ @skipIfOutOfTreeDebugserver
def test_lc_version_min_macosx(self):
"""Test running a back-deploying non-simulator MacOS X binary"""
self.run_with(arch=self.getArchitecture(),
@skipIfDarwinEmbedded
@apple_simulator_test('iphone')
@skipIf(archs=['arm64','arm64e'])
+ @skipIfOutOfTreeDebugserver
def test_lc_version_min_iphoneos(self):
"""Test running a back-deploying iOS simulator binary
with a legacy iOS load command"""
@skipIfDarwinEmbedded
@apple_simulator_test('iphone')
@skipIf(archs=['arm64','arm64e'])
+ @skipIfOutOfTreeDebugserver
def test_ios_backdeploy_x86(self):
"""Test running a back-deploying iOS simulator binary
with a legacy iOS load command"""
@skipIfDarwinEmbedded
@apple_simulator_test('iphone')
@skipIf(archs=['i386','x86_64'])
+ @skipIfOutOfTreeDebugserver
def test_ios_backdeploy_apple_silicon(self):
"""Test running a back-deploying iOS simulator binary"""
self.run_with(arch=self.getArchitecture(),
@skipIfDarwinEmbedded
@apple_simulator_test('appletv')
@skipIf(archs=['arm64','arm64e'])
+ @skipIfOutOfTreeDebugserver
def test_lc_version_min_tvos(self):
"""Test running a back-deploying tvOS simulator binary
with a legacy tvOS load command"""
@skipIfDarwinEmbedded
@apple_simulator_test('appletv')
@skipIf(archs=['i386','x86_64'])
+ @skipIfOutOfTreeDebugserver
def test_tvos_backdeploy_apple_silicon(self):
"""Test running a back-deploying tvOS simulator binary"""
self.run_with(arch=self.getArchitecture(),
@apple_simulator_test('watch')
@skipIf(archs=['arm64','arm64e'])
@skipIfDarwin # rdar://problem/64552748
+ @skipIfOutOfTreeDebugserver
def test_lc_version_min_watchos(self):
"""Test running a back-deploying watchOS simulator binary
with a legacy watchOS load command"""
@apple_simulator_test('watch')
@skipIf(archs=['arm64','arm64e'])
@skipIfDarwin # rdar://problem/64552748
+ @skipIfOutOfTreeDebugserver
def test_watchos_backdeploy_apple_silicon(self):
"""Test running a back-deploying watchOS simulator binary"""
self.run_with(arch='armv7k',