[Lldb-commits] [PATCH] D156827: [lldb][test] Skip *-dbg-info-content API tests
Michael Buch via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 1 14:15:06 PDT 2023
Michael137 created this revision.
Michael137 added reviewers: aprantl, iana, JDevlieghere.
Herald added a project: All.
Michael137 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
These tests started failing on the public build-bots recently
with following error:
AssertionError: 'error: Couldn't lookup symbols:
__ZNSt3__122__libcpp_verbose_abortEPKcz
' is not success
We've seen this previously when the SDKs we used to compile the
`std` module differ from the test program. (see D146714 <https://reviews.llvm.org/D146714>, rdar://107052293)
Skip these tests on older MacOS versions for now.
This is possibly related to the recent `std` module changes in D144322 <https://reviews.llvm.org/D144322>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156827
Files:
lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
Index: lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
===================================================================
--- lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
+++ lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
@@ -12,6 +12,7 @@
@add_test_categories(["libc++"])
@skipIf(compiler=no_match("clang"))
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
+ @skipIf(macos_version=["<", "14.0"])
def test(self):
self.build()
Index: lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
===================================================================
--- lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
+++ lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
@@ -12,6 +12,7 @@
@add_test_categories(["libc++"])
@skipIf(compiler=no_match("clang"))
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
+ @skipIf(macos_version=["<", "14.0"])
def test(self):
self.build()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156827.546221.patch
Type: text/x-patch
Size: 1350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230801/28f058f4/attachment.bin>
More information about the lldb-commits
mailing list