Skip a bunch of tests that don't really make sense to run remotely.
# test configurations where libc++ is actually supposed to be tested.
@add_test_categories(["libc++"])
@skipIf(compiler=no_match("clang"))
+ @skipIfRemote
def test(self):
# The path to our temporary target root that contains the temporary
# module sources.
"error: timed out waiting for shell command to complete"])
@no_debug_info_test
+ @skipIfRemote
def test_host_shell_interpreter(self):
""" Test the host platform shell with a different interpreter """
self.build()
@add_test_categories(['pyapi'])
@no_debug_info_test
+ @skipIfRemote
def test_shell_interpreter(self):
""" Test a shell with a custom interpreter """
platform = self.dbg.GetSelectedPlatform()
@skipUnlessDarwin
@expectedFailureIfFn(no_debugserver)
@expectedFailureIfFn(port_not_available)
+ @skipIfRemote
def test_macos_sdk(self):
self.build()
@skipUnlessDarwin
@skipIfOutOfTreeDebugserver
+ @skipIfRemote
def test_profile_and_detach(self):
"""There can be many tests in a test case - describe this test here."""
self.build()
print("Number of supported hardware watchpoints: %d" % num)
@no_debug_info_test
+ @skipIfRemote
def test_get_process_info(self):
"""Test SBProcess::GetProcessInfo() API with a locally launched process."""
self.build()
os.kill(self.background_pid, signal.SIGKILL)
@skipUnlessDarwin
+ @skipIfRemote
def test_module_is_file_backed(self):
"""Test the SBModule::IsFileBacked() method"""
self.build()
self.assertTrue(desc1 and desc2 and desc1 == desc2,
"The two addresses should resolve to the same symbol")
+ @skipIfRemote
def test_default_arch(self):
""" Test the other two target create methods using LLDB_ARCH_DEFAULT. """
self.build()