[Lldb-commits] [lldb] 2668167 - [lldb] Disable some lldb-dap tests on Windows
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu May 8 01:48:40 PDT 2025
Author: David Spickett
Date: 2025-05-08T08:47:12Z
New Revision: 2668167e2cf935528f7d93cb3b12a651a29e52f6
URL: https://github.com/llvm/llvm-project/commit/2668167e2cf935528f7d93cb3b12a651a29e52f6
DIFF: https://github.com/llvm/llvm-project/commit/2668167e2cf935528f7d93cb3b12a651a29e52f6.diff
LOG: [lldb] Disable some lldb-dap tests on Windows
Since https://github.com/llvm/llvm-project/pull/138981 / https://github.com/llvm/llvm-project/commit/aeeb9a3c09f40f42a1e8e5e3c8dbde3b260744bd
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
Added:
Modified:
lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
Removed:
################################################################################
diff --git a/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py b/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
index e8e9181f8da8d..acbe0366d1ecc 100644
--- a/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
+++ b/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
@@ -546,6 +546,7 @@ def test_terminate_commands(self):
)
self.verify_commands("terminateCommands", output, terminateCommands)
+ @skipIfWindows
def test_version(self):
"""
Tests that "initialize" response contains the "version" string the same
diff --git a/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py b/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
index 64cec70aa923b..3e015186d4b81 100644
--- a/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
+++ b/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
@@ -10,6 +10,7 @@
class TestDAP_sendEvent(lldbdap_testcase.DAPTestCaseBase):
+ @skipIfWindows
def test_send_event(self):
"""
Test sending a custom event.
@@ -42,6 +43,7 @@ def test_send_event(self):
self.assertEqual(custom_event["event"], "my-custom-event")
self.assertEqual(custom_event["body"], custom_event_body)
+ @skipIfWindows
def test_send_internal_event(self):
"""
Test sending an internal event produces an error.
diff --git a/lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py b/lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
index edf4adae14a3b..9c6f1d42feda2 100644
--- a/lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
+++ b/lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
@@ -201,6 +201,7 @@ def test_stackTrace(self):
0, len(stackFrames), "verify zero frames with startFrame out of bounds"
)
+ @skipIfWindows
def test_functionNameWithArgs(self):
"""
Test that the stack frame without a function name is given its pc in the response.
@@ -215,6 +216,7 @@ def test_functionNameWithArgs(self):
frame = self.get_stackFrames()[0]
self.assertEqual(frame["name"], "recurse(x=1)")
+ @skipIfWindows
def test_StackFrameFormat(self):
"""
Test the StackFrameFormat.
More information about the lldb-commits
mailing list