Skip to content

Commit c82b30c

Browse files
committed
[lldb][lldb-dap] Disable assembly breakpoint test on Windows
New test added by #139969. On Windows we need debug information to be able to break on the function (we don't need it for main, but I assume that's a special case). So disable the test on Windows. I tried a few tricks like making a global label in assembly, but that doesn't show up without debug info either.
1 parent f0ab64b commit c82b30c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/test/API/tools/lldb-dap/breakpoint-assembly/TestDAP_breakpointAssembly.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
import lldbdap_testcase
99

1010

11-
# @skipIfWindows
1211
class TestDAP_setBreakpointsAssembly(lldbdap_testcase.DAPTestCaseBase):
12+
# When using PDB, we need to have debug information to break on assembly_func,
13+
# but this test relies on us not having debug information for that function.
14+
@skipIfWindows
1315
def test_can_break_in_source_references(self):
1416
"""Tests hitting assembly source breakpoints"""
1517
program = self.getBuildArtifact("a.out")

0 commit comments

Comments
 (0)