Skip to content

Commit f76f6f5

Browse files
committed
[lldb] Skip a bunch of tests that shouldn't run remotely
Skip a bunch of tests that don't really make sense to run remotely. (cherry picked from commit 66b829a)
1 parent 5ac00bf commit f76f6f5

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

lldb/test/API/commands/expression/import-std-module/missing-module-sources/TestStdModuleSourcesMissing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class TestCase(TestBase):
1818
# test configurations where libc++ is actually supposed to be tested.
1919
@add_test_categories(["libc++"])
2020
@skipIf(compiler=no_match("clang"))
21+
@skipIfRemote
2122
def test(self):
2223
# The path to our temporary target root that contains the temporary
2324
# module sources.

lldb/test/API/commands/platform/basic/TestPlatformCommand.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def test_shell_timeout(self):
9595
"error: timed out waiting for shell command to complete"])
9696

9797
@no_debug_info_test
98+
@skipIfRemote
9899
def test_host_shell_interpreter(self):
99100
""" Test the host platform shell with a different interpreter """
100101
self.build()

lldb/test/API/commands/platform/basic/TestPlatformPython.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def test_available_platform_list(self):
8282

8383
@add_test_categories(['pyapi'])
8484
@no_debug_info_test
85+
@skipIfRemote
8586
def test_shell_interpreter(self):
8687
""" Test a shell with a custom interpreter """
8788
platform = self.dbg.GetSelectedPlatform()

lldb/test/API/commands/platform/sdk/TestPlatformSDK.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def port_not_available(self):
4343
@skipUnlessDarwin
4444
@expectedFailureIfFn(no_debugserver)
4545
@expectedFailureIfFn(port_not_available)
46+
@skipIfRemote
4647
def test_macos_sdk(self):
4748
self.build()
4849

lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class TestDetachVrsProfile(TestBase):
2323

2424
@skipUnlessDarwin
2525
@skipIfOutOfTreeDebugserver
26+
@skipIfRemote
2627
def test_profile_and_detach(self):
2728
"""There can be many tests in a test case - describe this test here."""
2829
self.build()

lldb/test/API/python_api/process/TestProcessAPI.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ def test_get_num_supported_hardware_watchpoints(self):
320320
print("Number of supported hardware watchpoints: %d" % num)
321321

322322
@no_debug_info_test
323+
@skipIfRemote
323324
def test_get_process_info(self):
324325
"""Test SBProcess::GetProcessInfo() API with a locally launched process."""
325326
self.build()

lldb/test/API/python_api/sbmodule/TestSBModule.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def tearDown(self):
2121
os.kill(self.background_pid, signal.SIGKILL)
2222

2323
@skipUnlessDarwin
24+
@skipIfRemote
2425
def test_module_is_file_backed(self):
2526
"""Test the SBModule::IsFileBacked() method"""
2627
self.build()

lldb/test/API/python_api/target/TestTargetAPI.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ def resolve_symbol_context_with_address(self):
460460
self.assertTrue(desc1 and desc2 and desc1 == desc2,
461461
"The two addresses should resolve to the same symbol")
462462

463+
@skipIfRemote
463464
def test_default_arch(self):
464465
""" Test the other two target create methods using LLDB_ARCH_DEFAULT. """
465466
self.build()

0 commit comments

Comments
 (0)