[Lldb-commits] [lldb] [lldb][tests] Fix TestStdCXXDisassembly test when running on the remote Linux targets. (PR #93649)
via lldb-commits
lldb-commits at lists.llvm.org
Tue May 28 21:47:36 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Vladimir Vereschaka (vvereschaka)
<details>
<summary>Changes</summary>
The test expects 'libstdc++' SO module in the module list. Force using StdC++ by specifying USE_LIBSTDCPP := 1 in the test's Makefile.
---
Full diff: https://github.com/llvm/llvm-project/pull/93649.diff
2 Files Affected:
- (modified) lldb/test/API/lang/cpp/stl/Makefile (+2)
- (modified) lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py (+1-1)
``````````diff
diff --git a/lldb/test/API/lang/cpp/stl/Makefile b/lldb/test/API/lang/cpp/stl/Makefile
index 99998b20bcb05..bf8e6b8703f36 100644
--- a/lldb/test/API/lang/cpp/stl/Makefile
+++ b/lldb/test/API/lang/cpp/stl/Makefile
@@ -1,3 +1,5 @@
CXX_SOURCES := main.cpp
+USE_LIBSTDCPP := 1
+
include Makefile.rules
diff --git a/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py b/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
index 1e1b0a4d621f0..cc46989f984b2 100644
--- a/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
+++ b/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
@@ -44,7 +44,7 @@ def test_stdcxx_disasm(self):
# module is the corresponding SBModule.
self.expect(
- lib_stdcxx, "Libraray StdC++ is located", exe=False, substrs=["lib"]
+ lib_stdcxx, "Library StdC++ is located", exe=False, substrs=["lib"]
)
self.runCmd("image dump symtab '%s'" % lib_stdcxx)
``````````
</details>
https://github.com/llvm/llvm-project/pull/93649
More information about the lldb-commits
mailing list