Skip to content

Commit

Permalink
[lldb] Fixed the DAP tests in case of a remote target (llvm#92398)
Browse files Browse the repository at this point in the history
These tests failed in case of Windows host and Linux target, because
dap_server tried to run ELF file on Windows.
  • Loading branch information
slydiman committed May 16, 2024
1 parent f579dcf commit d665d51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@


class TestDAP_commands(lldbdap_testcase.DAPTestCaseBase):
@skipIfRemote
def test_command_directive_quiet_on_success(self):
program = self.getBuildArtifact("a.out")
command_quiet = (
Expand Down Expand Up @@ -60,6 +61,7 @@ def test_command_directive_abort_on_error_launch_commands(self):
def test_command_directive_abort_on_error_pre_run_commands(self):
self.do_test_abort_on_error(use_pre_run_commands=True)

@skipIfRemote
def test_command_directive_abort_on_error_post_run_commands(self):
self.do_test_abort_on_error(use_post_run_commands=True)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@


class TestDAP_startDebugging(lldbdap_testcase.DAPTestCaseBase):
@skipIfRemote
def test_startDebugging(self):
"""
Tests the "startDebugging" reverse request. It makes sure that the IDE can
Expand Down

0 comments on commit d665d51

Please sign in to comment.