diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:06:29 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:06:29 +0000 | 
| commit | 94994d372d014ce4c8758b9605d63fae651bd8aa (patch) | |
| tree | 51c0b708bd59f205d6b35cb2a8c24d62f0c33d77 /packages/Python/lldbsuite/test/tools/lldb-server | |
| parent | 39be7ce23363d12ae3e49aeb1fdb2bfeb892e836 (diff) | |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/tools/lldb-server')
| -rw-r--r-- | packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py | 11 | ||||
| -rw-r--r-- | packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteGPacket.py | 1 | 
2 files changed, 11 insertions, 1 deletions
| diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py index 8c8fed8e44e01..62c948c36cf7d 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py @@ -19,7 +19,13 @@ class TestAppleSimulatorOSType(gdbremote_testcase.GdbRemoteTestCaseBase):          sim_devices = json.loads(sim_devices_str)['devices']          # Find an available simulator for the requested platform          deviceUDID = None -        for (runtime,devices) in sim_devices.items(): +        for simulator in sim_devices: +            if isinstance(simulator,dict): +                runtime = simulator['name'] +                devices = simulator['devices'] +            else: +                runtime = simulator +                devices = sim_devices[simulator]              if not platform in runtime.lower():                  continue              for device in devices: @@ -95,18 +101,21 @@ class TestAppleSimulatorOSType(gdbremote_testcase.GdbRemoteTestCaseBase):      @apple_simulator_test('iphone')      @debugserver_test +    @skipIfDarwinEmbedded      def test_simulator_ostype_ios(self):          self.check_simulator_ostype(sdk='iphonesimulator',                                      platform='ios')      @apple_simulator_test('appletv')      @debugserver_test +    @skipIfDarwinEmbedded      def test_simulator_ostype_tvos(self):          self.check_simulator_ostype(sdk='appletvsimulator',                                      platform='tvos')      @apple_simulator_test('watch')      @debugserver_test +    @skipIfDarwinEmbedded      def test_simulator_ostype_watchos(self):          self.check_simulator_ostype(sdk='watchsimulator',                                      platform='watchos', arch='i386') diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteGPacket.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteGPacket.py index 76910758fa912..cfadbc8f7d0f0 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteGPacket.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteGPacket.py @@ -35,6 +35,7 @@ class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase):      @skipIfOutOfTreeDebugserver      @debugserver_test +    @skipIfDarwinEmbedded      def test_g_packet_debugserver(self):          self.init_debugserver_test()          self.run_test_g_packet() | 
