Skip to content

🍒/5.7/af2ea183f5e3+257f98466222+66b829ac7b68 #4197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class TestCase(TestBase):
# 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def test_shell_timeout(self):
"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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def test_available_platform_list(self):

@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()
Expand Down
1 change: 1 addition & 0 deletions lldb/test/API/commands/platform/sdk/TestPlatformSDK.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def port_not_available(self):
@skipUnlessDarwin
@expectedFailureIfFn(no_debugserver)
@expectedFailureIfFn(port_not_available)
@skipIfRemote
def test_macos_sdk(self):
self.build()

Expand Down
10 changes: 5 additions & 5 deletions lldb/test/API/commands/settings/quoting/TestQuoting.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@ def expect_args(self, args_in, args_out):
to stdout. Compare the stdout with args_out."""

filename = SettingsCommandTestCase.output_file_name
outfile = self.getBuildArtifact(filename)

if lldb.remote_platform:
outfile = lldb.remote_platform.GetWorkingDirectory() + filename
outfile_arg = os.path.join(lldb.remote_platform.GetWorkingDirectory(), filename)
else:
outfile = self.getBuildArtifact(filename)
outfile_arg = outfile

self.runCmd("process launch -- %s %s" % (outfile, args_in))
self.runCmd("process launch -- %s %s" % (outfile_arg, args_in))

if lldb.remote_platform:
src_file_spec = lldb.SBFileSpec(outfile, False)
src_file_spec = lldb.SBFileSpec(outfile_arg, False)
dst_file_spec = lldb.SBFileSpec(outfile, True)
lldb.remote_platform.Get(src_file_spec, dst_file_spec)

with open(outfile, 'r') as f:
output = f.read()

self.RemoveTempFile(outfile)

self.assertEqual(output, args_out)
2 changes: 2 additions & 0 deletions lldb/test/API/lang/objc/conflicting-definition/Test/Test.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#import <Foundation/Foundation.h>

#import "Test.h"

@implementation Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#import <Foundation/Foundation.h>

#import "TestExt.h"
#import "Foo.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class TestDetachVrsProfile(TestBase):

@skipUnlessDarwin
@skipIfOutOfTreeDebugserver
@skipIfRemote
def test_profile_and_detach(self):
"""There can be many tests in a test case - describe this test here."""
self.build()
Expand Down
1 change: 1 addition & 0 deletions lldb/test/API/python_api/process/TestProcessAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def test_get_num_supported_hardware_watchpoints(self):
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()
Expand Down
1 change: 1 addition & 0 deletions lldb/test/API/python_api/sbmodule/TestSBModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def tearDown(self):
os.kill(self.background_pid, signal.SIGKILL)

@skipUnlessDarwin
@skipIfRemote
def test_module_is_file_backed(self):
"""Test the SBModule::IsFileBacked() method"""
self.build()
Expand Down
1 change: 1 addition & 0 deletions lldb/test/API/python_api/target/TestTargetAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ def resolve_symbol_context_with_address(self):
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()
Expand Down