Expand Up
@@ -25,7 +25,6 @@ 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 ):
server = self .connect_to_debug_monitor ()
Expand All
@@ -46,7 +45,6 @@ def thread_suffix_supported(self):
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 .thread_suffix_supported ()
Expand All
@@ -66,7 +64,6 @@ def list_threads_in_stop_reply_supported(self):
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 .list_threads_in_stop_reply_supported ()
Expand All
@@ -84,7 +81,6 @@ def c_packet_works(self):
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 .build ()
self .c_packet_works ()
Expand All
@@ -107,7 +103,6 @@ def inferior_print_exit(self):
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 .build ()
self .inferior_print_exit ()
Expand All
@@ -133,7 +128,6 @@ def first_launch_stop_reply_thread_matches_first_qC(self):
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 .build ()
self .first_launch_stop_reply_thread_matches_first_qC ()
Expand Down
Expand Up
@@ -167,7 +161,6 @@ def attach_commandline_continue_app_exits(self):
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 .build ()
self .set_inferior_startup_attach ()
Expand Down
Expand Up
@@ -196,7 +189,6 @@ def qRegisterInfo_returns_one_valid_result(self):
lldbgdbserverutils .parse_reg_info_response (reg_info_packet ))
@debugserver_test
@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 .build ()
self .qRegisterInfo_returns_one_valid_result ()
Expand All
@@ -219,7 +211,6 @@ def qRegisterInfo_returns_all_valid_results(self):
self .assert_valid_reg_info (reg_info )
@debugserver_test
@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 .build ()
self .qRegisterInfo_returns_all_valid_results ()
Expand Down
Expand Up
@@ -258,7 +249,6 @@ def qRegisterInfo_contains_required_generics(self):
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 .build ()
self .qRegisterInfo_contains_required_generics ()
Expand All
@@ -285,7 +275,6 @@ def qRegisterInfo_contains_at_least_one_register_set(self):
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 .build ()
Expand Down
Expand Up
@@ -357,7 +346,6 @@ def qThreadInfo_contains_thread(self):
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 .build ()
self .set_inferior_startup_launch ()
Expand All
@@ -370,7 +358,6 @@ def test_qThreadInfo_contains_thread_launch_llgs(self):
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 .build ()
self .set_inferior_startup_attach ()
Expand Down
Expand Up
@@ -412,7 +399,6 @@ def qThreadInfo_matches_qC(self):
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 .build ()
self .set_inferior_startup_launch ()
Expand All
@@ -425,7 +411,6 @@ def test_qThreadInfo_matches_qC_launch_llgs(self):
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 .build ()
self .set_inferior_startup_attach ()
Expand Down
Expand Up
@@ -492,7 +477,6 @@ def p_returns_correct_data_size_for_each_qRegisterInfo(self):
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 .build ()
Expand All
@@ -508,7 +492,6 @@ def test_p_returns_correct_data_size_for_each_qRegisterInfo_launch_llgs(
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 .build ()
Expand Down
Expand Up
@@ -556,7 +539,6 @@ def Hg_switches_to_3_threads(self):
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 .build ()
self .set_inferior_startup_launch ()
Expand All
@@ -570,7 +552,6 @@ def test_Hg_switches_to_3_threads_launch_llgs(self):
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 .build ()
self .set_inferior_startup_attach ()
Expand Down
Expand Up
@@ -696,7 +677,6 @@ def Hc_then_Csignal_signals_correct_thread(self, segfault_signo):
@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 .build ()
self .set_inferior_startup_launch ()
Expand Down
Expand Up
@@ -767,7 +747,6 @@ def m_packet_reads_memory(self):
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 .build ()
self .set_inferior_startup_launch ()
Expand All
@@ -792,7 +771,6 @@ def qMemoryRegionInfo_is_supported(self):
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 .build ()
self .set_inferior_startup_launch ()
Expand Down
Expand Up
@@ -853,7 +831,6 @@ def qMemoryRegionInfo_reports_code_address_as_executable(self):
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 .build ()
Expand Down
Expand Up
@@ -917,7 +894,6 @@ def qMemoryRegionInfo_reports_stack_address_as_readable_writeable(self):
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 .build ()
Expand Down
Expand Up
@@ -981,7 +957,6 @@ def qMemoryRegionInfo_reports_heap_address_as_readable_writeable(self):
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 .build ()
Expand Down
Expand Up
@@ -1129,7 +1104,6 @@ def breakpoint_set_and_remove_work(self, want_hardware=False):
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 ):
if self .getArchitecture () == "arm" :
# TODO: Handle case when setting breakpoint in thumb code
Expand All
@@ -1155,7 +1129,6 @@ def test_software_breakpoint_set_and_remove_work_llgs(self):
@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 ):
if self .getArchitecture () == "arm" :
# TODO: Handle case when setting breakpoint in thumb code
Expand Down
Expand Up
@@ -1192,7 +1165,6 @@ def qSupported_returns_known_stub_features(self):
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 .build ()
self .set_inferior_startup_launch ()
Expand Down
Expand Up
@@ -1264,7 +1236,6 @@ def written_M_content_reads_back_correctly(self):
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 .build ()
self .set_inferior_startup_launch ()
Expand Down
Expand Up
@@ -1313,7 +1284,6 @@ def P_writes_all_gpr_registers(self):
# 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 .build ()
self .set_inferior_startup_launch ()
Expand Down
Expand Up
@@ -1436,7 +1406,6 @@ def P_and_p_thread_suffix_work(self):
# 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 .build ()
self .set_inferior_startup_launch ()
Expand Down