Skip to content

Commit f5022bd

Browse files
committed
[lldb][test] import-std-module: skip vector tests
This unblocks llvm/llvm-project#158606. The tests are failing because libc++ is now using lambdas in function bodies in the vector header. Ever since llvm/llvm-project#149477 we bail out of importing types when we encounter lambdas. Until we fix ASTImport of `clang::LambdaExpr` nodes properly, this will need to be skipped.
1 parent 76efbc0 commit f5022bd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ class TestDbgInfoContentVector(TestBase):
1313
@skipIf(compiler=no_match("clang"))
1414
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
1515
@skipIf(macos_version=["<", "14.0"])
16-
@skipIfDarwin # https://github.com/llvm/llvm-project/issues/106475
16+
@skipIf(
17+
bugnumber="ASTImport of lambdas not supported: https://github.com/llvm/llvm-project/issues/149477"
18+
)
1719
def test(self):
1820
self.build()
1921

lldb/test/API/commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ class TestVectorOfVectors(TestBase):
1111
@add_test_categories(["libc++"])
1212
@skipIf(compiler=no_match("clang"))
1313
@skipIf(macos_version=["<", "15.0"])
14+
@skipIf(
15+
bugnumber="ASTImport of lambdas not supported: https://github.com/llvm/llvm-project/issues/149477"
16+
)
1417
def test(self):
1518
self.build()
1619

0 commit comments

Comments
 (0)