Skip to content

Commit a16755b

Browse files
DavidSpickettgithub-actions[bot]
authored andcommitted
Automerge: [lldb] Disable some lldb-dap tests on Windows
Since llvm/llvm-project#138981 / llvm/llvm-project@aeeb9a3 were landed and tests re-enabled, these tests have been failing on our Windows on Arm bot: https://lab.llvm.org/buildbot/#/builders/141/builds/8523 ******************** Unresolved Tests (1): lldb-api :: tools/lldb-dap/send-event/TestDAP_sendEvent.py ******************** Failed Tests (2): lldb-api :: tools/lldb-dap/launch/TestDAP_launch.py lldb-api :: tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
2 parents 51abff0 + 2668167 commit a16755b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ def test_terminate_commands(self):
546546
)
547547
self.verify_commands("terminateCommands", output, terminateCommands)
548548

549+
@skipIfWindows
549550
def test_version(self):
550551
"""
551552
Tests that "initialize" response contains the "version" string the same

lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py

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

1111

1212
class TestDAP_sendEvent(lldbdap_testcase.DAPTestCaseBase):
13+
@skipIfWindows
1314
def test_send_event(self):
1415
"""
1516
Test sending a custom event.
@@ -42,6 +43,7 @@ def test_send_event(self):
4243
self.assertEqual(custom_event["event"], "my-custom-event")
4344
self.assertEqual(custom_event["body"], custom_event_body)
4445

46+
@skipIfWindows
4547
def test_send_internal_event(self):
4648
"""
4749
Test sending an internal event produces an error.

lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ def test_stackTrace(self):
201201
0, len(stackFrames), "verify zero frames with startFrame out of bounds"
202202
)
203203

204+
@skipIfWindows
204205
def test_functionNameWithArgs(self):
205206
"""
206207
Test that the stack frame without a function name is given its pc in the response.
@@ -215,6 +216,7 @@ def test_functionNameWithArgs(self):
215216
frame = self.get_stackFrames()[0]
216217
self.assertEqual(frame["name"], "recurse(x=1)")
217218

219+
@skipIfWindows
218220
def test_StackFrameFormat(self):
219221
"""
220222
Test the StackFrameFormat.

0 commit comments

Comments
 (0)