[Lldb-commits] [lldb] 7a66b28 - [lldb][test] Disable DeclFromSubmodule test on Windows

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri May 30 07:15:27 PDT 2025


Author: David Spickett
Date: 2025-05-30T14:15:19Z
New Revision: 7a66b28fcafdb7546aedeca1271e66438ad04127

URL: https://github.com/llvm/llvm-project/commit/7a66b28fcafdb7546aedeca1271e66438ad04127
DIFF: https://github.com/llvm/llvm-project/commit/7a66b28fcafdb7546aedeca1271e66438ad04127.diff

LOG: [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)
```

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py b/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py
index 2819e59b1a1e5..f200e51c7f794 100644
--- a/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py
+++ b/lldb/test/API/lang/cpp/decl-from-submodule/TestDeclFromSubmodule.py
@@ -9,6 +9,8 @@
 
 
 class DeclFromSubmoduleTestCase(TestBase):
+    # Requires DWARF debug info which is not retained when linking with link.exe.
+    @skipIfWindows
     def test_expr(self):
         self.build()
         lldbutil.run_to_source_breakpoint(self, "return 0", lldb.SBFileSpec("main.cpp"))


        


More information about the lldb-commits mailing list