Skip to content

Commit f250326

Browse files
committed
[lldb][test] XFAIL/skip more tests when plugin.typesystem.clang.experimental-redecl-completion is enabled
1 parent a35aefd commit f250326

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class TestDbgInfoContentList(TestBase):
1313
@skipIf(compiler=no_match("clang"))
1414
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
1515
@skipIf(macos_version=["<", "14.0"])
16+
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1617
def test(self):
1718
self.build()
1819

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class TestDbgInfoContentVector(TestBase):
1313
@skipIf(compiler=no_match("clang"))
1414
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
1515
@skipIf(macos_version=["<", "14.0"])
16+
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1617
def test(self):
1718
self.build()
1819

lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ def test_printing_local_variable_in_other_struct_func(self):
176176
self.assert_decl_not_loaded(self.some_struct_decl)
177177
self.assert_decl_not_loaded(self.class_in_namespace_decl)
178178

179+
@expectedFailureAll(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
179180
@add_test_categories(["dwarf"])
180181
def test_printing_struct_with_multiple_locals(self):
181182
"""
@@ -196,6 +197,7 @@ def test_printing_struct_with_multiple_locals(self):
196197
self.assert_decl_not_completed(self.other_struct_decl)
197198
self.assert_decl_not_completed(self.class_in_namespace_decl)
198199

200+
@expectedFailureAll(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
199201
@add_test_categories(["dwarf"])
200202
def test_addr_of_struct(self):
201203
"""

lldb/test/API/functionalities/progress_reporting/swift_progress_reporting/TestSwiftProgressReporting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def setUp(self):
1515
self.listener = lldbutil.start_listening_from(self.broadcaster,
1616
lldb.SBDebugger.eBroadcastBitProgress)
1717

18+
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1819
# Don't run ClangImporter tests if Clangimporter is disabled.
1920
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
2021
@skipUnlessDarwin

lldb/test/API/lang/c/shared_lib/TestSharedLib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def test_expr(self):
3131
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
3232
self.common_test_expr(True)
3333

34+
@expectedFailureAll(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
3435
def test_expr_no_preload(self):
3536
"""Test that types work when defined in a shared library and forward-declared in the main executable, but with preloading disabled"""
3637
self.common_test_expr(False)

lldb/test/API/lang/swift/cxx_interop/forward/stl-types/TestSwiftForwardInteropSTLTypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
class TestSwiftForwardInteropSTLTypes(TestBase):
1010

11+
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1112
@skipIfLinux # rdar://106532498
1213
@skipIf(setting=('symbols.use-swift-clangimporter', 'false')) # rdar://106438227 (TestSTLTypes fails when clang importer is disabled)
1314
@swiftTest

0 commit comments

Comments
 (0)