diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/tools/lldb-server')
17 files changed, 73 insertions, 1 deletions
| diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py index e53d80b48f9d0..1696b599de652 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py @@ -12,6 +12,7 @@ class TestGdbRemoteAttach(gdbremote_testcase.GdbRemoteTestCaseBase):      mydir = TestBase.compute_mydir(__file__) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def attach_with_vAttach(self):          # Start the inferior, start the debug monitor, nothing is attached yet.          procs = self.prep_debug_monitor_and_inferior( diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py index ffabefc70f8dd..3c87ee61ab6fe 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py @@ -13,6 +13,7 @@ class TestGdbRemoteAuxvSupport(gdbremote_testcase.GdbRemoteTestCaseBase):      AUXV_SUPPORT_FEATURE_NAME = "qXfer:auxv:read" +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def has_auxv_support(self):          inferior_args = ["message:main entered", "sleep:5"]          procs = self.prep_debug_monitor_and_inferior( diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py index dc2b99f54bd69..94e81963483a1 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py @@ -11,6 +11,7 @@ class TestGdbRemoteExpeditedRegisters(          gdbremote_testcase.GdbRemoteTestCaseBase):      mydir = TestBase.compute_mydir(__file__) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def gather_expedited_registers(self):          # Setup the stub and set the gdb remote command stream. diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py index d84511d542736..464cdce5e9e07 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py @@ -98,12 +98,14 @@ class TestGdbRemoteHostInfo(GdbRemoteTestCaseBase):                            "qHostInfo is missing the following required "                            "keys: " + str(missing_keys)) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_qHostInfo_returns_at_least_one_key_val_pair_debugserver(self):          self.init_debugserver_test()          self.build()          self.get_qHostInfo_response() +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @llgs_test      def test_qHostInfo_returns_at_least_one_key_val_pair_llgs(self):          self.init_llgs_test() @@ -111,6 +113,7 @@ class TestGdbRemoteHostInfo(GdbRemoteTestCaseBase):          self.get_qHostInfo_response()      @skipUnlessDarwin +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_qHostInfo_contains_darwin_required_keys_debugserver(self):          self.init_debugserver_test() @@ -119,6 +122,7 @@ class TestGdbRemoteHostInfo(GdbRemoteTestCaseBase):          self.validate_darwin_minimum_host_info_keys(host_info_dict)      @skipUnlessDarwin +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @llgs_test      def test_qHostInfo_contains_darwin_required_keys_llgs(self):          self.init_llgs_test() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py index c3ecf5bc24dfa..6b8ed3b4c502e 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py @@ -11,6 +11,7 @@ from lldbsuite.test import lldbutil  class TestGdbRemoteKill(gdbremote_testcase.GdbRemoteTestCaseBase):      mydir = TestBase.compute_mydir(__file__) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def attach_commandline_kill_after_initial_stop(self):          procs = self.prep_debug_monitor_and_inferior() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py index 21af255cfd943..4f7123d789a41 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py @@ -36,6 +36,7 @@ class TestGdbRemoteProcessInfo(gdbremote_testcase.GdbRemoteTestCaseBase):          self.assertTrue(lldbgdbserverutils.process_is_running(pid, True))      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qProcessInfo_returns_running_process_debugserver(self):          self.init_debugserver_test()          self.build() @@ -67,6 +68,7 @@ class TestGdbRemoteProcessInfo(gdbremote_testcase.GdbRemoteTestCaseBase):          self.assertEqual(reported_pid, procs["inferior"].pid)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_attach_commandline_qProcessInfo_reports_correct_pid_debugserver(              self):          self.init_debugserver_test() @@ -99,6 +101,7 @@ class TestGdbRemoteProcessInfo(gdbremote_testcase.GdbRemoteTestCaseBase):          self.assertTrue(endian in ["little", "big", "pdp"])      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qProcessInfo_reports_valid_endian_debugserver(self):          self.init_debugserver_test()          self.build() @@ -159,6 +162,7 @@ class TestGdbRemoteProcessInfo(gdbremote_testcase.GdbRemoteTestCaseBase):      @skipUnlessDarwin      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qProcessInfo_contains_cputype_cpusubtype_debugserver_darwin(self):          self.init_debugserver_test()          self.build() @@ -180,6 +184,7 @@ class TestGdbRemoteProcessInfo(gdbremote_testcase.GdbRemoteTestCaseBase):      @skipUnlessDarwin      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qProcessInfo_does_not_contain_triple_debugserver_darwin(self):          self.init_debugserver_test()          self.build() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py index b484bdcc4d572..3d9bb1d21bfef 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py @@ -12,6 +12,7 @@ class TestGdbRemoteRegisterState(gdbremote_testcase.GdbRemoteTestCaseBase):      mydir = TestBase.compute_mydir(__file__) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def grp_register_save_restore_works(self, with_suffix):          # Start up the process, use thread suffix, grab main thread id.          inferior_args = ["message:main entered", "sleep:5"] diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py index bcb632dd4ef84..f4e1851ff98ff 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py @@ -11,6 +11,7 @@ class TestGdbRemoteSingleStep(gdbremote_testcase.GdbRemoteTestCaseBase):      mydir = TestBase.compute_mydir(__file__) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_single_step_only_steps_one_instruction_with_s_debugserver(self):          self.init_debugserver_test() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py index b361b9e6d9157..2bf0952e902ed 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py @@ -175,6 +175,7 @@ class TestGdbRemoteThreadsInStopReply(          context = self.expect_gdbremote_sequence()          self.assertIsNotNone(context) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_QListThreadsInStopReply_supported_debugserver(self):          self.init_debugserver_test() @@ -196,6 +197,7 @@ class TestGdbRemoteThreadsInStopReply(              self.ENABLE_THREADS_IN_STOP_REPLY_ENTRIES, thread_count)          self.assertEqual(len(stop_reply_threads), thread_count) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_stop_reply_reports_multiple_threads_debugserver(self):          self.init_debugserver_test() @@ -216,6 +218,7 @@ class TestGdbRemoteThreadsInStopReply(          stop_reply_threads = self.gather_stop_reply_threads(None, thread_count)          self.assertEqual(len(stop_reply_threads), 0) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_no_QListThreadsInStopReply_supplies_no_threads_debugserver(self):          self.init_debugserver_test() @@ -252,6 +255,7 @@ class TestGdbRemoteThreadsInStopReply(          for tid in threads:              self.assertTrue(tid in stop_reply_threads) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_stop_reply_reports_correct_threads_debugserver(self):          self.init_debugserver_test() @@ -290,6 +294,7 @@ class TestGdbRemoteThreadsInStopReply(          self.set_inferior_startup_launch()          self.stop_reply_contains_thread_pcs(5) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      @debugserver_test      def test_stop_reply_contains_thread_pcs_debugserver(self):          self.init_debugserver_test() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py index 74e4849b0cb6f..647e57832b057 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py @@ -15,6 +15,8 @@ class TestGdbRemote_qThreadStopInfo(gdbremote_testcase.GdbRemoteTestCaseBase):      mydir = TestBase.compute_mydir(__file__)      THREAD_COUNT = 5 +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet +    @skipIfDarwinEmbedded # <rdar://problem/27005337>       def gather_stop_replies_via_qThreadStopInfo(self, thread_count):          # Set up the inferior args.          inferior_args = [] diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py index 9d0645c5b99df..f0380c7167e18 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py @@ -39,54 +39,63 @@ class TestGdbRemote_vCont(gdbremote_testcase.GdbRemoteTestCaseBase):      def vCont_supports_S(self):          self.vCont_supports_mode("S") +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @debugserver_test      def test_vCont_supports_c_debugserver(self):          self.init_debugserver_test()          self.build()          self.vCont_supports_c() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @llgs_test      def test_vCont_supports_c_llgs(self):          self.init_llgs_test()          self.build()          self.vCont_supports_c() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @debugserver_test      def test_vCont_supports_C_debugserver(self):          self.init_debugserver_test()          self.build()          self.vCont_supports_C() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @llgs_test      def test_vCont_supports_C_llgs(self):          self.init_llgs_test()          self.build()          self.vCont_supports_C() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @debugserver_test      def test_vCont_supports_s_debugserver(self):          self.init_debugserver_test()          self.build()          self.vCont_supports_s() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @llgs_test      def test_vCont_supports_s_llgs(self):          self.init_llgs_test()          self.build()          self.vCont_supports_s() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @debugserver_test      def test_vCont_supports_S_debugserver(self):          self.init_debugserver_test()          self.build()          self.vCont_supports_S() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @llgs_test      def test_vCont_supports_S_llgs(self):          self.init_llgs_test()          self.build()          self.vCont_supports_S() +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @debugserver_test      def test_single_step_only_steps_one_instruction_with_Hc_vCont_s_debugserver(              self): @@ -109,6 +118,7 @@ class TestGdbRemote_vCont(gdbremote_testcase.GdbRemoteTestCaseBase):              "aarch64"],          bugnumber="llvm.org/pr24739")      @skipIf(triple='^mips') +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      def test_single_step_only_steps_one_instruction_with_Hc_vCont_s_llgs(self):          self.init_llgs_test()          self.build() @@ -116,6 +126,7 @@ class TestGdbRemote_vCont(gdbremote_testcase.GdbRemoteTestCaseBase):          self.single_step_only_steps_one_instruction(              use_Hc_packet=True, step_instruction="vCont;s") +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      @debugserver_test      def test_single_step_only_steps_one_instruction_with_vCont_s_thread_debugserver(              self): @@ -138,6 +149,7 @@ class TestGdbRemote_vCont(gdbremote_testcase.GdbRemoteTestCaseBase):              "aarch64"],          bugnumber="llvm.org/pr24739")      @skipIf(triple='^mips') +    @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")      def test_single_step_only_steps_one_instruction_with_vCont_s_thread_llgs(              self):          self.init_llgs_test() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py b/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py index 6f36fbea470b0..a4f306efdc985 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py @@ -29,6 +29,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod      mydir = TestBase.compute_mydir(__file__)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_exe_starts_debugserver(self):          self.init_debugserver_test()          server = self.connect_to_debug_monitor() @@ -46,6 +47,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_start_no_ack_mode_debugserver(self):          self.init_debugserver_test()          self.start_no_ack_mode() @@ -68,6 +70,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_thread_suffix_supported_debugserver(self):          self.init_debugserver_test()          self.thread_suffix_supported() @@ -89,6 +92,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_list_threads_in_stop_reply_supported_debugserver(self):          self.init_debugserver_test()          self.list_threads_in_stop_reply_supported() @@ -114,6 +118,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_c_packet_works_debugserver(self):          self.init_debugserver_test()          self.build() @@ -146,6 +151,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertIsNotNone(context)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_inferior_print_exit_debugserver(self):          self.init_debugserver_test()          self.build() @@ -181,6 +187,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_first_launch_stop_reply_thread_matches_first_qC_debugserver(self):          self.init_debugserver_test()          self.build() @@ -216,6 +223,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod                  procs["inferior"].pid, False))      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_attach_commandline_continue_app_exits_debugserver(self):          self.init_debugserver_test()          self.build() @@ -254,6 +262,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod      @debugserver_test      @expectedFailureDarwin("llvm.org/pr25486") +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qRegisterInfo_returns_one_valid_result_debugserver(self):          self.init_debugserver_test()          self.build() @@ -286,6 +295,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod      @debugserver_test      @expectedFailureDarwin("llvm.org/pr25486") +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qRegisterInfo_returns_all_valid_results_debugserver(self):          self.init_debugserver_test()          self.build() @@ -332,6 +342,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertTrue('flags' in generic_regs)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qRegisterInfo_contains_required_generics_debugserver(self):          self.init_debugserver_test()          self.build() @@ -367,6 +378,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertTrue(len(register_sets) >= 1)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qRegisterInfo_contains_at_least_one_register_set_debugserver(              self):          self.init_debugserver_test() @@ -446,6 +458,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertEqual(len(threads), 1)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qThreadInfo_contains_thread_launch_debugserver(self):          self.init_debugserver_test()          self.build() @@ -460,6 +473,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.qThreadInfo_contains_thread()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qThreadInfo_contains_thread_attach_debugserver(self):          self.init_debugserver_test()          self.build() @@ -502,6 +516,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertEqual(threads[0], QC_thread_id)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qThreadInfo_matches_qC_launch_debugserver(self):          self.init_debugserver_test()          self.build() @@ -516,6 +531,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.qThreadInfo_matches_qC()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qThreadInfo_matches_qC_attach_debugserver(self):          self.init_debugserver_test()          self.build() @@ -579,6 +595,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod              reg_index += 1      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_p_returns_correct_data_size_for_each_qRegisterInfo_launch_debugserver(              self):          self.init_debugserver_test() @@ -595,6 +612,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.p_returns_correct_data_size_for_each_qRegisterInfo()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_p_returns_correct_data_size_for_each_qRegisterInfo_attach_debugserver(              self):          self.init_debugserver_test() @@ -643,6 +661,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod              self.assertEqual(int(context.get("thread_id"), 16), thread)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_Hg_switches_to_3_threads_launch_debugserver(self):          self.init_debugserver_test()          self.build() @@ -657,6 +676,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.Hg_switches_to_3_threads()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_Hg_switches_to_3_threads_attach_debugserver(self):          self.init_debugserver_test()          self.build() @@ -783,6 +803,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod      @unittest2.expectedFailure()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_Hc_then_Csignal_signals_correct_thread_launch_debugserver(self):          self.init_debugserver_test()          self.build() @@ -852,6 +873,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertEqual(read_contents, MEMORY_CONTENTS)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_m_packet_reads_memory_debugserver(self):          self.init_debugserver_test()          self.build() @@ -877,6 +899,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qMemoryRegionInfo_is_supported_debugserver(self):          self.init_debugserver_test()          self.build() @@ -939,6 +962,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assert_address_within_memory_region(code_address, mem_region_dict)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qMemoryRegionInfo_reports_code_address_as_executable_debugserver(              self):          self.init_debugserver_test() @@ -1003,6 +1027,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod              stack_address, mem_region_dict)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qMemoryRegionInfo_reports_stack_address_as_readable_writeable_debugserver(              self):          self.init_debugserver_test() @@ -1067,6 +1092,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assert_address_within_memory_region(heap_address, mem_region_dict)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qMemoryRegionInfo_reports_heap_address_as_readable_writeable_debugserver(              self):          self.init_debugserver_test() @@ -1215,6 +1241,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertIsNotNone(context)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_software_breakpoint_set_and_remove_work_debugserver(self):          self.init_debugserver_test()          if self.getArchitecture() == "arm": @@ -1241,6 +1268,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod      @skipUnlessPlatform(oslist=['linux'])      @expectedFailureAndroid      @skipIf(archs=no_match(['arm', 'aarch64'])) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_hardware_breakpoint_set_and_remove_work_debugserver(self):          self.init_debugserver_test()          if self.getArchitecture() == "arm": @@ -1280,6 +1308,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertTrue(len(supported_dict) > 0)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_qSupported_returns_known_stub_features_debugserver(self):          self.init_debugserver_test()          self.build() @@ -1353,6 +1382,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod          self.assertEqual(printed_message, TEST_MESSAGE + "X")      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_written_M_content_reads_back_correctly_debugserver(self):          self.init_debugserver_test()          self.build() @@ -1402,6 +1432,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod      # Come back to this.  I have the test rigged to verify that at least some      # of the bit-flip writes work.      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_P_writes_all_gpr_registers_debugserver(self):          self.init_debugserver_test()          self.build() @@ -1526,6 +1557,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod      # Note: as of this moment, a hefty number of the GPR writes are failing      # with E32 (everything except rax-rdx, rdi, rsi, rbp).      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_P_and_p_thread_suffix_work_debugserver(self):          self.init_debugserver_test()          self.build() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py b/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py index c1a63af5424f9..102f2e344af5a 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py @@ -84,6 +84,7 @@ class TestStubReverseConnect(gdbremote_testcase.GdbRemoteTestCaseBase):          stub_socket.shutdown(socket.SHUT_RDWR)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_reverse_connect_works_debugserver(self):          self.init_debugserver_test(use_named_pipe=False)          self.set_inferior_startup_launch() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/exit-code/TestGdbRemoteExitCode.py b/packages/Python/lldbsuite/test/tools/lldb-server/exit-code/TestGdbRemoteExitCode.py index e77f2b7acec02..5ef4249bd2416 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/exit-code/TestGdbRemoteExitCode.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/exit-code/TestGdbRemoteExitCode.py @@ -53,6 +53,7 @@ class TestGdbRemoteExitCode(GdbRemoteTestCaseBase):              self.fail("failed to launch inferior: " + fail_reason)      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_start_inferior_debugserver(self):          self.init_debugserver_test()          self.build() @@ -80,6 +81,7 @@ class TestGdbRemoteExitCode(GdbRemoteTestCaseBase):          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_inferior_exit_0_debugserver(self):          self.init_debugserver_test()          self.build() @@ -112,6 +114,7 @@ class TestGdbRemoteExitCode(GdbRemoteTestCaseBase):          self.expect_gdbremote_sequence()      @debugserver_test +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def test_inferior_exit_42_debugserver(self):          self.init_debugserver_test()          self.build() diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py b/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py index 23cb869358572..67887256d97d0 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py @@ -369,7 +369,7 @@ class GdbRemoteTestCaseBase(TestBase):                  ["*:{}".format(self.port)]          else:              commandline_args = self.debug_monitor_extra_args + \ -                ["localhost:{}".format(self.port)] +                ["127.0.0.1:{}".format(self.port)]          if attach_pid:              commandline_args += ["--attach=%d" % attach_pid] diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py b/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py index b417b3292e75b..e905a85cc4d3d 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py @@ -11,6 +11,7 @@ from lldbsuite.test import lldbutil  class TestGdbRemoteAbort(gdbremote_testcase.GdbRemoteTestCaseBase):      mydir = TestBase.compute_mydir(__file__) +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def inferior_abort_received(self):          procs = self.prep_debug_monitor_and_inferior(inferior_args=["abort"])          self.assertIsNotNone(procs) diff --git a/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py b/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py index 5bbca3c146d1d..316d5d7b82bf5 100644 --- a/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py +++ b/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py @@ -13,6 +13,7 @@ class TestGdbRemoteSegFault(gdbremote_testcase.GdbRemoteTestCaseBase):      GDB_REMOTE_STOP_CODE_BAD_ACCESS = 0x91 +    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet      def inferior_seg_fault_received(self, expected_signo):          procs = self.prep_debug_monitor_and_inferior(              inferior_args=["segfault"]) | 
