Skip to content

Commit d665d51

Browse files
authored
[lldb] Fixed the DAP tests in case of a remote target (#92398)
These tests failed in case of Windows host and Linux target, because dap_server tried to run ELF file on Windows.
1 parent f579dcf commit d665d51

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88

99
class TestDAP_commands(lldbdap_testcase.DAPTestCaseBase):
10+
@skipIfRemote
1011
def test_command_directive_quiet_on_success(self):
1112
program = self.getBuildArtifact("a.out")
1213
command_quiet = (
@@ -60,6 +61,7 @@ def test_command_directive_abort_on_error_launch_commands(self):
6061
def test_command_directive_abort_on_error_pre_run_commands(self):
6162
self.do_test_abort_on_error(use_pre_run_commands=True)
6263

64+
@skipIfRemote
6365
def test_command_directive_abort_on_error_post_run_commands(self):
6466
self.do_test_abort_on_error(use_post_run_commands=True)
6567

lldb/test/API/tools/lldb-dap/startDebugging/TestDAP_startDebugging.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212

1313
class TestDAP_startDebugging(lldbdap_testcase.DAPTestCaseBase):
14+
@skipIfRemote
1415
def test_startDebugging(self):
1516
"""
1617
Tests the "startDebugging" reverse request. It makes sure that the IDE can

0 commit comments

Comments
 (0)