Skip to content

Commit 7a66b28

Browse files
committed
[lldb][test] Disable DeclFromSubmodule test on Windows
Or more precisely, when linking with link.exe, but Windows is our closest proxy for that right now. This test requires the DWARF info to work, on the Windows on Arm buildbot it fails: ``` AssertionError: Ran command: "expr func(1, 2)" Got output: error: <user expression 0>:1:1: use of undeclared identifier 'func' 1 | func(1, 2) | ^~~~ Expecting start string: "error: <user expression 0>:1:1: 'func' has unknown return type" (was not found) ```
1 parent d27a210 commit 7a66b28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class DeclFromSubmoduleTestCase(TestBase):
12+
# Requires DWARF debug info which is not retained when linking with link.exe.
13+
@skipIfWindows
1214
def test_expr(self):
1315
self.build()
1416
lldbutil.run_to_source_breakpoint(self, "return 0", lldb.SBFileSpec("main.cpp"))

0 commit comments

Comments
 (0)