Skip to content

Commit ab38ec9

Browse files
committed
[lldb][lldb-dap] Disable read memory test on Windows
This isn't strictly a Windows issue but for now it's the only bot that was hit by this failure. It can happen on Linux too but I expect we'll fix it and remove the skip soon anyway. Test was added in #104317.
1 parent a17a245 commit ab38ec9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/test/API/tools/lldb-dap/memory/TestDAP_memory.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ def test_memory_refs_set_variable(self):
7474
].keys(),
7575
)
7676

77+
# lldb-dap assumes that all reads will be within the same region. On Windows
78+
# the target string is at the very start of a region so the -1 offset causes
79+
# the read to only read from the previous region and only return 1 byte.
80+
@skipIfWindows
7781
def test_readMemory(self):
7882
"""
7983
Tests the 'readMemory' request

0 commit comments

Comments
 (0)