diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py index 8010d743b3a34..c6ee4de6b7a04 100644 --- a/lldb/packages/Python/lldbsuite/test/decorators.py +++ b/lldb/packages/Python/lldbsuite/test/decorators.py @@ -984,6 +984,26 @@ def is_not_swift_compatible(self): return skipTestIfFn(is_not_swift_compatible)(func) +def skipEmbeddedSwift(func): + def skip_fn(swift_embedded=None, **kwargs): + if swift_embedded == "swift_embedded": + return "not supported in embedded Swift" + return None + return _skipForVariant("swift_embedded", skip_fn, func) + +def skipEmbeddedSwiftOnLinux(func): + def skip_fn(swift_embedded=None, **kwargs): + if swift_embedded == "swift_embedded" and lldbplatformutil.getPlatform() == "linux": + return "not supported in embedded Swift on Linux" + return None + return _skipForVariant("swift_embedded", skip_fn, func) + +def skipUnlessEmbeddedSwift(func): + def skip_fn(swift_embedded=None, **kwargs): + if swift_embedded != "swift_embedded": + return "Only supported in embedded Swift" + return None + return _skipForVariant("swift_embedded", skip_fn, func) def skipIfHostIncompatibleWithTarget(func): """Decorate the item to skip tests when the host and target are incompatible.""" diff --git a/lldb/packages/Python/lldbsuite/test/lldbplaygroundrepl.py b/lldb/packages/Python/lldbsuite/test/lldbplaygroundrepl.py index f336530628681..e95db7be6bf74 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbplaygroundrepl.py +++ b/lldb/packages/Python/lldbsuite/test/lldbplaygroundrepl.py @@ -107,6 +107,7 @@ def did_crash(self, result): error = self.get_stream_data(result) print("Crash Error: {}".format(error)) + @skipEmbeddedSwift @swiftTest def test_playgrounds(self): # Build diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 460a04eb7444c..8d4864e707e7a 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -576,6 +576,8 @@ def setUpClass(cls): if not cls.mydir: raise Exception("Subclasses must override the 'mydir' attribute.") + cls.extra_make_flags = {} + # Save old working directory. cls.oldcwd = os.getcwd() @@ -1538,6 +1540,8 @@ def build( if command is None: raise Exception("Don't know how to build binary") + command += [f"{k}={v}" for k, v in self.extra_make_flags.items()] + self.runBuildCommand(command) def runBuildCommand(self, command): @@ -1943,6 +1947,14 @@ def _swift_module_importer_setup(test_instance, variant_value): elif variant_value == "clangimporter": test_instance.runCmd("settings set symbols.use-swift-clangimporter true") +def _embedded_swift_setup(test_instance, variant_value): + if variant_value == "swift_embedded": + test_instance.extra_make_flags["SWIFT_EMBEDDED_MODE"] = "1" + elif variant_value == "swift": + test_instance.extra_make_flags["SWIFT_EMBEDDED_MODE"] = "0" + else: + assert False, f"Unknown variant: {variant_value}" + _test_variants = [ TestVariant( @@ -1952,6 +1964,13 @@ def _swift_module_importer_setup(test_instance, variant_value): setup_fn=_swift_module_importer_setup, attrs_to_preserve=("debug_info",), ), + TestVariant( + name="swift_embedded", + values=test_categories.embedded_swift_categories, + predicate=lambda m: getattr(m, "__swift_test__", False), + setup_fn=_embedded_swift_setup, + attrs_to_preserve=("debug_info",), + ), ] diff --git a/lldb/packages/Python/lldbsuite/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py index d1a060ab426a7..7c557260ff4fc 100644 --- a/lldb/packages/Python/lldbsuite/test/test_categories.py +++ b/lldb/packages/Python/lldbsuite/test/test_categories.py @@ -25,6 +25,11 @@ "dwarfimporter": True, } +embedded_swift_categories = { + "swift": True, + "swift_embedded": True, +} + all_categories = { "basic_process": "Basic process execution sniff tests.", "cmdline": "Tests related to the LLDB command-line interface", @@ -56,6 +61,8 @@ "watchpoint": "Watchpoint-related tests", "clangimporter": "Tests run with the Swift ClangImporter", "dwarfimporter": "Tests run with the Swift DWARFImporter", + "swift_embedded": "Tests are compiled as embedded Swift", + "swift": "Tests are compiled as normal Swift", } diff --git a/lldb/test/API/commands/dwim-print/swift/TestSwiftDWIMPrint.py b/lldb/test/API/commands/dwim-print/swift/TestSwiftDWIMPrint.py index 1f489470dbaaf..38fa394c9f815 100644 --- a/lldb/test/API/commands/dwim-print/swift/TestSwiftDWIMPrint.py +++ b/lldb/test/API/commands/dwim-print/swift/TestSwiftDWIMPrint.py @@ -8,6 +8,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_po_address(self): @@ -21,6 +22,7 @@ def test_swift_po_address(self): self.expect(f"dwim-print -O -- 0x{hex_addr}", patterns=[f"Object@0x0*{hex_addr}"]) self.expect(f"dwim-print -O -- {addr}", patterns=[f"Object@0x0*{hex_addr}"]) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_po_non_address_hex(self): @@ -31,6 +33,7 @@ def test_swift_po_non_address_hex(self): ) self.expect(f"dwim-print -O -- 0x1000", substrs=["4096"]) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_print_swift_object_does_not_show_name(self): diff --git a/lldb/test/API/commands/frame/var/direct-ivar/swift/TestSwiftFrameVarDirectIvar.py b/lldb/test/API/commands/frame/var/direct-ivar/swift/TestSwiftFrameVarDirectIvar.py index e2288f6e044d3..ea66f84fb9ee1 100644 --- a/lldb/test/API/commands/frame/var/direct-ivar/swift/TestSwiftFrameVarDirectIvar.py +++ b/lldb/test/API/commands/frame/var/direct-ivar/swift/TestSwiftFrameVarDirectIvar.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test_objc_self(self): @@ -12,6 +13,7 @@ def test_objc_self(self): lldbutil.run_to_source_breakpoint(self, "check self", lldb.SBFileSpec("main.swift")) self.expect("frame variable _prop", startstr="(Int) _prop = 30") + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test_objc_self_capture_idiom(self): diff --git a/lldb/test/API/functionalities/asan/swift/TestSwiftAsan.py b/lldb/test/API/functionalities/asan/swift/TestSwiftAsan.py index 5240c31d01ef6..257e626797332 100644 --- a/lldb/test/API/functionalities/asan/swift/TestSwiftAsan.py +++ b/lldb/test/API/functionalities/asan/swift/TestSwiftAsan.py @@ -25,6 +25,7 @@ class AsanSwiftTestCase(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIfWindows @skipIfLinux diff --git a/lldb/test/API/functionalities/breakpoint/swift_exception/TestExpressionErrorBreakpoint.py b/lldb/test/API/functionalities/breakpoint/swift_exception/TestExpressionErrorBreakpoint.py index 7e3474f7cf7ec..a01216a552e90 100644 --- a/lldb/test/API/functionalities/breakpoint/swift_exception/TestExpressionErrorBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/swift_exception/TestExpressionErrorBreakpoint.py @@ -20,6 +20,7 @@ class TestSwiftErrorBreakpoint(TestBase): + @skipEmbeddedSwift @decorators.skipIfLinux # @swiftTest @expectedFailureWindows @@ -28,6 +29,7 @@ def test_swift_error_no_typename(self): self.build() self.do_tests(None) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_error_matching_base_typename(self): @@ -35,6 +37,7 @@ def test_swift_error_matching_base_typename(self): self.build() self.do_tests("EnumError") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_error_matching_full_typename(self): @@ -42,6 +45,7 @@ def test_swift_error_matching_full_typename(self): self.build() self.do_tests("a.EnumError") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_swift_error_bogus_typename(self): diff --git a/lldb/test/API/functionalities/breakpoint/swift_property_accessors/TestSwiftPropertyAccessorBreakpoints.py b/lldb/test/API/functionalities/breakpoint/swift_property_accessors/TestSwiftPropertyAccessorBreakpoints.py index 36bf24333e251..30778367d354f 100644 --- a/lldb/test/API/functionalities/breakpoint/swift_property_accessors/TestSwiftPropertyAccessorBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/swift_property_accessors/TestSwiftPropertyAccessorBreakpoints.py @@ -4,6 +4,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py b/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py index db86f48f8ec1f..c359726524687 100644 --- a/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py +++ b/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py @@ -10,12 +10,14 @@ class PrintObjectArrayTestCase(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin def test_print_array(self): """Test that expr -O -Z works""" self.build() self.printarray_data_formatter_commands() + @skipEmbeddedSwift @skipUnlessDarwin def test_print_array_no_const(self): """Test that expr -O -Z works""" diff --git a/lldb/test/API/functionalities/data-formatter/swift-unsafe/TestSwiftUnsafeTypeFormatters.py b/lldb/test/API/functionalities/data-formatter/swift-unsafe/TestSwiftUnsafeTypeFormatters.py index e66daf7af96e1..11944e5826549 100644 --- a/lldb/test/API/functionalities/data-formatter/swift-unsafe/TestSwiftUnsafeTypeFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift-unsafe/TestSwiftUnsafeTypeFormatters.py @@ -6,5 +6,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/functionalities/data-formatter/swift/bridged-string/TestSwiftBridgedStringFormatters.py b/lldb/test/API/functionalities/data-formatter/swift/bridged-string/TestSwiftBridgedStringFormatters.py index e80460afd060b..636b0430080e5 100644 --- a/lldb/test/API/functionalities/data-formatter/swift/bridged-string/TestSwiftBridgedStringFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift/bridged-string/TestSwiftBridgedStringFormatters.py @@ -6,6 +6,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test(self): diff --git a/lldb/test/API/functionalities/data-formatter/swift/date/TestSwiftDateFormatters.py b/lldb/test/API/functionalities/data-formatter/swift/date/TestSwiftDateFormatters.py index 3193fff86b936..0a0872203ad84 100644 --- a/lldb/test/API/functionalities/data-formatter/swift/date/TestSwiftDateFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift/date/TestSwiftDateFormatters.py @@ -11,6 +11,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessFoundation @swiftTest def test_swift_date_formatters(self): diff --git a/lldb/test/API/functionalities/data-formatter/swift/string-index/TestSwiftStringIndexFormatters.py b/lldb/test/API/functionalities/data-formatter/swift/string-index/TestSwiftStringIndexFormatters.py index 842330901b304..7d438acaa42f6 100644 --- a/lldb/test/API/functionalities/data-formatter/swift/string-index/TestSwiftStringIndexFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift/string-index/TestSwiftStringIndexFormatters.py @@ -11,6 +11,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessFoundation @swiftTest def test_swift_string_index_formatters(self): diff --git a/lldb/test/API/functionalities/data-formatter/swift/substring/TestSwiftSubstringFormatters.py b/lldb/test/API/functionalities/data-formatter/swift/substring/TestSwiftSubstringFormatters.py index 819769ef93213..45e29e8ca2e91 100644 --- a/lldb/test/API/functionalities/data-formatter/swift/substring/TestSwiftSubstringFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift/substring/TestSwiftSubstringFormatters.py @@ -9,6 +9,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_substring_formatters(self): diff --git a/lldb/test/API/functionalities/mtc/swift-property/TestSwiftMTCProperty.py b/lldb/test/API/functionalities/mtc/swift-property/TestSwiftMTCProperty.py index f15885aa7512c..3591d8514165e 100644 --- a/lldb/test/API/functionalities/mtc/swift-property/TestSwiftMTCProperty.py +++ b/lldb/test/API/functionalities/mtc/swift-property/TestSwiftMTCProperty.py @@ -13,6 +13,7 @@ class MTCSwiftPropertyTestCase(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/functionalities/mtc/swift/TestSwiftMTC.py b/lldb/test/API/functionalities/mtc/swift/TestSwiftMTC.py index 97db099d0a51f..14fba642452b4 100644 --- a/lldb/test/API/functionalities/mtc/swift/TestSwiftMTC.py +++ b/lldb/test/API/functionalities/mtc/swift/TestSwiftMTC.py @@ -13,6 +13,7 @@ class MTCSwiftTestCase(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/functionalities/progress_reporting/swift_progress_reporting/TestSwiftProgressReporting.py b/lldb/test/API/functionalities/progress_reporting/swift_progress_reporting/TestSwiftProgressReporting.py index ebc92aabf7073..a3288bb083e9f 100644 --- a/lldb/test/API/functionalities/progress_reporting/swift_progress_reporting/TestSwiftProgressReporting.py +++ b/lldb/test/API/functionalities/progress_reporting/swift_progress_reporting/TestSwiftProgressReporting.py @@ -15,6 +15,7 @@ def setUp(self): self.listener = lldbutil.start_listening_from(self.broadcaster, lldb.SBDebugger.eBroadcastBitProgress) + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/functionalities/swift-runtime-reporting/exclusivity-violation/TestExclusivityViolation.py b/lldb/test/API/functionalities/swift-runtime-reporting/exclusivity-violation/TestExclusivityViolation.py index dd21792ef7ebf..b4ec99f5a4ee9 100644 --- a/lldb/test/API/functionalities/swift-runtime-reporting/exclusivity-violation/TestExclusivityViolation.py +++ b/lldb/test/API/functionalities/swift-runtime-reporting/exclusivity-violation/TestExclusivityViolation.py @@ -25,6 +25,7 @@ class SwiftRuntimeReportingExclusivityViolationTestCase(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @decorators.swiftTest + @decorators.skipEmbeddedSwift @decorators.skipIfLinux @decorators.expectedFailureWindows def test_swift_runtime_reporting(self): diff --git a/lldb/test/API/functionalities/tsan/swift-access-race/TestSwiftTsanAccessRace.py b/lldb/test/API/functionalities/tsan/swift-access-race/TestSwiftTsanAccessRace.py index 0f9157e044f02..0cf398ed9ecf6 100644 --- a/lldb/test/API/functionalities/tsan/swift-access-race/TestSwiftTsanAccessRace.py +++ b/lldb/test/API/functionalities/tsan/swift-access-race/TestSwiftTsanAccessRace.py @@ -25,6 +25,7 @@ class TsanSwiftAccessRaceTestCase(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIfWindows @skipIfLinux diff --git a/lldb/test/API/functionalities/tsan/swift/TestSwiftTsan.py b/lldb/test/API/functionalities/tsan/swift/TestSwiftTsan.py index a16bd5cb87e04..83178a72f6956 100644 --- a/lldb/test/API/functionalities/tsan/swift/TestSwiftTsan.py +++ b/lldb/test/API/functionalities/tsan/swift/TestSwiftTsan.py @@ -24,6 +24,7 @@ class TsanSwiftTestCase(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIfWindows @skipIfLinux diff --git a/lldb/test/API/lang/swift/accelerate_simd/TestAccelerateSIMD.py b/lldb/test/API/lang/swift/accelerate_simd/TestAccelerateSIMD.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/accelerate_simd/TestAccelerateSIMD.py +++ b/lldb/test/API/lang/swift/accelerate_simd/TestAccelerateSIMD.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/address_of/TestSwiftAddressOf.py b/lldb/test/API/lang/swift/address_of/TestSwiftAddressOf.py index 630af65ef5258..762e6ce5d5bba 100644 --- a/lldb/test/API/lang/swift/address_of/TestSwiftAddressOf.py +++ b/lldb/test/API/lang/swift/address_of/TestSwiftAddressOf.py @@ -44,6 +44,7 @@ def check_variable(self, name, is_reference, contents = 0): self.assertSuccess(error) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/any/TestSwiftAnyType.py b/lldb/test/API/lang/swift/any/TestSwiftAnyType.py index c2a5e4af7a7cd..add877a56f9ac 100644 --- a/lldb/test/API/lang/swift/any/TestSwiftAnyType.py +++ b/lldb/test/API/lang/swift/any/TestSwiftAnyType.py @@ -23,6 +23,7 @@ class TestSwiftAnyType(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_any_type(self): diff --git a/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py b/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py +++ b/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/archetype_in_cond_breakpoint/TestArchetypeInConditionalBreakpoint.py b/lldb/test/API/lang/swift/archetype_in_cond_breakpoint/TestArchetypeInConditionalBreakpoint.py index d9169a4dfcbab..a65b2b91e38a9 100644 --- a/lldb/test/API/lang/swift/archetype_in_cond_breakpoint/TestArchetypeInConditionalBreakpoint.py +++ b/lldb/test/API/lang/swift/archetype_in_cond_breakpoint/TestArchetypeInConditionalBreakpoint.py @@ -6,18 +6,22 @@ @skipIfWindows class TestArchetypeInConditionalBreakpoint(TestBase): + @skipEmbeddedSwift @swiftTest def test_stops_free_function(self): self.stops("break here for free function") + @skipEmbeddedSwift @swiftTest def test_doesnt_stop_free_function(self): self.doesnt_stop("break here for free function") + @skipEmbeddedSwift @swiftTest def test_stops_class(self): self.stops("break here for class") + @skipEmbeddedSwift @swiftTest def test_doesnt_stop_class(self): self.doesnt_stop("break here for class") diff --git a/lldb/test/API/lang/swift/archetype_in_expression/TestArchetypeInExpression.py b/lldb/test/API/lang/swift/archetype_in_expression/TestArchetypeInExpression.py index 31d4eec2279eb..a77ba83433387 100644 --- a/lldb/test/API/lang/swift/archetype_in_expression/TestArchetypeInExpression.py +++ b/lldb/test/API/lang/swift/archetype_in_expression/TestArchetypeInExpression.py @@ -6,6 +6,7 @@ class TestArchetypeInExpression(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/archetype_resolution/TestSwiftArchetypeResolution.py b/lldb/test/API/lang/swift/archetype_resolution/TestSwiftArchetypeResolution.py index 86bb72616abd8..7153ffdd1c044 100644 --- a/lldb/test/API/lang/swift/archetype_resolution/TestSwiftArchetypeResolution.py +++ b/lldb/test/API/lang/swift/archetype_resolution/TestSwiftArchetypeResolution.py @@ -20,6 +20,7 @@ class TestSwiftArchetypeResolution(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_archetype_resolution(self): diff --git a/lldb/test/API/lang/swift/archetype_resolution_subclass/TestArchetypeResolutionSubclass.py b/lldb/test/API/lang/swift/archetype_resolution_subclass/TestArchetypeResolutionSubclass.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/archetype_resolution_subclass/TestArchetypeResolutionSubclass.py +++ b/lldb/test/API/lang/swift/archetype_resolution_subclass/TestArchetypeResolutionSubclass.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/array_bridged_enum/TestArrayBridgedEnum.py b/lldb/test/API/lang/swift/array_bridged_enum/TestArrayBridgedEnum.py index 393365d82dd1a..553b342ea706f 100644 --- a/lldb/test/API/lang/swift/array_bridged_enum/TestArrayBridgedEnum.py +++ b/lldb/test/API/lang/swift/array_bridged_enum/TestArrayBridgedEnum.py @@ -1,4 +1,5 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest, skipUnlessFoundation]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, skipUnlessFoundation]) diff --git a/lldb/test/API/lang/swift/array_element/TestSwiftArrayElement.py b/lldb/test/API/lang/swift/array_element/TestSwiftArrayElement.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/array_element/TestSwiftArrayElement.py +++ b/lldb/test/API/lang/swift/array_element/TestSwiftArrayElement.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py b/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py +++ b/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/array_tuple_resilient/TestSwiftArrayTupleResilient.py b/lldb/test/API/lang/swift/array_tuple_resilient/TestSwiftArrayTupleResilient.py index 8d795ffe249b7..2fc812fc1803d 100644 --- a/lldb/test/API/lang/swift/array_tuple_resilient/TestSwiftArrayTupleResilient.py +++ b/lldb/test/API/lang/swift/array_tuple_resilient/TestSwiftArrayTupleResilient.py @@ -1,5 +1,6 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest, skipUnlessDarwin, +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, skipUnlessDarwin, expectedFailureAll(archs=['arm64_32'], bugnumber="")]) diff --git a/lldb/test/API/lang/swift/array_uninitialized/TestSwiftArrayUninitialized.py b/lldb/test/API/lang/swift/array_uninitialized/TestSwiftArrayUninitialized.py index 7a40946161c0a..bc6a9c23e6fc5 100644 --- a/lldb/test/API/lang/swift/array_uninitialized/TestSwiftArrayUninitialized.py +++ b/lldb/test/API/lang/swift/array_uninitialized/TestSwiftArrayUninitialized.py @@ -5,6 +5,7 @@ class TestSwiftArrayUninitialized(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/artificial_subclass/TestSwiftArtificialSubclass.py b/lldb/test/API/lang/swift/artificial_subclass/TestSwiftArtificialSubclass.py index 5111b7612d8ea..32a034e413a37 100644 --- a/lldb/test/API/lang/swift/artificial_subclass/TestSwiftArtificialSubclass.py +++ b/lldb/test/API/lang/swift/artificial_subclass/TestSwiftArtificialSubclass.py @@ -5,6 +5,7 @@ class TestSwiftArtificialSubclass(TestBase): + @skipEmbeddedSwift @skipUnlessObjCInterop @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/associated_self_type/TestSwiftAssociatedSelfType.py b/lldb/test/API/lang/swift/associated_self_type/TestSwiftAssociatedSelfType.py index 693b442e2021c..51577feb1d56e 100644 --- a/lldb/test/API/lang/swift/associated_self_type/TestSwiftAssociatedSelfType.py +++ b/lldb/test/API/lang/swift/associated_self_type/TestSwiftAssociatedSelfType.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/associated_type_resolution/TestSwiftAssociatedTypeResolution.py b/lldb/test/API/lang/swift/associated_type_resolution/TestSwiftAssociatedTypeResolution.py index 834d29fcefd38..bb308cf4fd3c3 100644 --- a/lldb/test/API/lang/swift/associated_type_resolution/TestSwiftAssociatedTypeResolution.py +++ b/lldb/test/API/lang/swift/associated_type_resolution/TestSwiftAssociatedTypeResolution.py @@ -20,6 +20,7 @@ class TestSwiftArchetypeResolution(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_associated_type_resolution(self): diff --git a/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/TestSwiftActorUnprioritisedJobs.py b/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/TestSwiftActorUnprioritisedJobs.py index abc41cb79e396..602c2c262429d 100644 --- a/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/TestSwiftActorUnprioritisedJobs.py +++ b/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/TestSwiftActorUnprioritisedJobs.py @@ -6,6 +6,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_actor_unprioritised_jobs(self): diff --git a/lldb/test/API/lang/swift/async/async_fnargs/TestSwiftAsyncFnArgs.py b/lldb/test/API/lang/swift/async/async_fnargs/TestSwiftAsyncFnArgs.py index 0d71e0df26993..bb25f59702843 100644 --- a/lldb/test/API/lang/swift/async/async_fnargs/TestSwiftAsyncFnArgs.py +++ b/lldb/test/API/lang/swift/async/async_fnargs/TestSwiftAsyncFnArgs.py @@ -8,6 +8,7 @@ class TestSwiftAsyncFnArgs(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows', 'linux']) def test(self): diff --git a/lldb/test/API/lang/swift/async/continuations/TestSwiftContinuationSynthetic.py b/lldb/test/API/lang/swift/async/continuations/TestSwiftContinuationSynthetic.py index 7f0849c8f6271..2693c07a3f0c9 100644 --- a/lldb/test/API/lang/swift/async/continuations/TestSwiftContinuationSynthetic.py +++ b/lldb/test/API/lang/swift/async/continuations/TestSwiftContinuationSynthetic.py @@ -7,6 +7,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_unsafe_continuation_printing(self): @@ -34,6 +35,7 @@ def test_unsafe_continuation_printing(self): ], ) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_checked_continuation_printing(self): diff --git a/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py b/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py index 8cc699b3f0bfa..339914ac8bd9e 100644 --- a/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py +++ b/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py @@ -8,6 +8,7 @@ class TestSwiftAsyncExpressions(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIfWindows @skipIfLinux diff --git a/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py b/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py index 21d6462798693..67dfae3599ca5 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py +++ b/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py @@ -7,6 +7,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_top_level_task(self): @@ -34,6 +35,7 @@ def test_top_level_task(self): ], ) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIfLinux diff --git a/lldb/test/API/lang/swift/async/formatters/task/children/TestSwiftSyntheticTaskChildren.py b/lldb/test/API/lang/swift/async/formatters/task/children/TestSwiftSyntheticTaskChildren.py index 658d5e703bc90..e861828b29c6e 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/children/TestSwiftSyntheticTaskChildren.py +++ b/lldb/test/API/lang/swift/async/formatters/task/children/TestSwiftSyntheticTaskChildren.py @@ -7,6 +7,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/async/formatters/task/complete/TestSwiftTaskComplete.py b/lldb/test/API/lang/swift/async/formatters/task/complete/TestSwiftTaskComplete.py index 9cbd41ff8492f..1573db647a816 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/complete/TestSwiftTaskComplete.py +++ b/lldb/test/API/lang/swift/async/formatters/task/complete/TestSwiftTaskComplete.py @@ -7,6 +7,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/async/formatters/task/name/TestSwiftTaskName.py b/lldb/test/API/lang/swift/async/formatters/task/name/TestSwiftTaskName.py index d0191dcf8f69d..3c52cdbbc5db8 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/name/TestSwiftTaskName.py +++ b/lldb/test/API/lang/swift/async/formatters/task/name/TestSwiftTaskName.py @@ -7,6 +7,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_summary_contains_name(self): @@ -16,6 +17,7 @@ def test_summary_contains_name(self): ) self.expect("v task", patterns=[r'"Chore" id:[1-9]']) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIfLinux # rdar://151471067 diff --git a/lldb/test/API/lang/swift/async/formatters/task/parent/TestSwiftSyntheticTaskParent.py b/lldb/test/API/lang/swift/async/formatters/task/parent/TestSwiftSyntheticTaskParent.py index fafa8ffc5cf07..ac96498e88a0f 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/parent/TestSwiftSyntheticTaskParent.py +++ b/lldb/test/API/lang/swift/async/formatters/task/parent/TestSwiftSyntheticTaskParent.py @@ -9,6 +9,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/async/formatters/task/suspended/TestSwiftTaskSuspended.py b/lldb/test/API/lang/swift/async/formatters/task/suspended/TestSwiftTaskSuspended.py index 6ea97df85044b..5c40946cf7708 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/suspended/TestSwiftTaskSuspended.py +++ b/lldb/test/API/lang/swift/async/formatters/task/suspended/TestSwiftTaskSuspended.py @@ -7,6 +7,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/async/formatters/taskpriority/TestSwiftTaskPrioritySummary.py b/lldb/test/API/lang/swift/async/formatters/taskpriority/TestSwiftTaskPrioritySummary.py index 9a73663510f8b..93dfcd30446e6 100644 --- a/lldb/test/API/lang/swift/async/formatters/taskpriority/TestSwiftTaskPrioritySummary.py +++ b/lldb/test/API/lang/swift/async/formatters/taskpriority/TestSwiftTaskPrioritySummary.py @@ -6,6 +6,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/async/frame/variable/TestSwiftAsyncFrameVar.py b/lldb/test/API/lang/swift/async/frame/variable/TestSwiftAsyncFrameVar.py index 1b6d2295aac79..2d7cceedcbe0e 100644 --- a/lldb/test/API/lang/swift/async/frame/variable/TestSwiftAsyncFrameVar.py +++ b/lldb/test/API/lang/swift/async/frame/variable/TestSwiftAsyncFrameVar.py @@ -7,6 +7,7 @@ class TestCase(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows', 'linux']) def test(self): diff --git a/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/TestSwiftAsyncFrameVarMultipleFrames.py b/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/TestSwiftAsyncFrameVarMultipleFrames.py index 8e2578ee8a10b..30a82bd8309b1 100644 --- a/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/TestSwiftAsyncFrameVarMultipleFrames.py +++ b/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/TestSwiftAsyncFrameVarMultipleFrames.py @@ -67,6 +67,7 @@ def check_variables(self, async_frames, expected_values): myvar = frame.FindVariable("myvar") lldbutil.check_variable(self, myvar, False, value=expected_value) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test(self): diff --git a/lldb/test/API/lang/swift/async/queues/TestSwiftPluginQueues.py b/lldb/test/API/lang/swift/async/queues/TestSwiftPluginQueues.py index 0de8918446fb0..1d07bffcbcf38 100644 --- a/lldb/test/API/lang/swift/async/queues/TestSwiftPluginQueues.py +++ b/lldb/test/API/lang/swift/async/queues/TestSwiftPluginQueues.py @@ -6,6 +6,7 @@ class TestCase(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test(self): diff --git a/lldb/test/API/lang/swift/async/stepping/step-in/TestSwiftStepInAsync.py b/lldb/test/API/lang/swift/async/stepping/step-in/TestSwiftStepInAsync.py index 5457470fb5251..4062a46b317b0 100644 --- a/lldb/test/API/lang/swift/async/stepping/step-in/TestSwiftStepInAsync.py +++ b/lldb/test/API/lang/swift/async/stepping/step-in/TestSwiftStepInAsync.py @@ -8,6 +8,7 @@ class TestCase(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows', 'linux']) def test(self): diff --git a/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/TestSwiftTaskSwitch.py b/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/TestSwiftTaskSwitch.py index bdd0389f3d172..01a6b78ae012b 100644 --- a/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/TestSwiftTaskSwitch.py +++ b/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/TestSwiftTaskSwitch.py @@ -5,6 +5,7 @@ class TestCase(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) @skipIf(macos_version=["<", "26.0"], asan=True) # rdar://138777205 diff --git a/lldb/test/API/lang/swift/async/stepping/step_out/TestSteppingOutAsync.py b/lldb/test/API/lang/swift/async/stepping/step_out/TestSteppingOutAsync.py index fab30b2c1959f..94db4616d31bd 100644 --- a/lldb/test/API/lang/swift/async/stepping/step_out/TestSteppingOutAsync.py +++ b/lldb/test/API/lang/swift/async/stepping/step_out/TestSteppingOutAsync.py @@ -28,6 +28,7 @@ def step_out_checks(self, thread, expected_func_names): self.assertStopReason(stop_reason, lldb.eStopReasonPlanComplete) self.assertEqual(thread.frames[0].GetFunctionName(), expected_func_name) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test(self): diff --git a/lldb/test/API/lang/swift/async/stepping/step_over/TestSwiftAsyncStepOver.py b/lldb/test/API/lang/swift/async/stepping/step_over/TestSwiftAsyncStepOver.py index 5d0ebcbdcc6de..533f18bdebb01 100644 --- a/lldb/test/API/lang/swift/async/stepping/step_over/TestSwiftAsyncStepOver.py +++ b/lldb/test/API/lang/swift/async/stepping/step_over/TestSwiftAsyncStepOver.py @@ -17,6 +17,7 @@ def check_is_in_line(self, thread, linenum): line_entry = frame.GetLineEntry() self.assertEqual(linenum, line_entry.GetLine()) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test(self): @@ -39,6 +40,7 @@ def test(self): self.check_is_in_line(thread, expected_line_num) self.check_x_is_available(thread.frames[0]) + @skipEmbeddedSwift @skipIfOutOfTreeDebugserver @swiftTest @skipIf(oslist=["windows", "linux"]) diff --git a/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py b/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py index 958f22906c542..4f04323b718b1 100644 --- a/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py +++ b/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py @@ -12,6 +12,7 @@ def check_is_in_line(self, thread, linenum): line_entry = frame.GetLineEntry() self.assertEqual(linenum, line_entry.GetLine()) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test_nothrow(self): @@ -31,6 +32,7 @@ def test_nothrow(self): self.assertStopReason(stop_reason, lldb.eStopReasonPlanComplete) self.check_is_in_line(thread, expected_line_num) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test_throw(self): diff --git a/lldb/test/API/lang/swift/async/taskgroups/TestSwiftTaskGroupSynthetic.py b/lldb/test/API/lang/swift/async/taskgroups/TestSwiftTaskGroupSynthetic.py index 15bdde4c0d0e6..0652da98d73a5 100644 --- a/lldb/test/API/lang/swift/async/taskgroups/TestSwiftTaskGroupSynthetic.py +++ b/lldb/test/API/lang/swift/async/taskgroups/TestSwiftTaskGroupSynthetic.py @@ -7,6 +7,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_print_task_group(self): @@ -17,6 +18,7 @@ def test_print_task_group(self): ) self.do_test_print() + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_print_throwing_task_group(self): @@ -61,6 +63,7 @@ def do_test_print(self): ], ) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_api_task_group(self): @@ -71,6 +74,7 @@ def test_api_task_group(self): ) self.do_test_api(process) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_api_throwing_task_group(self): diff --git a/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskBacktrace.py b/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskBacktrace.py index cf80647c3f714..a8ab9a0e5e1c7 100644 --- a/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskBacktrace.py +++ b/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskBacktrace.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest def test_backtrace_task_variable(self): self.build() @@ -13,6 +14,7 @@ def test_backtrace_task_variable(self): ) self.do_backtrace("task") + @skipEmbeddedSwift @swiftTest def test_backtrace_task_address(self): self.build() diff --git a/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskSelect.py b/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskSelect.py index 9ad383244d3a8..5fffa991aee91 100644 --- a/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskSelect.py +++ b/lldb/test/API/lang/swift/async/tasks/TestSwiftTaskSelect.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest def test_backtrace_selected_task_variable(self): self.build() @@ -13,6 +14,7 @@ def test_backtrace_selected_task_variable(self): ) self.do_backtrace_selected_task("task") + @skipEmbeddedSwift @swiftTest def test_backtrace_selected_task_address(self): self.build() @@ -36,6 +38,7 @@ def do_backtrace_selected_task(self, arg): ], ) + @skipEmbeddedSwift @swiftTest def test_navigate_stack_of_selected_task_variable(self): self.build() @@ -44,6 +47,7 @@ def test_navigate_stack_of_selected_task_variable(self): ) self.do_test_navigate_selected_task_stack(process, "task") + @skipEmbeddedSwift @swiftTest def test_navigate_stack_of_selected_task_address(self): self.build() diff --git a/lldb/test/API/lang/swift/async/tasks/info/TestSwiftTaskInfo.py b/lldb/test/API/lang/swift/async/tasks/info/TestSwiftTaskInfo.py index ced1c4f4eb792..34a0cce056c1d 100644 --- a/lldb/test/API/lang/swift/async/tasks/info/TestSwiftTaskInfo.py +++ b/lldb/test/API/lang/swift/async/tasks/info/TestSwiftTaskInfo.py @@ -13,6 +13,7 @@ def _tail(output): class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_compare_printed_task_variable_to_task_info(self): @@ -27,6 +28,7 @@ def test_compare_printed_task_variable_to_task_info(self): task_info_output = self.res.GetOutput() self.assertEqual(_tail(task_info_output), _tail(frame_variable_output)) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_compare_printed_task_variable_to_task_info_with_address(self): diff --git a/lldb/test/API/lang/swift/async/tasks/list/TestSwiftTaskList.py b/lldb/test/API/lang/swift/async/tasks/list/TestSwiftTaskList.py index 2f9cad15ca470..47aca29a3e74d 100644 --- a/lldb/test/API/lang/swift/async/tasks/list/TestSwiftTaskList.py +++ b/lldb/test/API/lang/swift/async/tasks/list/TestSwiftTaskList.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessPlatform(["macosx"]) @swiftTest def test_task_list(self): diff --git a/lldb/test/API/lang/swift/async/tasks/tree/TestSwiftTaskTree.py b/lldb/test/API/lang/swift/async/tasks/tree/TestSwiftTaskTree.py index 2758e65efa437..8fb0be86b93d6 100644 --- a/lldb/test/API/lang/swift/async/tasks/tree/TestSwiftTaskTree.py +++ b/lldb/test/API/lang/swift/async/tasks/tree/TestSwiftTaskTree.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessPlatform(["macosx"]) @swiftTest def test_task_tree(self): diff --git a/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/TestDisableLanguageUnwinder.py b/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/TestDisableLanguageUnwinder.py index f640b4245f084..d69990f8d993e 100644 --- a/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/TestDisableLanguageUnwinder.py +++ b/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/TestDisableLanguageUnwinder.py @@ -5,6 +5,7 @@ class TestDisableLanguageUnwinder(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows', 'linux']) def test(self): diff --git a/lldb/test/API/lang/swift/async/unwind/hidden_frames/TestSwiftAsyncHiddenFrames.py b/lldb/test/API/lang/swift/async/unwind/hidden_frames/TestSwiftAsyncHiddenFrames.py index 8cbe7e7eeb6e8..8ab3c240e92b0 100644 --- a/lldb/test/API/lang/swift/async/unwind/hidden_frames/TestSwiftAsyncHiddenFrames.py +++ b/lldb/test/API/lang/swift/async/unwind/hidden_frames/TestSwiftAsyncHiddenFrames.py @@ -8,6 +8,7 @@ class TestSwiftAsyncHiddenFrames(lldbtest.TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows', 'linux']) def test(self): diff --git a/lldb/test/API/lang/swift/async/unwind/sayhello/TestSwiftAsyncUnwind.py b/lldb/test/API/lang/swift/async/unwind/sayhello/TestSwiftAsyncUnwind.py index da7e504b53bd5..5511849ad265f 100644 --- a/lldb/test/API/lang/swift/async/unwind/sayhello/TestSwiftAsyncUnwind.py +++ b/lldb/test/API/lang/swift/async/unwind/sayhello/TestSwiftAsyncUnwind.py @@ -12,6 +12,7 @@ class TestSwiftAsyncUnwind(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows', 'linux']) def test(self): diff --git a/lldb/test/API/lang/swift/async/unwind/short_unwind/TestSwiftShortAsyncUnwind.py b/lldb/test/API/lang/swift/async/unwind/short_unwind/TestSwiftShortAsyncUnwind.py index 0a9099ce36b51..a037c73b73d14 100644 --- a/lldb/test/API/lang/swift/async/unwind/short_unwind/TestSwiftShortAsyncUnwind.py +++ b/lldb/test/API/lang/swift/async/unwind/short_unwind/TestSwiftShortAsyncUnwind.py @@ -8,6 +8,7 @@ class TestSwiftAsyncUnwind(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test(self): diff --git a/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/TestSwiftAsyncUnwindAllInstructions.py b/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/TestSwiftAsyncUnwindAllInstructions.py index e46a8e49307ca..76316bccf98a4 100644 --- a/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/TestSwiftAsyncUnwindAllInstructions.py +++ b/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/TestSwiftAsyncUnwindAllInstructions.py @@ -154,6 +154,7 @@ def check_unwind_ok(self, thread, bpid): for expected_name, actual_name in zip(expected_funcnames, actual_funcnames): self.assertIn(expected_name, actual_name, f"Unexpected backtrace: {frames}") + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test(self): diff --git a/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/TestSwiftAsyncUnwindRecursiveQFunclets.py b/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/TestSwiftAsyncUnwindRecursiveQFunclets.py index 4a7d0273e1581..80d980f4879e4 100644 --- a/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/TestSwiftAsyncUnwindRecursiveQFunclets.py +++ b/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/TestSwiftAsyncUnwindRecursiveQFunclets.py @@ -10,6 +10,7 @@ class TestCase(lldbtest.TestBase): unwind_fail_range_cache = dict() + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) @skipIf(archs=["arm64e"]) diff --git a/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/TestSwiftAsyncUnwindRegisterPressure.py b/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/TestSwiftAsyncUnwindRegisterPressure.py index a23cb304ba820..d7b9e90030f85 100644 --- a/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/TestSwiftAsyncUnwindRegisterPressure.py +++ b/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/TestSwiftAsyncUnwindRegisterPressure.py @@ -51,6 +51,7 @@ def check_unwind_ok(self, thread): for expected_name, actual_name in zip(expected_funcnames, actual_funcnames): self.assertIn(expected_name, actual_name, f"Unexpected backtrace: {frames}") + @skipEmbeddedSwift @swiftTest @skipIf(oslist=["windows", "linux"]) def test(self): diff --git a/lldb/test/API/lang/swift/async/variables/TestSwiftAsyncVariables.py b/lldb/test/API/lang/swift/async/variables/TestSwiftAsyncVariables.py index 9160bd8e9f81a..e942a07f40eb1 100644 --- a/lldb/test/API/lang/swift/async/variables/TestSwiftAsyncVariables.py +++ b/lldb/test/API/lang/swift/async/variables/TestSwiftAsyncVariables.py @@ -8,6 +8,7 @@ class TestSwiftAsyncVariables(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows', 'linux']) def test(self): diff --git a/lldb/test/API/lang/swift/async_breakpoints/TestSwiftAsyncBreakpoints.py b/lldb/test/API/lang/swift/async_breakpoints/TestSwiftAsyncBreakpoints.py index ea23bd96e29f8..477f84c53416b 100644 --- a/lldb/test/API/lang/swift/async_breakpoints/TestSwiftAsyncBreakpoints.py +++ b/lldb/test/API/lang/swift/async_breakpoints/TestSwiftAsyncBreakpoints.py @@ -5,6 +5,7 @@ class TestSwiftAsyncBreakpoints(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @skipIfWindows @skipIfLinux diff --git a/lldb/test/API/lang/swift/async_breakpoints_over_many_funclets/TestSwiftAsyncBreakpointsOverManyFunclets.py b/lldb/test/API/lang/swift/async_breakpoints_over_many_funclets/TestSwiftAsyncBreakpointsOverManyFunclets.py index 7b16e21b13c14..7ac2e15287cce 100644 --- a/lldb/test/API/lang/swift/async_breakpoints_over_many_funclets/TestSwiftAsyncBreakpointsOverManyFunclets.py +++ b/lldb/test/API/lang/swift/async_breakpoints_over_many_funclets/TestSwiftAsyncBreakpointsOverManyFunclets.py @@ -5,6 +5,7 @@ class TestSwiftAsyncBreakpoints(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIfLinux diff --git a/lldb/test/API/lang/swift/availability/TestSwiftAvailability.py b/lldb/test/API/lang/swift/availability/TestSwiftAvailability.py index 43baa31334ccb..526eda1f1a1dd 100644 --- a/lldb/test/API/lang/swift/availability/TestSwiftAvailability.py +++ b/lldb/test/API/lang/swift/availability/TestSwiftAvailability.py @@ -34,6 +34,7 @@ def setUp(self): # Call super's setUp(). TestBase.setUp(self) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['linux', 'windows']) def testAvailability(self): diff --git a/lldb/test/API/lang/swift/big_multi_payload_enum/TestSwiftBigMultiPayloadEnum.py b/lldb/test/API/lang/swift/big_multi_payload_enum/TestSwiftBigMultiPayloadEnum.py index a3c8940362428..4e664ff20cb32 100644 --- a/lldb/test/API/lang/swift/big_multi_payload_enum/TestSwiftBigMultiPayloadEnum.py +++ b/lldb/test/API/lang/swift/big_multi_payload_enum/TestSwiftBigMultiPayloadEnum.py @@ -6,6 +6,7 @@ class TestSwiftBigMultiPayloadEnum(TestBase): @swiftTest + @skipEmbeddedSwiftOnLinux # Linker failure with arc4random_buf @expectedFailureWindows def test(self): self.build() diff --git a/lldb/test/API/lang/swift/bridged_metatype/TestSwiftBridgedMetatype.py b/lldb/test/API/lang/swift/bridged_metatype/TestSwiftBridgedMetatype.py index 4f211e348c3d6..f88b1c8206ddd 100644 --- a/lldb/test/API/lang/swift/bridged_metatype/TestSwiftBridgedMetatype.py +++ b/lldb/test/API/lang/swift/bridged_metatype/TestSwiftBridgedMetatype.py @@ -9,6 +9,7 @@ class TestSwiftBridgedMetatype(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test_swift_bridged_metatype(self): diff --git a/lldb/test/API/lang/swift/bridged_url/TestSwiftBridgedURL.py b/lldb/test/API/lang/swift/bridged_url/TestSwiftBridgedURL.py index 4248d9b1ef03d..b47403ccfe5d8 100644 --- a/lldb/test/API/lang/swift/bridged_url/TestSwiftBridgedURL.py +++ b/lldb/test/API/lang/swift/bridged_url/TestSwiftBridgedURL.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test(self): diff --git a/lldb/test/API/lang/swift/bt_printing/TestSwiftBacktracePrinting.py b/lldb/test/API/lang/swift/bt_printing/TestSwiftBacktracePrinting.py index 6e6ce50c420b5..8a58b30ac19c5 100644 --- a/lldb/test/API/lang/swift/bt_printing/TestSwiftBacktracePrinting.py +++ b/lldb/test/API/lang/swift/bt_printing/TestSwiftBacktracePrinting.py @@ -19,6 +19,7 @@ class TestSwiftBacktracePrinting(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_backtrace_printing(self): diff --git a/lldb/test/API/lang/swift/c_type_ivar/TestSwiftCTypeIvar.py b/lldb/test/API/lang/swift/c_type_ivar/TestSwiftCTypeIvar.py index 80a60dd00bf1c..5523dc91eb247 100644 --- a/lldb/test/API/lang/swift/c_type_ivar/TestSwiftCTypeIvar.py +++ b/lldb/test/API/lang/swift/c_type_ivar/TestSwiftCTypeIvar.py @@ -5,6 +5,7 @@ class TestSwiftCTypeIvar(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIf(setting=("symbols.use-swift-clangimporter", "false")) diff --git a/lldb/test/API/lang/swift/cf/uuid/TestCFUUID.py b/lldb/test/API/lang/swift/cf/uuid/TestCFUUID.py index ebead0e019fc0..169c4bcc70f2a 100644 --- a/lldb/test/API/lang/swift/cf/uuid/TestCFUUID.py +++ b/lldb/test/API/lang/swift/cf/uuid/TestCFUUID.py @@ -9,6 +9,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/Werror/TestSwiftStripWerror.py b/lldb/test/API/lang/swift/clangimporter/Werror/TestSwiftStripWerror.py index e97299dadf5f1..fa27723c05681 100644 --- a/lldb/test/API/lang/swift/clangimporter/Werror/TestSwiftStripWerror.py +++ b/lldb/test/API/lang/swift/clangimporter/Werror/TestSwiftStripWerror.py @@ -7,6 +7,7 @@ class TestSwiftWerror(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/bridging_header_headermap/TestSwiftBridgingHeaderHeadermap.py b/lldb/test/API/lang/swift/clangimporter/bridging_header_headermap/TestSwiftBridgingHeaderHeadermap.py index d4658247dbec4..c3129050239a5 100644 --- a/lldb/test/API/lang/swift/clangimporter/bridging_header_headermap/TestSwiftBridgingHeaderHeadermap.py +++ b/lldb/test/API/lang/swift/clangimporter/bridging_header_headermap/TestSwiftBridgingHeaderHeadermap.py @@ -21,6 +21,7 @@ class TestSwiftBridgingHeaderHeadermap(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/caching/TestSwiftClangImporterCaching.py b/lldb/test/API/lang/swift/clangimporter/caching/TestSwiftClangImporterCaching.py index afc09abc3acb2..9d78e5b002811 100644 --- a/lldb/test/API/lang/swift/clangimporter/caching/TestSwiftClangImporterCaching.py +++ b/lldb/test/API/lang/swift/clangimporter/caching/TestSwiftClangImporterCaching.py @@ -5,6 +5,7 @@ class TestSwiftClangImporterCaching(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(swift_module_importer="dwarfimporter") @skipIf(setting=("symbols.swift-precise-compiler-invocation", "false")) diff --git a/lldb/test/API/lang/swift/clangimporter/class_nsbaseclass/TestSwiftNSClassBaseClass.py b/lldb/test/API/lang/swift/clangimporter/class_nsbaseclass/TestSwiftNSClassBaseClass.py index 173805dce41cf..1cda2b8cd46c4 100644 --- a/lldb/test/API/lang/swift/clangimporter/class_nsbaseclass/TestSwiftNSClassBaseClass.py +++ b/lldb/test/API/lang/swift/clangimporter/class_nsbaseclass/TestSwiftNSClassBaseClass.py @@ -6,6 +6,7 @@ class TestSwiftNSClassBaseClass(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/config_macros/TestSwiftDedupMacros.py b/lldb/test/API/lang/swift/clangimporter/config_macros/TestSwiftDedupMacros.py index 34fa3368c8ca6..3f9b9a70d1448 100644 --- a/lldb/test/API/lang/swift/clangimporter/config_macros/TestSwiftDedupMacros.py +++ b/lldb/test/API/lang/swift/clangimporter/config_macros/TestSwiftDedupMacros.py @@ -17,6 +17,7 @@ import os class TestSwiftDedupMacros(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) # NOTE: rdar://44201206 - This test may sporadically segfault. It's likely diff --git a/lldb/test/API/lang/swift/clangimporter/custom_alignment/TestSwiftClangImporterCustomAlignment.py b/lldb/test/API/lang/swift/clangimporter/custom_alignment/TestSwiftClangImporterCustomAlignment.py index cffbcb21c1a02..b012499d78541 100644 --- a/lldb/test/API/lang/swift/clangimporter/custom_alignment/TestSwiftClangImporterCustomAlignment.py +++ b/lldb/test/API/lang/swift/clangimporter/custom_alignment/TestSwiftClangImporterCustomAlignment.py @@ -20,6 +20,7 @@ class TestSwiftClangImporterCustomAlignment(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) diff --git a/lldb/test/API/lang/swift/clangimporter/dynamic_type_resolution_import_conflict/TestSwiftDynamicTypeResolutionImportConflict.py b/lldb/test/API/lang/swift/clangimporter/dynamic_type_resolution_import_conflict/TestSwiftDynamicTypeResolutionImportConflict.py index d056d0809764f..41b06d3543b7b 100644 --- a/lldb/test/API/lang/swift/clangimporter/dynamic_type_resolution_import_conflict/TestSwiftDynamicTypeResolutionImportConflict.py +++ b/lldb/test/API/lang/swift/clangimporter/dynamic_type_resolution_import_conflict/TestSwiftDynamicTypeResolutionImportConflict.py @@ -18,6 +18,7 @@ import shutil class TestSwiftDynamicTypeResolutionImportConflict(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/explict_noimplicit/TestSwiftClangImporterExplicitNoImplicit.py b/lldb/test/API/lang/swift/clangimporter/explict_noimplicit/TestSwiftClangImporterExplicitNoImplicit.py index 697a536750727..6691fd83b404f 100644 --- a/lldb/test/API/lang/swift/clangimporter/explict_noimplicit/TestSwiftClangImporterExplicitNoImplicit.py +++ b/lldb/test/API/lang/swift/clangimporter/explict_noimplicit/TestSwiftClangImporterExplicitNoImplicit.py @@ -7,6 +7,7 @@ class TestSwiftClangImporterExplicitNoImplicit(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/extra_inhabitants/TestSwiftClangImporterExtraInhabitants.py b/lldb/test/API/lang/swift/clangimporter/extra_inhabitants/TestSwiftClangImporterExtraInhabitants.py index 9924eebc288c6..c7cc365d0f853 100644 --- a/lldb/test/API/lang/swift/clangimporter/extra_inhabitants/TestSwiftClangImporterExtraInhabitants.py +++ b/lldb/test/API/lang/swift/clangimporter/extra_inhabitants/TestSwiftClangImporterExtraInhabitants.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftClangImporterExtraInhabitants(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin # Don't run ClangImporter tests if Clangimporter is disabled. diff --git a/lldb/test/API/lang/swift/clangimporter/fmodule_flags/TestSwiftFModuleFlags.py b/lldb/test/API/lang/swift/clangimporter/fmodule_flags/TestSwiftFModuleFlags.py index 5a5b523519649..b9a6acca57f3d 100644 --- a/lldb/test/API/lang/swift/clangimporter/fmodule_flags/TestSwiftFModuleFlags.py +++ b/lldb/test/API/lang/swift/clangimporter/fmodule_flags/TestSwiftFModuleFlags.py @@ -8,6 +8,7 @@ class TestSwiftFModuleFlags(TestBase): @skipIf(macos_version=["<", "14.0"]) @skipIfDarwinEmbedded @swiftTest + @skipEmbeddedSwiftOnLinux # Failed to load SwiftCore.so @skipIfWindows def test(self): """Test that -fmodule flags get stripped out""" diff --git a/lldb/test/API/lang/swift/clangimporter/hard_macro_conflict/TestSwiftHardMacroConflict.py b/lldb/test/API/lang/swift/clangimporter/hard_macro_conflict/TestSwiftHardMacroConflict.py index 8a205cd8b0bf2..d0a69c932d10c 100644 --- a/lldb/test/API/lang/swift/clangimporter/hard_macro_conflict/TestSwiftHardMacroConflict.py +++ b/lldb/test/API/lang/swift/clangimporter/hard_macro_conflict/TestSwiftHardMacroConflict.py @@ -9,6 +9,7 @@ class TestSwiftHardMacroConflict(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/headermap_conflict/TestSwiftHeadermapConflict.py b/lldb/test/API/lang/swift/clangimporter/headermap_conflict/TestSwiftHeadermapConflict.py index f10df1c342545..2a9d86591599f 100644 --- a/lldb/test/API/lang/swift/clangimporter/headermap_conflict/TestSwiftHeadermapConflict.py +++ b/lldb/test/API/lang/swift/clangimporter/headermap_conflict/TestSwiftHeadermapConflict.py @@ -22,6 +22,7 @@ class TestSwiftHeadermapConflict(TestBase): bugnumber="rdar://60396797", setting=("symbols.use-swift-clangimporter", "false"), ) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/include_conflict/TestSwiftIncludeConflict.py b/lldb/test/API/lang/swift/clangimporter/include_conflict/TestSwiftIncludeConflict.py index 7f2cf7425ffe2..1643f9f550c25 100644 --- a/lldb/test/API/lang/swift/clangimporter/include_conflict/TestSwiftIncludeConflict.py +++ b/lldb/test/API/lang/swift/clangimporter/include_conflict/TestSwiftIncludeConflict.py @@ -18,6 +18,7 @@ import shutil class TestSwiftIncludeConflict(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/missing_pch/TestSwiftMissingPCH.py b/lldb/test/API/lang/swift/clangimporter/missing_pch/TestSwiftMissingPCH.py index 7a7adc9052990..8098885156c74 100644 --- a/lldb/test/API/lang/swift/clangimporter/missing_pch/TestSwiftMissingPCH.py +++ b/lldb/test/API/lang/swift/clangimporter/missing_pch/TestSwiftMissingPCH.py @@ -11,6 +11,7 @@ class TestSwiftMissingVFSOverlay(TestBase): def setUp(self): TestBase.setUp(self) + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=("symbols.use-swift-clangimporter", "false")) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/nserror/TestNSError.py b/lldb/test/API/lang/swift/clangimporter/nserror/TestNSError.py index 1064374fcc454..56ac7585e069e 100644 --- a/lldb/test/API/lang/swift/clangimporter/nserror/TestNSError.py +++ b/lldb/test/API/lang/swift/clangimporter/nserror/TestNSError.py @@ -19,6 +19,7 @@ class SwiftNSErrorTest(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_swift_nserror(self): diff --git a/lldb/test/API/lang/swift/clangimporter/nsinteger_nsenum/TestSwiftNSIntegerNSEnum.py b/lldb/test/API/lang/swift/clangimporter/nsinteger_nsenum/TestSwiftNSIntegerNSEnum.py index dda89d344be59..ada3eb86ee49a 100644 --- a/lldb/test/API/lang/swift/clangimporter/nsinteger_nsenum/TestSwiftNSIntegerNSEnum.py +++ b/lldb/test/API/lang/swift/clangimporter/nsinteger_nsenum/TestSwiftNSIntegerNSEnum.py @@ -21,12 +21,14 @@ def check(var, output): check(frame.FindVariable('e1'), 'eCase1') check(frame.FindVariable('e2'), 'eCase2') + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_reflection(self): self.expect("setting set symbols.swift-enable-ast-context false") self.do_test(use_summary=True) + @skipEmbeddedSwift # Don't run a clangimporter test without ClangImporter. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/objc-interop/TestSwiftObjCInterop.py b/lldb/test/API/lang/swift/clangimporter/objc-interop/TestSwiftObjCInterop.py index 10c6098efd475..719031df44e65 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc-interop/TestSwiftObjCInterop.py +++ b/lldb/test/API/lang/swift/clangimporter/objc-interop/TestSwiftObjCInterop.py @@ -12,4 +12,5 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipUnlessObjCInterop]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest,skipUnlessObjCInterop]) diff --git a/lldb/test/API/lang/swift/clangimporter/objc/dynamic-swift-type/TestSwiftObjCDynamicType.py b/lldb/test/API/lang/swift/clangimporter/objc/dynamic-swift-type/TestSwiftObjCDynamicType.py index 743643c1b5fac..caa1601d62307 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc/dynamic-swift-type/TestSwiftObjCDynamicType.py +++ b/lldb/test/API/lang/swift/clangimporter/objc/dynamic-swift-type/TestSwiftObjCDynamicType.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessFoundation @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/objc_baseclass/TestSwiftObjCBaseClassMemberLookup.py b/lldb/test/API/lang/swift/clangimporter/objc_baseclass/TestSwiftObjCBaseClassMemberLookup.py index 130fb720a7916..585d2c19d0dfd 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc_baseclass/TestSwiftObjCBaseClassMemberLookup.py +++ b/lldb/test/API/lang/swift/clangimporter/objc_baseclass/TestSwiftObjCBaseClassMemberLookup.py @@ -5,6 +5,7 @@ class TestSwiftObjCBaseClassMemberLookup(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/objc_inherited_ivars/TestSwiftAtObjCIvars.py b/lldb/test/API/lang/swift/clangimporter/objc_inherited_ivars/TestSwiftAtObjCIvars.py index 6f5db6894fdb7..1db5a85c9fb13 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc_inherited_ivars/TestSwiftAtObjCIvars.py +++ b/lldb/test/API/lang/swift/clangimporter/objc_inherited_ivars/TestSwiftAtObjCIvars.py @@ -26,6 +26,7 @@ def check_foo(self, theFoo): lldbutil.check_variable(self, x, False, value='12') lldbutil.check_variable(self, y, False, '"12"') + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_swift_at_objc_ivars(self): diff --git a/lldb/test/API/lang/swift/clangimporter/objc_optional_dict/TestSwiftObjCOptionalDict.py b/lldb/test/API/lang/swift/clangimporter/objc_optional_dict/TestSwiftObjCOptionalDict.py index 4fabc01c0d8d4..0a7e896aed26f 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc_optional_dict/TestSwiftObjCOptionalDict.py +++ b/lldb/test/API/lang/swift/clangimporter/objc_optional_dict/TestSwiftObjCOptionalDict.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftObjCOptionalDict(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/objc_protocol/TestSwiftObjCProtocol.py b/lldb/test/API/lang/swift/clangimporter/objc_protocol/TestSwiftObjCProtocol.py index fa454ea6e49d5..c862b1dac61fe 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc_protocol/TestSwiftObjCProtocol.py +++ b/lldb/test/API/lang/swift/clangimporter/objc_protocol/TestSwiftObjCProtocol.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftObjCProtocol(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/objc_protocol_fields/TestSwiftObjCProtocolFields.py b/lldb/test/API/lang/swift/clangimporter/objc_protocol_fields/TestSwiftObjCProtocolFields.py index 35d298e29c973..c0a368ca13c5b 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc_protocol_fields/TestSwiftObjCProtocolFields.py +++ b/lldb/test/API/lang/swift/clangimporter/objc_protocol_fields/TestSwiftObjCProtocolFields.py @@ -5,6 +5,7 @@ class TestSwiftObjCBaseClassMemberLookup(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/objc_runtime_ivars/TestObjCIvarDiscovery.py b/lldb/test/API/lang/swift/clangimporter/objc_runtime_ivars/TestObjCIvarDiscovery.py index c86d236678328..b384c0233e282 100644 --- a/lldb/test/API/lang/swift/clangimporter/objc_runtime_ivars/TestObjCIvarDiscovery.py +++ b/lldb/test/API/lang/swift/clangimporter/objc_runtime_ivars/TestObjCIvarDiscovery.py @@ -22,6 +22,7 @@ import shutil class TestObjCIVarDiscovery(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @skipIf(debug_info=no_match("dsym")) @swiftTest @@ -30,6 +31,7 @@ def test_nodbg(self): shutil.rmtree(self.getBuildArtifact("aTestFramework.framework/Versions/A/aTestFramework.dSYM")) self.do_test(False) + @skipEmbeddedSwift @skipUnlessDarwin @skipIf(debug_info=no_match("dsym")) @swiftTest diff --git a/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_bridging_headers/TestSwiftObjCMainConflictingDylibsBridgingHeader.py b/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_bridging_headers/TestSwiftObjCMainConflictingDylibsBridgingHeader.py index 9609bbab03ab5..4da686bdec221 100644 --- a/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_bridging_headers/TestSwiftObjCMainConflictingDylibsBridgingHeader.py +++ b/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_bridging_headers/TestSwiftObjCMainConflictingDylibsBridgingHeader.py @@ -18,6 +18,7 @@ import shutil class TestSwiftObjCMainConflictingDylibsBridgingHeader(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_failing_import/TestSwiftObjCMainConflictingDylibsFailingImport.py b/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_failing_import/TestSwiftObjCMainConflictingDylibsFailingImport.py index 5409df13f43e4..c60342860f9bc 100644 --- a/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_failing_import/TestSwiftObjCMainConflictingDylibsFailingImport.py +++ b/lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_failing_import/TestSwiftObjCMainConflictingDylibsFailingImport.py @@ -21,6 +21,7 @@ class TestSwiftObjCMainConflictingDylibsFailingImport(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/override_options/TestSwiftClangOverrideOptions.py b/lldb/test/API/lang/swift/clangimporter/override_options/TestSwiftClangOverrideOptions.py index dec887f4a1192..0ad709baead51 100644 --- a/lldb/test/API/lang/swift/clangimporter/override_options/TestSwiftClangOverrideOptions.py +++ b/lldb/test/API/lang/swift/clangimporter/override_options/TestSwiftClangOverrideOptions.py @@ -5,6 +5,7 @@ class TestCase(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/protocol_composition/TestSwiftClangImporterProtocolComposition.py b/lldb/test/API/lang/swift/clangimporter/protocol_composition/TestSwiftClangImporterProtocolComposition.py index 6c378f787c976..c7008dbfcd6fa 100644 --- a/lldb/test/API/lang/swift/clangimporter/protocol_composition/TestSwiftClangImporterProtocolComposition.py +++ b/lldb/test/API/lang/swift/clangimporter/protocol_composition/TestSwiftClangImporterProtocolComposition.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftClangImporterProtocolComposition(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/clangimporter/remoteast_import/TestSwiftRemoteASTImport.py b/lldb/test/API/lang/swift/clangimporter/remoteast_import/TestSwiftRemoteASTImport.py index ded4bfc4a7257..67db8af5c6553 100644 --- a/lldb/test/API/lang/swift/clangimporter/remoteast_import/TestSwiftRemoteASTImport.py +++ b/lldb/test/API/lang/swift/clangimporter/remoteast_import/TestSwiftRemoteASTImport.py @@ -17,6 +17,7 @@ import os class TestSwiftRemoteASTImport(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/rewrite_clang_paths/TestSwiftRewriteClangPaths.py b/lldb/test/API/lang/swift/clangimporter/rewrite_clang_paths/TestSwiftRewriteClangPaths.py index 270706db1de4e..2d140f1c9793d 100644 --- a/lldb/test/API/lang/swift/clangimporter/rewrite_clang_paths/TestSwiftRewriteClangPaths.py +++ b/lldb/test/API/lang/swift/clangimporter/rewrite_clang_paths/TestSwiftRewriteClangPaths.py @@ -18,6 +18,7 @@ import shutil class TestSwiftRewriteClangPaths(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin @@ -26,6 +27,7 @@ class TestSwiftRewriteClangPaths(TestBase): def testWithRemap(self): self.dotest(True) + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/static_archive/TestSwiftStaticArchiveTwoSwiftmodules.py b/lldb/test/API/lang/swift/clangimporter/static_archive/TestSwiftStaticArchiveTwoSwiftmodules.py index 8eb2fcbdab25d..175395b7c0c96 100644 --- a/lldb/test/API/lang/swift/clangimporter/static_archive/TestSwiftStaticArchiveTwoSwiftmodules.py +++ b/lldb/test/API/lang/swift/clangimporter/static_archive/TestSwiftStaticArchiveTwoSwiftmodules.py @@ -17,6 +17,7 @@ import os class TestSwiftStaticArchiveTwoSwiftmodules(TestBase): + @skipEmbeddedSwift # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @skipUnlessDarwin diff --git a/lldb/test/API/lang/swift/clangimporter/submodules/TestSwiftSubmoduleImport.py b/lldb/test/API/lang/swift/clangimporter/submodules/TestSwiftSubmoduleImport.py index efb1804630cd2..6b0d0a8bd5f63 100644 --- a/lldb/test/API/lang/swift/clangimporter/submodules/TestSwiftSubmoduleImport.py +++ b/lldb/test/API/lang/swift/clangimporter/submodules/TestSwiftSubmoduleImport.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftSubmoduleImport(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/clashing_abi_name/TestSwiftClashingABIName.py b/lldb/test/API/lang/swift/clashing_abi_name/TestSwiftClashingABIName.py index ec5fd2be07f29..05d5d7d7e9526 100644 --- a/lldb/test/API/lang/swift/clashing_abi_name/TestSwiftClashingABIName.py +++ b/lldb/test/API/lang/swift/clashing_abi_name/TestSwiftClashingABIName.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftClashingABIName(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test(self): @@ -22,6 +23,7 @@ def test(self): self.expect('expr --bind-generic-types true -- generic3', substrs=['a.Generic2>', 't2 =', 't =', 'j = 98']) + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test_in_self(self): diff --git a/lldb/test/API/lang/swift/class_baseclass/TestSwiftClassBaseClass.py b/lldb/test/API/lang/swift/class_baseclass/TestSwiftClassBaseClass.py index 733bbddde6d18..224374c0d52b5 100644 --- a/lldb/test/API/lang/swift/class_baseclass/TestSwiftClassBaseClass.py +++ b/lldb/test/API/lang/swift/class_baseclass/TestSwiftClassBaseClass.py @@ -6,6 +6,7 @@ class TestSwiftClassBaseClass(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/class_error/TestClassError.py b/lldb/test/API/lang/swift/class_error/TestClassError.py index 6139a211e5ec1..275abf5769db6 100644 --- a/lldb/test/API/lang/swift/class_error/TestClassError.py +++ b/lldb/test/API/lang/swift/class_error/TestClassError.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py b/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py index 70767a621e444..84881891e9ade 100644 --- a/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py +++ b/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/closure_shortcuts/TestClosureShortcuts.py b/lldb/test/API/lang/swift/closure_shortcuts/TestClosureShortcuts.py index ddeba19e6dfd1..38c2098b2a330 100644 --- a/lldb/test/API/lang/swift/closure_shortcuts/TestClosureShortcuts.py +++ b/lldb/test/API/lang/swift/closure_shortcuts/TestClosureShortcuts.py @@ -15,6 +15,7 @@ class TestClosureShortcuts(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/closures_var_not_captured/TestSwiftClosureVarNotCaptured.py b/lldb/test/API/lang/swift/closures_var_not_captured/TestSwiftClosureVarNotCaptured.py index eb89c692ef894..d8283701e180b 100644 --- a/lldb/test/API/lang/swift/closures_var_not_captured/TestSwiftClosureVarNotCaptured.py +++ b/lldb/test/API/lang/swift/closures_var_not_captured/TestSwiftClosureVarNotCaptured.py @@ -51,6 +51,7 @@ def get_to_bkpt(self, bkpt_name): target.BreakpointDelete(bkpt.GetID()) return (target, process, thread) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_simple_closure(self): @@ -60,6 +61,7 @@ def test_simple_closure(self): check_not_captured_error(self, thread.frames[0], "arg", "func_1(arg:)") check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_nested_closure(self): @@ -85,6 +87,7 @@ def test_nested_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows # Async variable inspection on Linux/Windows are still problematic. @@ -109,6 +112,7 @@ def test_async_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows # Async variable inspection on Linux/Windows are still problematic. @@ -122,6 +126,7 @@ def test_task_inside_non_async_func(self): self, thread.frames[0], "x", "task_inside_non_async_function()" ) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_ctor_class_closure(self): @@ -180,6 +185,7 @@ def test_ctor_class_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_ctor_struct_closure(self): @@ -238,6 +244,7 @@ def test_ctor_struct_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_ctor_enum_closure(self): diff --git a/lldb/test/API/lang/swift/command_memory_find/TestSwiftCommandMemoryFind.py b/lldb/test/API/lang/swift/command_memory_find/TestSwiftCommandMemoryFind.py index 6844a381f4547..fce7965392a3d 100644 --- a/lldb/test/API/lang/swift/command_memory_find/TestSwiftCommandMemoryFind.py +++ b/lldb/test/API/lang/swift/command_memory_find/TestSwiftCommandMemoryFind.py @@ -18,6 +18,7 @@ def memory_find(self, name: str, expr: str, target): self.expect(f'memory find -e "{expr}" {hex(addr)} {hex(addr + 8)}', substrs=["data found at location"]) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/command_memory_read/TestSwiftMemoryRead.py b/lldb/test/API/lang/swift/command_memory_read/TestSwiftMemoryRead.py index a839c7f55d74c..4840677b5e7f5 100644 --- a/lldb/test/API/lang/swift/command_memory_read/TestSwiftMemoryRead.py +++ b/lldb/test/API/lang/swift/command_memory_read/TestSwiftMemoryRead.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_scalar_types(self): diff --git a/lldb/test/API/lang/swift/conditional_breakpoints/TestSwiftConditionalBreakpoint.py b/lldb/test/API/lang/swift/conditional_breakpoints/TestSwiftConditionalBreakpoint.py index cce3ef939e661..2f3ebf1462bc0 100644 --- a/lldb/test/API/lang/swift/conditional_breakpoints/TestSwiftConditionalBreakpoint.py +++ b/lldb/test/API/lang/swift/conditional_breakpoints/TestSwiftConditionalBreakpoint.py @@ -19,6 +19,7 @@ class TestSwiftConditionalBreakpoint(TestBase): @swiftTest + @skipEmbeddedSwiftOnLinux # Linker failure with arc4random_buf @expectedFailureWindows def test_swift_conditional_breakpoint(self): """Tests that we can set a conditional breakpoint in Swift code""" diff --git a/lldb/test/API/lang/swift/constrained_existential/TestSwiftConstrainedExistential.py b/lldb/test/API/lang/swift/constrained_existential/TestSwiftConstrainedExistential.py index bdbee253aebad..081be038f3cf3 100644 --- a/lldb/test/API/lang/swift/constrained_existential/TestSwiftConstrainedExistential.py +++ b/lldb/test/API/lang/swift/constrained_existential/TestSwiftConstrainedExistential.py @@ -5,6 +5,7 @@ class TestSwiftConstrainedExistential(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/cross_module_extension/TestSwiftCrossModuleExtension.py b/lldb/test/API/lang/swift/cross_module_extension/TestSwiftCrossModuleExtension.py index d57d423d8e427..5700c8c948b82 100644 --- a/lldb/test/API/lang/swift/cross_module_extension/TestSwiftCrossModuleExtension.py +++ b/lldb/test/API/lang/swift/cross_module_extension/TestSwiftCrossModuleExtension.py @@ -20,6 +20,7 @@ import os.path class TestSwiftCrossModuleExtension(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_cross_module_extension(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/backward/expressions/TestSwiftBackwardInteropExpressions.py b/lldb/test/API/lang/swift/cxx_interop/backward/expressions/TestSwiftBackwardInteropExpressions.py index b21b4465fde8d..d3af5f8a62497 100644 --- a/lldb/test/API/lang/swift/cxx_interop/backward/expressions/TestSwiftBackwardInteropExpressions.py +++ b/lldb/test/API/lang/swift/cxx_interop/backward/expressions/TestSwiftBackwardInteropExpressions.py @@ -7,6 +7,7 @@ class TestSwiftBackwardInteropExpressions(TestBase): + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_func_step_in(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingClass.py b/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingClass.py index b5d37ec23e820..4734a608d5c3b 100644 --- a/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingClass.py +++ b/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingClass.py @@ -32,60 +32,70 @@ def check_step_over(self, thread, func): name = thread.frames[0].GetFunctionName() self.assertIn(func, name) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_method_step_in_class(self): thread = self.setup('Break here for method - class') self.check_step_in(thread, 'testMethod', 'SwiftClass.swiftMethod') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_method_step_over_class(self): thread = self.setup('Break here for method - class') self.check_step_over(thread, 'testMethod') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_init_step_in_class(self): thread = self.setup('Break here for constructor - class') self.check_step_in(thread, 'testConstructor', 'SwiftClass.init') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_init_step_over_class(self): thread = self.setup('Break here for constructor - class') self.check_step_over(thread, 'testConstructor') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_static_method_step_in_class(self): thread = self.setup('Break here for static method - class') self.check_step_in(thread, 'testStaticMethod', 'SwiftClass.swiftStaticMethod') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_static_method_step_over_class(self): thread = self.setup('Break here for static method - class') self.check_step_over(thread, 'testStaticMethod') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_getter_step_in_class(self): thread = self.setup('Break here for getter - class') self.check_step_in(thread, 'testGetter', 'SwiftClass.swiftProperty.getter') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_getter_step_over_class(self): thread = self.setup('Break here for getter - class') self.check_step_over(thread, 'testGetter') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_setter_step_in_class(self): thread = self.setup('Break here for setter - class') self.check_step_in(thread, 'testSetter', 'SwiftClass.swiftProperty.setter') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_setter_step_over_class(self): @@ -93,12 +103,14 @@ def test_setter_step_over_class(self): self.check_step_over(thread, 'testSetter') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_overriden_step_in_class(self): thread = self.setup('Break here for overridden - class') self.check_step_in(thread, 'testOverridenMethod', 'SwiftSubclass.overrideableMethod') + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_overriden_step_over_class(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingFunc.py b/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingFunc.py index 16d529052cbe4..8c99f857c6505 100644 --- a/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingFunc.py +++ b/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingFunc.py @@ -33,12 +33,14 @@ def check_step_over(self, thread, func): name = thread.frames[0].GetFunctionName() self.assertIn(func, name) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_func_step_in(self): thread = self.setup("Break here for func") self.check_step_in(thread, "testFunc", "swiftFunc") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_func_step_over(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingStruct.py b/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingStruct.py index 033fe66312769..1a2853b315a26 100644 --- a/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingStruct.py +++ b/lldb/test/API/lang/swift/cxx_interop/backward/stepping/TestSwiftBackwardInteropSteppingStruct.py @@ -33,60 +33,70 @@ def check_step_over(self, thread, func): name = thread.frames[0].GetFunctionName() self.assertIn(func, name) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_method_step_in_struct(self): thread = self.setup("Break here for method - struct") self.check_step_in(thread, "testMethod", "SwiftStruct.swiftMethod") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_method_step_over_struct(self): thread = self.setup("Break here for method - struct") self.check_step_over(thread, "testMethod") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_init_step_in_struct(self): thread = self.setup("Break here for constructor - struct") self.check_step_in(thread, "testConstructor", "SwiftStruct.init") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_init_step_over_struct(self): thread = self.setup("Break here for constructor - struct") self.check_step_over(thread, "testConstructor") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_static_method_step_in_struct(self): thread = self.setup("Break here for static method - struct") self.check_step_in(thread, "testStaticMethod", "SwiftStruct.swiftStaticMethod") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_static_method_step_over_struct(self): thread = self.setup("Break here for static method - struct") self.check_step_over(thread, "testStaticMethod") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_getter_step_in_struct(self): thread = self.setup("Break here for getter - struct") self.check_step_in(thread, "testGetter", "SwiftStruct.swiftProperty.getter") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_getter_step_over_struct(self): thread = self.setup("Break here for getter - struct") self.check_step_over(thread, "testGetter") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_setter_step_in_struct(self): thread = self.setup("Break here for setter - struct") self.check_step_in(thread, "testSetter", "SwiftStruct.swiftProperty.setter") + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_setter_step_over_struct(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class-as-existential/TestSwiftForwardInteropCxxClassAsExistential.py b/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class-as-existential/TestSwiftForwardInteropCxxClassAsExistential.py index 1bf23b7580758..510a8e99fc226 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class-as-existential/TestSwiftForwardInteropCxxClassAsExistential.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class-as-existential/TestSwiftForwardInteropCxxClassAsExistential.py @@ -8,6 +8,7 @@ class TestSwiftForwardInteropCxxClassAsExistential(TestBase): + @skipEmbeddedSwift @swiftTest @skipIfWindows def test(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class/TestSwiftForwardInteropCxxClass.py b/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class/TestSwiftForwardInteropCxxClass.py index dc073199cd7e8..f2390f4fe4f11 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class/TestSwiftForwardInteropCxxClass.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/cxx-class/TestSwiftForwardInteropCxxClass.py @@ -8,6 +8,7 @@ class TestSwiftForwardInteropCxxClass(TestBase): + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_class(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/langopt/TestSwiftForwardInteropCxxLangOpt.py b/lldb/test/API/lang/swift/cxx_interop/forward/langopt/TestSwiftForwardInteropCxxLangOpt.py index e6fea36bbed09..4ab52e4ebd33b 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/langopt/TestSwiftForwardInteropCxxLangOpt.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/langopt/TestSwiftForwardInteropCxxLangOpt.py @@ -8,6 +8,7 @@ class TestSwiftForwardInteropCxxLangOpt(TestBase): + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_class(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop/TestSwiftForwardInteropStepping.py b/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop/TestSwiftForwardInteropStepping.py index 817b3f186b6f0..ff75c458a0784 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop/TestSwiftForwardInteropStepping.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop/TestSwiftForwardInteropStepping.py @@ -114,6 +114,7 @@ def test_step_over_constructor(self): name = thread.frames[0].GetFunctionName() self.assertIn('testContructor', name) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_step_into_extension(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop_header_only/TestSwiftForwardInteropSteppingHeaderOnly.py b/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop_header_only/TestSwiftForwardInteropSteppingHeaderOnly.py index b7a8dc0a8c3c6..770fb7639313d 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop_header_only/TestSwiftForwardInteropSteppingHeaderOnly.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/stepping-forward-interop_header_only/TestSwiftForwardInteropSteppingHeaderOnly.py @@ -114,6 +114,7 @@ def test_step_over_constructor(self): name = thread.frames[0].GetFunctionName() self.assertIn('testContructor', name) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_step_into_extension(self): diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/stl-types/TestSwiftForwardInteropSTLTypes.py b/lldb/test/API/lang/swift/cxx_interop/forward/stl-types/TestSwiftForwardInteropSTLTypes.py index e8c7716050257..a0bf11d496b73 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/stl-types/TestSwiftForwardInteropSTLTypes.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/stl-types/TestSwiftForwardInteropSTLTypes.py @@ -12,6 +12,7 @@ class TestSwiftForwardInteropSTLTypes(TestBase): @skipIf( setting=("symbols.use-swift-clangimporter", "false") ) # rdar://106438227 (TestSTLTypes fails when clang importer is disabled) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test(self): diff --git a/lldb/test/API/lang/swift/deployment_target/TestSwiftDeploymentTarget.py b/lldb/test/API/lang/swift/deployment_target/TestSwiftDeploymentTarget.py index c10492d0fc2ee..99b71b91c8757 100644 --- a/lldb/test/API/lang/swift/deployment_target/TestSwiftDeploymentTarget.py +++ b/lldb/test/API/lang/swift/deployment_target/TestSwiftDeploymentTarget.py @@ -22,6 +22,7 @@ class TestSwiftDeploymentTarget(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @skipUnlessDarwin @skipIfDarwinEmbedded # This test uses macOS triples explicitly. @skipIf(macos_version=["<", "11.1"]) @@ -33,6 +34,7 @@ def test_swift_deployment_target(self): lldb.SBFileSpec('main.swift')) self.expect("expression f", substrs=['i = 23']) + @skipEmbeddedSwift @skipUnlessDarwin @skipIfDarwinEmbedded # This test uses macOS triples explicitly. @skipIf(macos_version=["<", "11.1"]) @@ -46,6 +48,7 @@ def test_swift_deployment_target_dlopen(self): lldbutil.continue_to_breakpoint(process, bkpt) self.expect("expression self", substrs=['i = 23']) + @skipEmbeddedSwift @skipUnlessDarwin @skipIfDarwinEmbedded # This test uses macOS triples explicitly. @skipIf(macos_version=["<", "11.1"]) @@ -66,6 +69,7 @@ def test_swift_deployment_target_from_macho(self): # CHECK: SwiftASTContextForExpressions(module: "a", cu: "main.swift")::SetTriple({{.*}}apple-macosx11.0.0 # CHECK-NOT: SwiftASTContextForExpressions(module: "a", cu: "main.swift")::RegisterSectionModules("a.out"){{.*}} AST Data blobs + @skipEmbeddedSwift @skipUnlessDarwin # This test uses macOS triples explicitly. @skipIfDarwinEmbedded @skipIf(macos_version=["<", "11.1"]) diff --git a/lldb/test/API/lang/swift/deserialization_failure/TestSwiftDeserializationFailure.py b/lldb/test/API/lang/swift/deserialization_failure/TestSwiftDeserializationFailure.py index 244e2bc5c51d6..f5f91d667428b 100644 --- a/lldb/test/API/lang/swift/deserialization_failure/TestSwiftDeserializationFailure.py +++ b/lldb/test/API/lang/swift/deserialization_failure/TestSwiftDeserializationFailure.py @@ -30,6 +30,7 @@ def run_tests(self, target, process): # FIXME: this is formatted incorrectly. self.expect("fr var -d no-dynamic t", substrs=["(T)"]) #, "world"]) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows']) @skipIf(debug_info=no_match(["dwarf"])) @@ -39,6 +40,7 @@ def test_missing_module(self): target, process, _, _ = lldbutil.run_to_name_breakpoint(self, 'main') self.run_tests(target, process) + @skipEmbeddedSwift @swiftTest @skipIf(oslist=['windows']) @skipIf(debug_info=no_match(["dwarf"])) diff --git a/lldb/test/API/lang/swift/designated_initializer_self/TestDesignatedInitializerSelf.py b/lldb/test/API/lang/swift/designated_initializer_self/TestDesignatedInitializerSelf.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/designated_initializer_self/TestDesignatedInitializerSelf.py +++ b/lldb/test/API/lang/swift/designated_initializer_self/TestDesignatedInitializerSelf.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/different_abi_name/TestSwiftDifferentABIName.py b/lldb/test/API/lang/swift/different_abi_name/TestSwiftDifferentABIName.py index fa5e12888abc5..c0ae2b38d02b2 100644 --- a/lldb/test/API/lang/swift/different_abi_name/TestSwiftDifferentABIName.py +++ b/lldb/test/API/lang/swift/different_abi_name/TestSwiftDifferentABIName.py @@ -5,6 +5,7 @@ class TestSwiftDifferentABIName(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/different_clang_flags/TestSwiftDifferentClangFlags.py b/lldb/test/API/lang/swift/different_clang_flags/TestSwiftDifferentClangFlags.py index d321583705089..5d32da9d32b4d 100644 --- a/lldb/test/API/lang/swift/different_clang_flags/TestSwiftDifferentClangFlags.py +++ b/lldb/test/API/lang/swift/different_clang_flags/TestSwiftDifferentClangFlags.py @@ -40,6 +40,7 @@ class TestSwiftDifferentClangFlags(TestBase): @skipIf( debug_info=decorators.no_match("dsym"), bugnumber="This test requires a stripped binary and a dSYM") + @skipEmbeddedSwift def test_swift_different_clang_flags(self): """Test that we use the right compiler flags when debugging""" self.build() diff --git a/lldb/test/API/lang/swift/dwarfimporter/C/TestSwiftDWARFImporterC.py b/lldb/test/API/lang/swift/dwarfimporter/C/TestSwiftDWARFImporterC.py index 999633b9291c6..d24c5b1cfaa60 100644 --- a/lldb/test/API/lang/swift/dwarfimporter/C/TestSwiftDWARFImporterC.py +++ b/lldb/test/API/lang/swift/dwarfimporter/C/TestSwiftDWARFImporterC.py @@ -72,6 +72,7 @@ def test_dwarf_importer(self): self.filecheck_log(log, __file__, "--check-prefix=CHECK-TYPEINFO") # CHECK-TYPEINFO: [LLDBTypeInfoProvider] Looking up debug type info for So4CMYKV + @skipEmbeddedSwift @skipIf(archs=['ppc64le'], bugnumber='SR-10214') @swiftTest @skipIfWindows diff --git a/lldb/test/API/lang/swift/dwarfimporter/Objective-C/TestSwiftDWARFImporterObjC.py b/lldb/test/API/lang/swift/dwarfimporter/Objective-C/TestSwiftDWARFImporterObjC.py index df0e059e410f8..0a9efcb2a99c4 100644 --- a/lldb/test/API/lang/swift/dwarfimporter/Objective-C/TestSwiftDWARFImporterObjC.py +++ b/lldb/test/API/lang/swift/dwarfimporter/Objective-C/TestSwiftDWARFImporterObjC.py @@ -34,6 +34,7 @@ def build(self): self.assertTrue(os.path.isdir(include)) shutil.rmtree(include) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): @@ -60,6 +61,7 @@ def test(self): #self.expect("target var -d run proto", substrs=["(ProtoImpl)", "proto"]) #self.expect("target var -O proto", substrs=[" diff --git a/lldb/test/API/lang/swift/mix_any_object/TestSwiftMixAnyObjectType.py b/lldb/test/API/lang/swift/mix_any_object/TestSwiftMixAnyObjectType.py index 36bb7b0a1e9f9..dd2fef546a82e 100644 --- a/lldb/test/API/lang/swift/mix_any_object/TestSwiftMixAnyObjectType.py +++ b/lldb/test/API/lang/swift/mix_any_object/TestSwiftMixAnyObjectType.py @@ -20,6 +20,7 @@ class TestSwiftMixAnyObjectType(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_any_object_type(self): diff --git a/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py b/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py index b8bdb767a7879..60a1eea6b5a83 100644 --- a/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py +++ b/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/multilang_category/TestMultilangFormatterCategories.py b/lldb/test/API/lang/swift/multilang_category/TestMultilangFormatterCategories.py index 540ba2209e152..39a87529f2e8d 100644 --- a/lldb/test/API/lang/swift/multilang_category/TestMultilangFormatterCategories.py +++ b/lldb/test/API/lang/swift/multilang_category/TestMultilangFormatterCategories.py @@ -9,6 +9,7 @@ class TestMultilangFormatterCategories(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test_multilang_formatter_categories(self): diff --git a/lldb/test/API/lang/swift/nested_c_enums/TestSwiftNestedCEnums.py b/lldb/test/API/lang/swift/nested_c_enums/TestSwiftNestedCEnums.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/nested_c_enums/TestSwiftNestedCEnums.py +++ b/lldb/test/API/lang/swift/nested_c_enums/TestSwiftNestedCEnums.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/nested_generic/TestSwiftNestedGeneric.py b/lldb/test/API/lang/swift/nested_generic/TestSwiftNestedGeneric.py index ac8e9c65acb84..30b83444b05b7 100644 --- a/lldb/test/API/lang/swift/nested_generic/TestSwiftNestedGeneric.py +++ b/lldb/test/API/lang/swift/nested_generic/TestSwiftNestedGeneric.py @@ -5,6 +5,7 @@ class TestSwiftNestedGeneric(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/no_runtime/TestSwiftNoRuntime.py b/lldb/test/API/lang/swift/no_runtime/TestSwiftNoRuntime.py index 9f9caedc6c0eb..4591497a09033 100644 --- a/lldb/test/API/lang/swift/no_runtime/TestSwiftNoRuntime.py +++ b/lldb/test/API/lang/swift/no_runtime/TestSwiftNoRuntime.py @@ -6,6 +6,7 @@ class TestSwiftNoRuntime(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/nsarray_code_running_formatter/TestSwiftNSArrayCodeRunningFormatter.py b/lldb/test/API/lang/swift/nsarray_code_running_formatter/TestSwiftNSArrayCodeRunningFormatter.py index 2fdbd23d26819..6cb0923c88786 100644 --- a/lldb/test/API/lang/swift/nsarray_code_running_formatter/TestSwiftNSArrayCodeRunningFormatter.py +++ b/lldb/test/API/lang/swift/nsarray_code_running_formatter/TestSwiftNSArrayCodeRunningFormatter.py @@ -15,5 +15,6 @@ lldbinline.MakeInlineTest( __file__, globals(), - decorators=[swiftTest, skipUnlessDarwin, skipIf(macos_version=["=", "15.0"])], + decorators=[skipEmbeddedSwift, + swiftTest, skipUnlessDarwin, skipIf(macos_version=["=", "15.0"])], ) diff --git a/lldb/test/API/lang/swift/objc_implementation/TestSwiftObjCImplementation.py b/lldb/test/API/lang/swift/objc_implementation/TestSwiftObjCImplementation.py index 000eb891dd3e4..7f12a967f670a 100644 --- a/lldb/test/API/lang/swift/objc_implementation/TestSwiftObjCImplementation.py +++ b/lldb/test/API/lang/swift/objc_implementation/TestSwiftObjCImplementation.py @@ -6,6 +6,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test(self): diff --git a/lldb/test/API/lang/swift/objc_obj_field/TestSwiftObjCObjField.py b/lldb/test/API/lang/swift/objc_obj_field/TestSwiftObjCObjField.py index 27848ae5003ec..caed1938f257a 100644 --- a/lldb/test/API/lang/swift/objc_obj_field/TestSwiftObjCObjField.py +++ b/lldb/test/API/lang/swift/objc_obj_field/TestSwiftObjCObjField.py @@ -7,6 +7,7 @@ class TestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test(self): diff --git a/lldb/test/API/lang/swift/objc_protocol/TestSwiftObjcProtocol.py b/lldb/test/API/lang/swift/objc_protocol/TestSwiftObjcProtocol.py index d69848a0a1aee..0d07ef47aaf85 100644 --- a/lldb/test/API/lang/swift/objc_protocol/TestSwiftObjcProtocol.py +++ b/lldb/test/API/lang/swift/objc_protocol/TestSwiftObjcProtocol.py @@ -5,6 +5,7 @@ class TestSwiftObjcProtocol(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/observation/TestSwiftObservation.py b/lldb/test/API/lang/swift/observation/TestSwiftObservation.py index e57ae01a3cf2f..17333d437bcd2 100644 --- a/lldb/test/API/lang/swift/observation/TestSwiftObservation.py +++ b/lldb/test/API/lang/swift/observation/TestSwiftObservation.py @@ -7,6 +7,7 @@ class TestSwiftObservation(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/one_case_enum/TestSwiftOneCaseEnum.py b/lldb/test/API/lang/swift/one_case_enum/TestSwiftOneCaseEnum.py index 655cf7fd5cb14..86ea78067ffef 100644 --- a/lldb/test/API/lang/swift/one_case_enum/TestSwiftOneCaseEnum.py +++ b/lldb/test/API/lang/swift/one_case_enum/TestSwiftOneCaseEnum.py @@ -20,6 +20,7 @@ class TestSwiftOneCaseEnum(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_one_case_enum(self): diff --git a/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py b/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py +++ b/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/opaque_return/TestBoundOpaqueArchetype.py b/lldb/test/API/lang/swift/opaque_return/TestBoundOpaqueArchetype.py index a5a1f9b0c552c..0b97cea8ed151 100644 --- a/lldb/test/API/lang/swift/opaque_return/TestBoundOpaqueArchetype.py +++ b/lldb/test/API/lang/swift/opaque_return/TestBoundOpaqueArchetype.py @@ -6,6 +6,7 @@ class TestBoundOpaqueArchetype(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/opaque_return_frame_var/TestSwiftGlobalOpaque.py b/lldb/test/API/lang/swift/opaque_return_frame_var/TestSwiftGlobalOpaque.py index aa00d41e9ace0..cac84528fcc16 100644 --- a/lldb/test/API/lang/swift/opaque_return_frame_var/TestSwiftGlobalOpaque.py +++ b/lldb/test/API/lang/swift/opaque_return_frame_var/TestSwiftGlobalOpaque.py @@ -6,6 +6,7 @@ class TestSwiftGlobalOpaque(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/opaque_return_types/TestOpaqueReturnTypes.py b/lldb/test/API/lang/swift/opaque_return_types/TestOpaqueReturnTypes.py index 527240d11af79..36bb900b7f5e2 100644 --- a/lldb/test/API/lang/swift/opaque_return_types/TestOpaqueReturnTypes.py +++ b/lldb/test/API/lang/swift/opaque_return_types/TestOpaqueReturnTypes.py @@ -4,7 +4,7 @@ lldbinline.MakeInlineTest( __file__, globals(), - decorators=[ + decorators=[skipEmbeddedSwift, swiftTest, expectedFailureWindows, skipIf(macos_version=["<", "10.15"]), diff --git a/lldb/test/API/lang/swift/opaque_type/TestSwiftOpaqueType.py b/lldb/test/API/lang/swift/opaque_type/TestSwiftOpaqueType.py index eafe4b59b966f..64f22933170ac 100644 --- a/lldb/test/API/lang/swift/opaque_type/TestSwiftOpaqueType.py +++ b/lldb/test/API/lang/swift/opaque_type/TestSwiftOpaqueType.py @@ -6,6 +6,7 @@ class TestSwiftOpaque(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py b/lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py index f95841c5aff34..00c57331e8428 100644 --- a/lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py +++ b/lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py @@ -9,6 +9,7 @@ class TestSwiftOptimizedBoundGenericEnum(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/optional_error_handling/TestSwiftOptionalErrorHandling.py b/lldb/test/API/lang/swift/optional_error_handling/TestSwiftOptionalErrorHandling.py index 8ad3fef3eed1b..9860a6c4ea92b 100644 --- a/lldb/test/API/lang/swift/optional_error_handling/TestSwiftOptionalErrorHandling.py +++ b/lldb/test/API/lang/swift/optional_error_handling/TestSwiftOptionalErrorHandling.py @@ -6,6 +6,7 @@ class TestSwiftOptionalErrorHandling(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/optional_of_resilient/TestResilientObjectInOptional.py b/lldb/test/API/lang/swift/optional_of_resilient/TestResilientObjectInOptional.py index 4ac3a86fbee83..4d93fdcc4ccfc 100644 --- a/lldb/test/API/lang/swift/optional_of_resilient/TestResilientObjectInOptional.py +++ b/lldb/test/API/lang/swift/optional_of_resilient/TestResilientObjectInOptional.py @@ -18,6 +18,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestResilientObjectInOptional(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_optional_of_resilient(self): diff --git a/lldb/test/API/lang/swift/optional_url/TestOptionalURL.py b/lldb/test/API/lang/swift/optional_url/TestOptionalURL.py index dd8153678bf74..62b8cb3259efc 100644 --- a/lldb/test/API/lang/swift/optional_url/TestOptionalURL.py +++ b/lldb/test/API/lang/swift/optional_url/TestOptionalURL.py @@ -1,4 +1,5 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest, skipUnlessFoundation, skipIf(oslist=['windows'])]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, skipUnlessFoundation, skipIf(oslist=['windows'])]) diff --git a/lldb/test/API/lang/swift/optionset/TestSwiftOptionSetType.py b/lldb/test/API/lang/swift/optionset/TestSwiftOptionSetType.py index dcdf2eebfc01d..d40d101dc7a91 100644 --- a/lldb/test/API/lang/swift/optionset/TestSwiftOptionSetType.py +++ b/lldb/test/API/lang/swift/optionset/TestSwiftOptionSetType.py @@ -13,4 +13,5 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest(__file__, globals(), - decorators=[swiftTest,skipUnlessDarwin]) + decorators=[skipEmbeddedSwift, + swiftTest,skipUnlessDarwin]) diff --git a/lldb/test/API/lang/swift/orig_defined_payload/TestSwiftOriginallyDefinedInPayload.py b/lldb/test/API/lang/swift/orig_defined_payload/TestSwiftOriginallyDefinedInPayload.py index 7aa47a9a2b5ab..1d239ddde475f 100644 --- a/lldb/test/API/lang/swift/orig_defined_payload/TestSwiftOriginallyDefinedInPayload.py +++ b/lldb/test/API/lang/swift/orig_defined_payload/TestSwiftOriginallyDefinedInPayload.py @@ -6,6 +6,7 @@ class TestSwiftOriginallyDefinedInPayload(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/originally_defined_in/TestSwiftOriginallyDefinedIn.py b/lldb/test/API/lang/swift/originally_defined_in/TestSwiftOriginallyDefinedIn.py index 2b89a209d6b8c..9de900fdcf979 100644 --- a/lldb/test/API/lang/swift/originally_defined_in/TestSwiftOriginallyDefinedIn.py +++ b/lldb/test/API/lang/swift/originally_defined_in/TestSwiftOriginallyDefinedIn.py @@ -7,6 +7,7 @@ class TestSwiftOriginallyDefinedIn(lldbtest.TestBase): @swiftTest + @skipEmbeddedSwift @expectedFailureWindows def test(self): """Test that types with the @_originallyDefinedIn attribute can still be found in metadata""" @@ -36,12 +37,13 @@ def test(self): "t = (i = 50)", ], ) - + @swiftTest + @skipEmbeddedSwift @expectedFailureWindows def test_expr(self): """Test that types with the @_originallyDefinedIn attribute can still be found in metadata""" - + self.build() filespec = lldb.SBFileSpec("main.swift") target, process, thread, breakpoint1 = lldbutil.run_to_source_breakpoint( @@ -65,8 +67,9 @@ def test_expr(self): "t = (i = 50)", ], ) - + @swiftTest + @skipEmbeddedSwift @expectedFailureWindows def test_expr_from_generic(self): """Test that types with the @_originallyDefinedIn attribute can still be found in metadata""" diff --git a/lldb/test/API/lang/swift/other_arch_dylib/TestSwiftOtherArchDylib.py b/lldb/test/API/lang/swift/other_arch_dylib/TestSwiftOtherArchDylib.py index 9bab2cdb134bf..bd878789cbfc5 100644 --- a/lldb/test/API/lang/swift/other_arch_dylib/TestSwiftOtherArchDylib.py +++ b/lldb/test/API/lang/swift/other_arch_dylib/TestSwiftOtherArchDylib.py @@ -9,6 +9,7 @@ class TestSwiftOtherArchDylib(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin @skipIfDarwinEmbedded diff --git a/lldb/test/API/lang/swift/parseable_interfaces/dsym/TestSwiftInterfaceDsym.py b/lldb/test/API/lang/swift/parseable_interfaces/dsym/TestSwiftInterfaceDsym.py index b4c18409bb3a8..3542c6690a8f5 100644 --- a/lldb/test/API/lang/swift/parseable_interfaces/dsym/TestSwiftInterfaceDsym.py +++ b/lldb/test/API/lang/swift/parseable_interfaces/dsym/TestSwiftInterfaceDsym.py @@ -19,6 +19,7 @@ class TestSwiftInterfaceDSYM(TestBase): @swiftTest + @skipEmbeddedSwift @skipIf(archs=no_match("x86_64")) @skipIf(debug_info=no_match(["dsym"])) def test_dsym_swiftinterface(self): @@ -79,6 +80,7 @@ def test_dsym_swiftinterface(self): self.assertEqual(len(a_modules), 1) @swiftTest + @skipEmbeddedSwift @skipIf(archs=no_match("x86_64")) @skipIf(debug_info=no_match(["dsym"])) def test_sanity_negative(self): @@ -114,6 +116,7 @@ def test_sanity_negative(self): self.expect("expression x", error=1) @swiftTest + @skipEmbeddedSwift @skipIf(archs=no_match("x86_64")) @skipIf(debug_info=no_match(["dsym"])) def test_sanity_positive(self): diff --git a/lldb/test/API/lang/swift/parseable_interfaces/shared/TestSwiftInterfaceNoDebugInfo.py b/lldb/test/API/lang/swift/parseable_interfaces/shared/TestSwiftInterfaceNoDebugInfo.py index 51730af49691d..9b344ccd4f085 100644 --- a/lldb/test/API/lang/swift/parseable_interfaces/shared/TestSwiftInterfaceNoDebugInfo.py +++ b/lldb/test/API/lang/swift/parseable_interfaces/shared/TestSwiftInterfaceNoDebugInfo.py @@ -26,6 +26,7 @@ class TestSwiftInterfaceNoDebugInfo(TestBase): + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_swift_interface(self): @@ -33,6 +34,7 @@ def test_swift_interface(self): self.build() self.do_test() + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_swift_interface_fallback(self): @@ -45,6 +47,7 @@ def test_swift_interface_fallback(self): open(self.getBuildArtifact(module), 'w').close() self.do_test() + @skipEmbeddedSwift @swiftTest @skipIfWindows @skipUnlessPlatform(["macosx"]) diff --git a/lldb/test/API/lang/swift/parseable_interfaces/static/TestSwiftInterfaceStaticNoDebugInfo.py b/lldb/test/API/lang/swift/parseable_interfaces/static/TestSwiftInterfaceStaticNoDebugInfo.py index 0ca7b1a95f1d1..698bf1d4e9c39 100644 --- a/lldb/test/API/lang/swift/parseable_interfaces/static/TestSwiftInterfaceStaticNoDebugInfo.py +++ b/lldb/test/API/lang/swift/parseable_interfaces/static/TestSwiftInterfaceStaticNoDebugInfo.py @@ -26,6 +26,7 @@ class TestSwiftInterfaceStaticNoDebugInfo(TestBase): + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_swift_interface(self): @@ -33,6 +34,7 @@ def test_swift_interface(self): self.build() self.do_test() + @skipEmbeddedSwift @swiftTest @skipIfWindows def test_swift_interface_fallback(self): diff --git a/lldb/test/API/lang/swift/partially_generic_func/class/TestSwiftPartiallyGenericFuncClass.py b/lldb/test/API/lang/swift/partially_generic_func/class/TestSwiftPartiallyGenericFuncClass.py index 11d51b7f8b8ca..09685e602a692 100644 --- a/lldb/test/API/lang/swift/partially_generic_func/class/TestSwiftPartiallyGenericFuncClass.py +++ b/lldb/test/API/lang/swift/partially_generic_func/class/TestSwiftPartiallyGenericFuncClass.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/partially_generic_func/continuations/TestSwiftPartiallyGenericFuncContinuation.py b/lldb/test/API/lang/swift/partially_generic_func/continuations/TestSwiftPartiallyGenericFuncContinuation.py index 9d1cd40394347..3116597629077 100644 --- a/lldb/test/API/lang/swift/partially_generic_func/continuations/TestSwiftPartiallyGenericFuncContinuation.py +++ b/lldb/test/API/lang/swift/partially_generic_func/continuations/TestSwiftPartiallyGenericFuncContinuation.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/partially_generic_func/enum/TestSwiftPartiallyGenericFuncEnum.py b/lldb/test/API/lang/swift/partially_generic_func/enum/TestSwiftPartiallyGenericFuncEnum.py index f787242996e4f..eb25f1f7cb139 100644 --- a/lldb/test/API/lang/swift/partially_generic_func/enum/TestSwiftPartiallyGenericFuncEnum.py +++ b/lldb/test/API/lang/swift/partially_generic_func/enum/TestSwiftPartiallyGenericFuncEnum.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/partially_generic_func/struct/TestSwiftPartiallyGenericFuncStruct.py b/lldb/test/API/lang/swift/partially_generic_func/struct/TestSwiftPartiallyGenericFuncStruct.py index 73e613678c4d7..139b76a186b32 100644 --- a/lldb/test/API/lang/swift/partially_generic_func/struct/TestSwiftPartiallyGenericFuncStruct.py +++ b/lldb/test/API/lang/swift/partially_generic_func/struct/TestSwiftPartiallyGenericFuncStruct.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/playgrounds-repl/old_playground/TestNonREPLPlayground.py b/lldb/test/API/lang/swift/playgrounds-repl/old_playground/TestNonREPLPlayground.py index f531da1f0ec45..1bfd8b87e1aab 100644 --- a/lldb/test/API/lang/swift/playgrounds-repl/old_playground/TestNonREPLPlayground.py +++ b/lldb/test/API/lang/swift/playgrounds-repl/old_playground/TestNonREPLPlayground.py @@ -36,6 +36,7 @@ class TestNonREPLPlayground(TestBase): @skipIf( debug_info=decorators.no_match("dsym"), bugnumber="This test only builds one way") + @skipEmbeddedSwift def test_playgrounds(self): """Test that playgrounds work""" self.build() diff --git a/lldb/test/API/lang/swift/playgrounds/TestSwiftPlaygrounds.py b/lldb/test/API/lang/swift/playgrounds/TestSwiftPlaygrounds.py index 575e567daeb64..41cd517918c71 100644 --- a/lldb/test/API/lang/swift/playgrounds/TestSwiftPlaygrounds.py +++ b/lldb/test/API/lang/swift/playgrounds/TestSwiftPlaygrounds.py @@ -62,6 +62,7 @@ def get_run_triple(self): triple = '{}-apple-macosx{}'.format(machine, version) return triple + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @@ -71,6 +72,7 @@ def test_force_target(self): self.launch(True) self.do_basic_test(True) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @@ -80,6 +82,7 @@ def test_no_force_target(self): self.launch(False) self.do_basic_test(False) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @@ -90,6 +93,7 @@ def test_concurrency(self): self.launch(True) self.do_concurrency_test() + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) diff --git a/lldb/test/API/lang/swift/po/conflicted_name/TestSwiftPOConflictedTypes.py b/lldb/test/API/lang/swift/po/conflicted_name/TestSwiftPOConflictedTypes.py index 39f40adae6dc3..605ec724e9b09 100644 --- a/lldb/test/API/lang/swift/po/conflicted_name/TestSwiftPOConflictedTypes.py +++ b/lldb/test/API/lang/swift/po/conflicted_name/TestSwiftPOConflictedTypes.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/po/nested_nsdict/TestSwiftPONestedNSDictionary.py b/lldb/test/API/lang/swift/po/nested_nsdict/TestSwiftPONestedNSDictionary.py index a2479d38ba1f4..6b3cdac555b1b 100644 --- a/lldb/test/API/lang/swift/po/nested_nsdict/TestSwiftPONestedNSDictionary.py +++ b/lldb/test/API/lang/swift/po/nested_nsdict/TestSwiftPONestedNSDictionary.py @@ -13,4 +13,5 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest(__file__, globals(), - decorators=[swiftTest,skipUnlessFoundation,skipIf(oslist=['windows'])]) + decorators=[skipEmbeddedSwift, + swiftTest,skipUnlessFoundation,skipIf(oslist=['windows'])]) diff --git a/lldb/test/API/lang/swift/po/objc/TestSwiftPOObjC.py b/lldb/test/API/lang/swift/po/objc/TestSwiftPOObjC.py index a19c25665f8ae..e348c82ceb0d9 100644 --- a/lldb/test/API/lang/swift/po/objc/TestSwiftPOObjC.py +++ b/lldb/test/API/lang/swift/po/objc/TestSwiftPOObjC.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftPOObjC(TestBase): + @skipEmbeddedSwift #NO_DEBUG_INFO_TESTCASE = True @skipUnlessDarwin @swiftTest diff --git a/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/TestSwiftPrintObjectPointerAndTypeName.py b/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/TestSwiftPrintObjectPointerAndTypeName.py index bff4e4d3c3c03..101794008dd85 100644 --- a/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/TestSwiftPrintObjectPointerAndTypeName.py +++ b/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/TestSwiftPrintObjectPointerAndTypeName.py @@ -37,6 +37,7 @@ def test_string(self): self._filecheck("STRING") # CHECK-STRING: stringForPrintObject(UnsafeRawPointer(bitPattern: {{[0-9]+}}), mangledTypeName: "SSD") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_struct(self): @@ -48,6 +49,7 @@ def test_struct(self): self._filecheck("STRUCT") # CHECK-STRUCT: stringForPrintObject(UnsafeRawPointer(bitPattern: {{[0-9]+}}), mangledTypeName: "1a6StructVD") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_class(self): @@ -59,6 +61,7 @@ def test_class(self): self._filecheck("CLASS") # CHECK-CLASS: stringForPrintObject(UnsafeRawPointer(bitPattern: {{[0-9]+}}), mangledTypeName: "1a5ClassCD") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_enum(self): @@ -70,6 +73,7 @@ def test_enum(self): self._filecheck("ENUM") # CHECK-ENUM: stringForPrintObject(UnsafeRawPointer(bitPattern: {{.*}}), mangledTypeName: "1a4EnumOD") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_generic_struct(self): @@ -81,6 +85,7 @@ def test_generic_struct(self): self._filecheck("GEN-STRUCT") # CHECK-GEN-STRUCT: stringForPrintObject(UnsafeRawPointer(bitPattern: {{[0-9]+}}), mangledTypeName: "1a13GenericStructVySSGD") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_generic_class(self): @@ -92,6 +97,7 @@ def test_generic_class(self): self._filecheck("GEN-CLASS") # CHECK-GEN-CLASS: stringForPrintObject(UnsafeRawPointer(bitPattern: {{[0-9]+}}), mangledTypeName: "1a12GenericClassCySSGD") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_generic_enum(self): diff --git a/lldb/test/API/lang/swift/po/private_subclass/TestSwiftPrintObjectPrivateSubclass.py b/lldb/test/API/lang/swift/po/private_subclass/TestSwiftPrintObjectPrivateSubclass.py index 448a4d5beb6fd..39672a8bf707f 100644 --- a/lldb/test/API/lang/swift/po/private_subclass/TestSwiftPrintObjectPrivateSubclass.py +++ b/lldb/test/API/lang/swift/po/private_subclass/TestSwiftPrintObjectPrivateSubclass.py @@ -6,6 +6,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py b/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py index bfdf41d9b9f58..5425a297fb64f 100644 --- a/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py +++ b/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/po/ref_types/TestSwiftPORefTypes.py b/lldb/test/API/lang/swift/po/ref_types/TestSwiftPORefTypes.py index f2cbe7e6bf9d1..d2ad558af731f 100644 --- a/lldb/test/API/lang/swift/po/ref_types/TestSwiftPORefTypes.py +++ b/lldb/test/API/lang/swift/po/ref_types/TestSwiftPORefTypes.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/po/sys_types/TestSwiftPOSysTypes.py b/lldb/test/API/lang/swift/po/sys_types/TestSwiftPOSysTypes.py index cdabf7581dea6..18996ae5f95bc 100644 --- a/lldb/test/API/lang/swift/po/sys_types/TestSwiftPOSysTypes.py +++ b/lldb/test/API/lang/swift/po/sys_types/TestSwiftPOSysTypes.py @@ -14,8 +14,8 @@ lldbinline.MakeInlineTest(__file__, globals(), - decorators=[ - swiftTest, + decorators=[skipEmbeddedSwift, + swiftTest, skipIf(oslist=['windows']), expectedFailureAll(oslist=["linux"], bugnumber="rdar://83444822") diff --git a/lldb/test/API/lang/swift/po/uninitialized/TestSwiftPOUninitialized.py b/lldb/test/API/lang/swift/po/uninitialized/TestSwiftPOUninitialized.py index c11ec5f782e39..dea8cad035217 100644 --- a/lldb/test/API/lang/swift/po/uninitialized/TestSwiftPOUninitialized.py +++ b/lldb/test/API/lang/swift/po/uninitialized/TestSwiftPOUninitialized.py @@ -13,4 +13,5 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest(__file__, globals(), - decorators=[swiftTest,skipIf(oslist=['windows'])]) + decorators=[skipEmbeddedSwift, + swiftTest,skipIf(oslist=['windows'])]) diff --git a/lldb/test/API/lang/swift/po/val_types/TestSwiftPOValTypes.py b/lldb/test/API/lang/swift/po/val_types/TestSwiftPOValTypes.py index c481a99e99a01..e09a87237e992 100644 --- a/lldb/test/API/lang/swift/po/val_types/TestSwiftPOValTypes.py +++ b/lldb/test/API/lang/swift/po/val_types/TestSwiftPOValTypes.py @@ -17,6 +17,7 @@ class TestSwiftPOValueTypes(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_value_types(self): @@ -39,6 +40,7 @@ def test_value_types(self): self.expect("po (dm as Any, cm as Any,48 as Any)", substrs=['12', '24', '36', '48']) self.expect("po patatino", substrs=['foo']) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_ignore_bkpts_in_po(self): diff --git a/lldb/test/API/lang/swift/printdecl/TestSwiftTypeLookup.py b/lldb/test/API/lang/swift/printdecl/TestSwiftTypeLookup.py index 6f648510e4db7..40c985281fc5d 100644 --- a/lldb/test/API/lang/swift/printdecl/TestSwiftTypeLookup.py +++ b/lldb/test/API/lang/swift/printdecl/TestSwiftTypeLookup.py @@ -20,6 +20,7 @@ class TestSwiftTypeLookup(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_type_lookup(self): diff --git a/lldb/test/API/lang/swift/private_decl_name/TestSwiftPrivateDeclName.py b/lldb/test/API/lang/swift/private_decl_name/TestSwiftPrivateDeclName.py index 92e6fe567eef2..041fb99e1d38d 100644 --- a/lldb/test/API/lang/swift/private_decl_name/TestSwiftPrivateDeclName.py +++ b/lldb/test/API/lang/swift/private_decl_name/TestSwiftPrivateDeclName.py @@ -27,6 +27,7 @@ def setUp(self): self.b_source = "b.swift" self.b_source_spec = lldb.SBFileSpec(self.b_source) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_private_decl_name(self): diff --git a/lldb/test/API/lang/swift/private_discriminator/TestSwiftPrivateDiscriminator.py b/lldb/test/API/lang/swift/private_discriminator/TestSwiftPrivateDiscriminator.py index 9701d2405d938..27ea325ad3446 100644 --- a/lldb/test/API/lang/swift/private_discriminator/TestSwiftPrivateDiscriminator.py +++ b/lldb/test/API/lang/swift/private_discriminator/TestSwiftPrivateDiscriminator.py @@ -9,6 +9,7 @@ class TestSwiftPrivateDiscriminator(lldbtest.TestBase): NO_DEBUG_INFO_TESTCASE = True mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest # FIXME: The only reason this doesn't work on Linux is because the # dylib hasn't been loaded when run_to_source_breakpoint wants to diff --git a/lldb/test/API/lang/swift/private_generic_self/TestSwiftPrivateGenericSelf.py b/lldb/test/API/lang/swift/private_generic_self/TestSwiftPrivateGenericSelf.py index 65428ac644c68..183988ae3104e 100644 --- a/lldb/test/API/lang/swift/private_generic_self/TestSwiftPrivateGenericSelf.py +++ b/lldb/test/API/lang/swift/private_generic_self/TestSwiftPrivateGenericSelf.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/private_generic_type/TestSwiftPrivateGenericType.py b/lldb/test/API/lang/swift/private_generic_type/TestSwiftPrivateGenericType.py index 6a62f88e39d37..4f912564e202f 100644 --- a/lldb/test/API/lang/swift/private_generic_type/TestSwiftPrivateGenericType.py +++ b/lldb/test/API/lang/swift/private_generic_type/TestSwiftPrivateGenericType.py @@ -8,6 +8,7 @@ class TestSwiftPrivateGenericType(TestBase): def setUp(self): TestBase.setUp(self) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_private_generic_type(self): diff --git a/lldb/test/API/lang/swift/private_import/TestSwiftPrivateImport.py b/lldb/test/API/lang/swift/private_import/TestSwiftPrivateImport.py index e7db43ee24116..01de240b5b7a1 100644 --- a/lldb/test/API/lang/swift/private_import/TestSwiftPrivateImport.py +++ b/lldb/test/API/lang/swift/private_import/TestSwiftPrivateImport.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftPrivateImport(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_private_import(self): diff --git a/lldb/test/API/lang/swift/private_member/TestSwiftPrivateMember.py b/lldb/test/API/lang/swift/private_member/TestSwiftPrivateMember.py index 0a19a585d506e..893ea0343e984 100644 --- a/lldb/test/API/lang/swift/private_member/TestSwiftPrivateMember.py +++ b/lldb/test/API/lang/swift/private_member/TestSwiftPrivateMember.py @@ -5,6 +5,7 @@ class TestSwiftPrivateMember(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py b/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py index 6a31bef088b5f..46e1fb320e10d 100644 --- a/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py +++ b/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/private_typealias/TestSwiftPrivateTypeAlias.py b/lldb/test/API/lang/swift/private_typealias/TestSwiftPrivateTypeAlias.py index c07b41513fbb5..6fdfd779162da 100755 --- a/lldb/test/API/lang/swift/private_typealias/TestSwiftPrivateTypeAlias.py +++ b/lldb/test/API/lang/swift/private_typealias/TestSwiftPrivateTypeAlias.py @@ -20,6 +20,7 @@ class TestSwiftPrivateTypeAlias(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_private_typealias(self): diff --git a/lldb/test/API/lang/swift/protocol_composition_expr/TestSwiftProtocolCompositionExpr.py b/lldb/test/API/lang/swift/protocol_composition_expr/TestSwiftProtocolCompositionExpr.py index f691c6a27063f..9a3db86d3ef1a 100644 --- a/lldb/test/API/lang/swift/protocol_composition_expr/TestSwiftProtocolCompositionExpr.py +++ b/lldb/test/API/lang/swift/protocol_composition_expr/TestSwiftProtocolCompositionExpr.py @@ -5,6 +5,7 @@ class TestSwiftProtocolCompositionExpr(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/protocol_extension_computed_property/TestProtocolExtensionComputerProperty.py b/lldb/test/API/lang/swift/protocol_extension_computed_property/TestProtocolExtensionComputerProperty.py index 02a1961e639f6..10641d1a7a86b 100644 --- a/lldb/test/API/lang/swift/protocol_extension_computed_property/TestProtocolExtensionComputerProperty.py +++ b/lldb/test/API/lang/swift/protocol_extension_computed_property/TestProtocolExtensionComputerProperty.py @@ -4,7 +4,7 @@ lldbinline.MakeInlineTest( __file__, globals(), - decorators=[ + decorators=[skipEmbeddedSwift, swiftTest, skipUnlessDarwin, expectedFailureAll( diff --git a/lldb/test/API/lang/swift/protocol_extension_two/TestProtocolExtensionTwo.py b/lldb/test/API/lang/swift/protocol_extension_two/TestProtocolExtensionTwo.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/protocol_extension_two/TestProtocolExtensionTwo.py +++ b/lldb/test/API/lang/swift/protocol_extension_two/TestProtocolExtensionTwo.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py b/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py index b8cc9413e4b00..e0a301fb9a43f 100644 --- a/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py +++ b/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/protocols/class_protocol/TestSwiftClassConstrainedProtocolArgument.py b/lldb/test/API/lang/swift/protocols/class_protocol/TestSwiftClassConstrainedProtocolArgument.py index 2af32001792a2..4456803aae49f 100644 --- a/lldb/test/API/lang/swift/protocols/class_protocol/TestSwiftClassConstrainedProtocolArgument.py +++ b/lldb/test/API/lang/swift/protocols/class_protocol/TestSwiftClassConstrainedProtocolArgument.py @@ -7,5 +7,5 @@ lldbinline.MakeInlineTest( __file__, globals(), - decorators=[ - swiftTest,skipUnlessDarwin]) + decorators=[skipEmbeddedSwift, + swiftTest,skipUnlessDarwin]) diff --git a/lldb/test/API/lang/swift/protocols/stepping_through_witness/TestSwiftSteppingThroughWitness.py b/lldb/test/API/lang/swift/protocols/stepping_through_witness/TestSwiftSteppingThroughWitness.py index c53cccdb77e31..010728786a197 100644 --- a/lldb/test/API/lang/swift/protocols/stepping_through_witness/TestSwiftSteppingThroughWitness.py +++ b/lldb/test/API/lang/swift/protocols/stepping_through_witness/TestSwiftSteppingThroughWitness.py @@ -14,6 +14,7 @@ def setUp(self): "settings set target.process.thread.step-avoid-libraries libswift_Concurrency.dylib" ) + @skipEmbeddedSwift @swiftTest def test_step_in_and_out(self): """Test that stepping in and out of protocol methods work""" @@ -43,6 +44,7 @@ def test_step_in_and_out(self): frame0 = thread.frames[0] self.assertIn("doMath", frame0.GetFunctionName()) + @skipEmbeddedSwift @swiftTest def test_step_over(self): """Test that stepping over protocol methods work""" diff --git a/lldb/test/API/lang/swift/reference_storage_types/TestSwiftReferenceStorageTypes.py b/lldb/test/API/lang/swift/reference_storage_types/TestSwiftReferenceStorageTypes.py index 750ea86d0a94d..9c28552e3d7f8 100644 --- a/lldb/test/API/lang/swift/reference_storage_types/TestSwiftReferenceStorageTypes.py +++ b/lldb/test/API/lang/swift/reference_storage_types/TestSwiftReferenceStorageTypes.py @@ -20,6 +20,7 @@ class TestSwiftReferenceStorageTypes(TestBase): + @skipEmbeddedSwift @decorators.skipIf(archs=['ppc64le']) #SR-10215 @swiftTest @expectedFailureWindows diff --git a/lldb/test/API/lang/swift/reflection_loading/TestSwiftReflectionLoading.py b/lldb/test/API/lang/swift/reflection_loading/TestSwiftReflectionLoading.py index f597cfa416a51..bca9edf3e1169 100644 --- a/lldb/test/API/lang/swift/reflection_loading/TestSwiftReflectionLoading.py +++ b/lldb/test/API/lang/swift/reflection_loading/TestSwiftReflectionLoading.py @@ -9,6 +9,7 @@ class TestSwiftReflectionLoading(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test(self): diff --git a/lldb/test/API/lang/swift/reflection_only/TestSwiftReflectionOnly.py b/lldb/test/API/lang/swift/reflection_only/TestSwiftReflectionOnly.py index f9ddbc34e24ab..27734a58c001d 100644 --- a/lldb/test/API/lang/swift/reflection_only/TestSwiftReflectionOnly.py +++ b/lldb/test/API/lang/swift/reflection_only/TestSwiftReflectionOnly.py @@ -9,6 +9,7 @@ class TestSwiftReflectionOnly(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @skipIfWindows def test(self): diff --git a/lldb/test/API/lang/swift/regex/TestSwiftRegex.py b/lldb/test/API/lang/swift/regex/TestSwiftRegex.py index d34fde4e7e633..f217469a72cc2 100644 --- a/lldb/test/API/lang/swift/regex/TestSwiftRegex.py +++ b/lldb/test/API/lang/swift/regex/TestSwiftRegex.py @@ -24,6 +24,7 @@ def setUp(self): self.main_source = "main.swift" self.main_source_spec = lldb.SBFileSpec(self.main_source) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIf(macos_version=["<", "13"]) @@ -50,6 +51,7 @@ def test_swift_regex_expr_desc(self): self.expect('expr -O -- dslRegex', substrs=['Regex']) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIf(macos_version=["<", "13"]) @@ -63,6 +65,7 @@ def test_swift_regex_frame_var_desc(self): self.expect('vo dslRegex', substrs=['Regex']) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIf(macos_version=["<", "13"]) @@ -76,6 +79,7 @@ def test_swift_regex_expr(self): self.expect('expr dslRegex', substrs=['(_StringProcessing.Regex) $R1 = {']) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIf(macos_version=["<", "13"]) diff --git a/lldb/test/API/lang/swift/resilience/TestSwiftResilience.py b/lldb/test/API/lang/swift/resilience/TestSwiftResilience.py index 37ad6ad3f5d6e..80dcb1b76a8a2 100644 --- a/lldb/test/API/lang/swift/resilience/TestSwiftResilience.py +++ b/lldb/test/API/lang/swift/resilience/TestSwiftResilience.py @@ -22,6 +22,7 @@ def execute_command(command): class TestSwiftResilience(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest # Because we rename the .swiftmodule files after building the @@ -33,6 +34,7 @@ def test_cross_module_extension_a_a(self): self.build() self.doTestWithFlavor("a", "a") + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIf(debug_info=no_match(["dsym"])) @@ -41,6 +43,7 @@ def test_cross_module_extension_a_b(self): self.build() self.doTestWithFlavor("a", "b") + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIf(debug_info=no_match(["dsym"])) @@ -49,6 +52,7 @@ def test_cross_module_extension_b_a(self): self.build() self.doTestWithFlavor("b", "a") + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIf(debug_info=no_match(["dsym"])) diff --git a/lldb/test/API/lang/swift/resilience_other_module/TestSwiftResilienceOtherModule.py b/lldb/test/API/lang/swift/resilience_other_module/TestSwiftResilienceOtherModule.py index a0c1f070705b2..152dabe80873c 100644 --- a/lldb/test/API/lang/swift/resilience_other_module/TestSwiftResilienceOtherModule.py +++ b/lldb/test/API/lang/swift/resilience_other_module/TestSwiftResilienceOtherModule.py @@ -6,11 +6,13 @@ class TestSwiftResilienceOtherModule(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_with_debug_info(self): self.impl('break here with debug info') + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_without_debug_info(self): diff --git a/lldb/test/API/lang/swift/resilience_private_field/TestSwiftResiliencePrivateField.py b/lldb/test/API/lang/swift/resilience_private_field/TestSwiftResiliencePrivateField.py index 945863ec14e9f..b0c468861800e 100644 --- a/lldb/test/API/lang/swift/resilience_private_field/TestSwiftResiliencePrivateField.py +++ b/lldb/test/API/lang/swift/resilience_private_field/TestSwiftResiliencePrivateField.py @@ -8,6 +8,7 @@ class TestSwiftResiliencePrivateField(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/resilience_private_method/TestSwiftResiliencePrivateMethod.py b/lldb/test/API/lang/swift/resilience_private_method/TestSwiftResiliencePrivateMethod.py index 43271788445e8..9b1a5cfe0e259 100644 --- a/lldb/test/API/lang/swift/resilience_private_method/TestSwiftResiliencePrivateMethod.py +++ b/lldb/test/API/lang/swift/resilience_private_method/TestSwiftResiliencePrivateMethod.py @@ -5,6 +5,7 @@ class TestSwiftResiliencePrivateMethod(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/resilience_superclass/TestSwiftResilienceSuperclass.py b/lldb/test/API/lang/swift/resilience_superclass/TestSwiftResilienceSuperclass.py index 54d8e500bd039..37bd05e57eb13 100644 --- a/lldb/test/API/lang/swift/resilience_superclass/TestSwiftResilienceSuperclass.py +++ b/lldb/test/API/lang/swift/resilience_superclass/TestSwiftResilienceSuperclass.py @@ -5,6 +5,7 @@ class TestSwiftResilienceSuperclass(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/resilience_superclass_mod/TestSwiftResilienceSuperclassMod.py b/lldb/test/API/lang/swift/resilience_superclass_mod/TestSwiftResilienceSuperclassMod.py index 98f4fc27e1d91..93f628cebba4b 100644 --- a/lldb/test/API/lang/swift/resilience_superclass_mod/TestSwiftResilienceSuperclassMod.py +++ b/lldb/test/API/lang/swift/resilience_superclass_mod/TestSwiftResilienceSuperclassMod.py @@ -5,6 +5,7 @@ class TestSwiftResilienceSuperclassMod(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/resilience_superclass_other_mod/TestSwiftResilienceSuperclassOtherMod.py b/lldb/test/API/lang/swift/resilience_superclass_other_mod/TestSwiftResilienceSuperclassOtherMod.py index ce3453789043d..316ab56f85de2 100644 --- a/lldb/test/API/lang/swift/resilience_superclass_other_mod/TestSwiftResilienceSuperclassOtherMod.py +++ b/lldb/test/API/lang/swift/resilience_superclass_other_mod/TestSwiftResilienceSuperclassOtherMod.py @@ -5,6 +5,7 @@ class TestSwiftResilienceSuperclassOtherMod(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/resilience_swiftinterface/TestSwiftResilienceSwiftInterface.py b/lldb/test/API/lang/swift/resilience_swiftinterface/TestSwiftResilienceSwiftInterface.py index e6bfd6fc15488..63fcc2c102b6f 100644 --- a/lldb/test/API/lang/swift/resilience_swiftinterface/TestSwiftResilienceSwiftInterface.py +++ b/lldb/test/API/lang/swift/resilience_swiftinterface/TestSwiftResilienceSwiftInterface.py @@ -6,6 +6,7 @@ class TestSwiftResilienceSwiftInterface(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/runtime_instrumentation_recognizer/TestSwiftRuntimeInstrumentationRecognizer.py b/lldb/test/API/lang/swift/runtime_instrumentation_recognizer/TestSwiftRuntimeInstrumentationRecognizer.py index 8fc90fc0147a1..468aff1365f59 100644 --- a/lldb/test/API/lang/swift/runtime_instrumentation_recognizer/TestSwiftRuntimeInstrumentationRecognizer.py +++ b/lldb/test/API/lang/swift/runtime_instrumentation_recognizer/TestSwiftRuntimeInstrumentationRecognizer.py @@ -5,6 +5,7 @@ class TestSwiftRuntimeInstrumentationRecognizer(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/span/TestSwiftSpan.py b/lldb/test/API/lang/swift/span/TestSwiftSpan.py index d47d718fbc7a7..0eca12338325a 100644 --- a/lldb/test/API/lang/swift/span/TestSwiftSpan.py +++ b/lldb/test/API/lang/swift/span/TestSwiftSpan.py @@ -6,6 +6,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/split_debug/TestSwiftSplitDebug.py b/lldb/test/API/lang/swift/split_debug/TestSwiftSplitDebug.py index f80651bb76cd7..85a71a8d5c30f 100644 --- a/lldb/test/API/lang/swift/split_debug/TestSwiftSplitDebug.py +++ b/lldb/test/API/lang/swift/split_debug/TestSwiftSplitDebug.py @@ -23,6 +23,7 @@ class TestSwiftSplitDebug(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_split_debug_info(self): diff --git a/lldb/test/API/lang/swift/static_linking/macOS/TestSwiftStaticLinkingMacOS.py b/lldb/test/API/lang/swift/static_linking/macOS/TestSwiftStaticLinkingMacOS.py index ba1ac7217ddcc..26221da7f8691 100644 --- a/lldb/test/API/lang/swift/static_linking/macOS/TestSwiftStaticLinkingMacOS.py +++ b/lldb/test/API/lang/swift/static_linking/macOS/TestSwiftStaticLinkingMacOS.py @@ -32,6 +32,7 @@ def expect_self_var_available_at_breakpoint( self.expect("expr self", patterns=patterns, substrs=substrs) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_variables_print_from_both_swift_modules(self): diff --git a/lldb/test/API/lang/swift/step_into_objc_interop_init/TestStepIntoObjCInteropInit.py b/lldb/test/API/lang/swift/step_into_objc_interop_init/TestStepIntoObjCInteropInit.py index b608311065a5d..7ea141e54236b 100644 --- a/lldb/test/API/lang/swift/step_into_objc_interop_init/TestStepIntoObjCInteropInit.py +++ b/lldb/test/API/lang/swift/step_into_objc_interop_init/TestStepIntoObjCInteropInit.py @@ -4,6 +4,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftObjcProtocol(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test(self): diff --git a/lldb/test/API/lang/swift/step_into_override/TestStepIntoOverride.py b/lldb/test/API/lang/swift/step_into_override/TestStepIntoOverride.py index 7e0d750bd35af..a8fa967ebd02d 100644 --- a/lldb/test/API/lang/swift/step_into_override/TestStepIntoOverride.py +++ b/lldb/test/API/lang/swift/step_into_override/TestStepIntoOverride.py @@ -8,6 +8,7 @@ class TestStepIntoOverride(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_stepping(self): diff --git a/lldb/test/API/lang/swift/stepping/TestSwiftStepping.py b/lldb/test/API/lang/swift/stepping/TestSwiftStepping.py index 6c5b6dc0d4f75..59b231b5f93a4 100644 --- a/lldb/test/API/lang/swift/stepping/TestSwiftStepping.py +++ b/lldb/test/API/lang/swift/stepping/TestSwiftStepping.py @@ -24,6 +24,7 @@ class TestSwiftStepping(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest + @skipEmbeddedSwift @expectedFailureWindows @skipIf(oslist=["linux"], archs=no_match("x86_64")) def test_swift_stepping(self): diff --git a/lldb/test/API/lang/swift/struct_change_rerun/TestSwiftStructChangeRerun.py b/lldb/test/API/lang/swift/struct_change_rerun/TestSwiftStructChangeRerun.py index e60b489449787..4797f53212df8 100644 --- a/lldb/test/API/lang/swift/struct_change_rerun/TestSwiftStructChangeRerun.py +++ b/lldb/test/API/lang/swift/struct_change_rerun/TestSwiftStructChangeRerun.py @@ -21,6 +21,7 @@ class TestSwiftStructChangeRerun(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_struct_change_rerun(self): diff --git a/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py b/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py index 18ba37e5dead4..8e2516ad03725 100644 --- a/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py +++ b/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/swift_version/TestSwiftVersion.py b/lldb/test/API/lang/swift/swift_version/TestSwiftVersion.py index c5d48552e113b..4b577e68bd222 100644 --- a/lldb/test/API/lang/swift/swift_version/TestSwiftVersion.py +++ b/lldb/test/API/lang/swift/swift_version/TestSwiftVersion.py @@ -21,6 +21,7 @@ import time class TestSwiftVersion(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_cross_module_extension(self): diff --git a/lldb/test/API/lang/swift/swiftieformatting/TestSwiftieFormatting.py b/lldb/test/API/lang/swift/swiftieformatting/TestSwiftieFormatting.py index e53e1b2e02eff..57f20feaa81b9 100644 --- a/lldb/test/API/lang/swift/swiftieformatting/TestSwiftieFormatting.py +++ b/lldb/test/API/lang/swift/swiftieformatting/TestSwiftieFormatting.py @@ -20,6 +20,7 @@ class TestSwiftieFormatting(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_swiftie_formatting(self): diff --git a/lldb/test/API/lang/swift/swiftui_formatters/TestSwiftUIFormatters.py b/lldb/test/API/lang/swift/swiftui_formatters/TestSwiftUIFormatters.py index 77153a9978ed8..cd445934bf224 100644 --- a/lldb/test/API/lang/swift/swiftui_formatters/TestSwiftUIFormatters.py +++ b/lldb/test/API/lang/swift/swiftui_formatters/TestSwiftUIFormatters.py @@ -8,6 +8,7 @@ @skipIfDarwinEmbedded class TestCase(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_body(self): @@ -17,6 +18,7 @@ def test_body(self): ) self._do_test("self._count", 41, is_graph_update=True) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_appear(self): @@ -28,6 +30,7 @@ def test_appear(self): ) self._do_test("self._count", 41, is_graph_update=False) + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_change(self): diff --git a/lldb/test/API/lang/swift/symbolic_extended_existential/TestSwiftSymbolicExtendedExistential.py b/lldb/test/API/lang/swift/symbolic_extended_existential/TestSwiftSymbolicExtendedExistential.py index 2903a31f3ce97..b82309798424b 100644 --- a/lldb/test/API/lang/swift/symbolic_extended_existential/TestSwiftSymbolicExtendedExistential.py +++ b/lldb/test/API/lang/swift/symbolic_extended_existential/TestSwiftSymbolicExtendedExistential.py @@ -6,6 +6,7 @@ class TestSwiftSymbolicExtendedExistential(lldbtest.TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/system/TestSwiftSystemFilePath.py b/lldb/test/API/lang/swift/system/TestSwiftSystemFilePath.py index 594ff9cfecd6e..38309186e3722 100644 --- a/lldb/test/API/lang/swift/system/TestSwiftSystemFilePath.py +++ b/lldb/test/API/lang/swift/system/TestSwiftSystemFilePath.py @@ -9,6 +9,7 @@ from lldbsuite.test import lldbutil class TestSwiftSystemFilePath(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test(self): diff --git a/lldb/test/API/lang/swift/system_framework/TestSwiftSystemFramework.py b/lldb/test/API/lang/swift/system_framework/TestSwiftSystemFramework.py index 043ae762a2acf..3bfe3a58ceb4d 100644 --- a/lldb/test/API/lang/swift/system_framework/TestSwiftSystemFramework.py +++ b/lldb/test/API/lang/swift/system_framework/TestSwiftSystemFramework.py @@ -8,6 +8,7 @@ class TestSwiftSystemFramework(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @skipIf(oslist=no_match(["macosx"])) def test_system_framework(self): diff --git a/lldb/test/API/lang/swift/tagged_pointer/TestSwiftTaggedPointer.py b/lldb/test/API/lang/swift/tagged_pointer/TestSwiftTaggedPointer.py index b4f6577288771..4b662e363f3bf 100644 --- a/lldb/test/API/lang/swift/tagged_pointer/TestSwiftTaggedPointer.py +++ b/lldb/test/API/lang/swift/tagged_pointer/TestSwiftTaggedPointer.py @@ -7,6 +7,7 @@ class TestSwiftTaggedPointer(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest # This test depends on NSObject, so it is not available on non-Darwin # platforms. diff --git a/lldb/test/API/lang/swift/type_metadata/TestSwiftTypeMetadata.py b/lldb/test/API/lang/swift/type_metadata/TestSwiftTypeMetadata.py index 88681655d0de1..17b1607af6895 100644 --- a/lldb/test/API/lang/swift/type_metadata/TestSwiftTypeMetadata.py +++ b/lldb/test/API/lang/swift/type_metadata/TestSwiftTypeMetadata.py @@ -19,6 +19,7 @@ class SwiftTypeMetadataTest(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_type_metadata(self): diff --git a/lldb/test/API/lang/swift/typealias_othermodule/TestSwiftTypeAliasOthermodule.py b/lldb/test/API/lang/swift/typealias_othermodule/TestSwiftTypeAliasOthermodule.py index 0b370a64be421..a0c943c3378a4 100644 --- a/lldb/test/API/lang/swift/typealias_othermodule/TestSwiftTypeAliasOthermodule.py +++ b/lldb/test/API/lang/swift/typealias_othermodule/TestSwiftTypeAliasOthermodule.py @@ -6,6 +6,7 @@ class TestSwiftTypeAliasOtherModule(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_frame_variable(self): @@ -18,6 +19,7 @@ def test_frame_variable(self): self.expect("continue") self.expect("frame variable -- payload", substrs=["Bool", "true"]) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_expression(self): diff --git a/lldb/test/API/lang/swift/typerefs/objc-descendent/TestSwiftObjCDescendantClassWithoutASTContext.py b/lldb/test/API/lang/swift/typerefs/objc-descendent/TestSwiftObjCDescendantClassWithoutASTContext.py index 532f636d1a5a9..6c8cdc272460e 100644 --- a/lldb/test/API/lang/swift/typerefs/objc-descendent/TestSwiftObjCDescendantClassWithoutASTContext.py +++ b/lldb/test/API/lang/swift/typerefs/objc-descendent/TestSwiftObjCDescendantClassWithoutASTContext.py @@ -5,6 +5,7 @@ class TestCase(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test(self): diff --git a/lldb/test/API/lang/swift/union/TestSwiftCUnion.py b/lldb/test/API/lang/swift/union/TestSwiftCUnion.py index c3f99c6baefbd..f13768ea00b32 100644 --- a/lldb/test/API/lang/swift/union/TestSwiftCUnion.py +++ b/lldb/test/API/lang/swift/union/TestSwiftCUnion.py @@ -9,6 +9,7 @@ class TestSwiftCUnion(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_c_unions(self): diff --git a/lldb/test/API/lang/swift/unknown_reference/TestSwiftUnknownReference.py b/lldb/test/API/lang/swift/unknown_reference/TestSwiftUnknownReference.py index 744a7e2dcd62f..09167eea23ae0 100644 --- a/lldb/test/API/lang/swift/unknown_reference/TestSwiftUnknownReference.py +++ b/lldb/test/API/lang/swift/unknown_reference/TestSwiftUnknownReference.py @@ -28,6 +28,7 @@ def check_class(self, var_self): lldbutil.check_variable(self, m_string, summary='"world"') + @skipEmbeddedSwift @swiftTest @skipUnlessFoundation def test_unknown_objc_ref(self): diff --git a/lldb/test/API/lang/swift/unknown_self/TestSwiftUnknownSelf.py b/lldb/test/API/lang/swift/unknown_self/TestSwiftUnknownSelf.py index 4445f2c8c81e0..c1a804415280a 100644 --- a/lldb/test/API/lang/swift/unknown_self/TestSwiftUnknownSelf.py +++ b/lldb/test/API/lang/swift/unknown_self/TestSwiftUnknownSelf.py @@ -33,6 +33,7 @@ def check_class(self, var_self, weak): substrs=["hello"]) + @skipEmbeddedSwift @skipIf(bugnumber="SR-10216", archs=['ppc64le']) @swiftTest @skipUnlessFoundation diff --git a/lldb/test/API/lang/swift/variables/actor/TestSwiftActorTypes.py b/lldb/test/API/lang/swift/variables/actor/TestSwiftActorTypes.py index 92a3afb9a3980..f234bd7bf26d7 100644 --- a/lldb/test/API/lang/swift/variables/actor/TestSwiftActorTypes.py +++ b/lldb/test/API/lang/swift/variables/actor/TestSwiftActorTypes.py @@ -9,6 +9,7 @@ class TestSwiftActorTypes(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_class_types(self): diff --git a/lldb/test/API/lang/swift/variables/bridged_string/TestSwiftBridgedStringVariables.py b/lldb/test/API/lang/swift/variables/bridged_string/TestSwiftBridgedStringVariables.py index 6ef0ba7d3a79f..27aea658b6bcd 100644 --- a/lldb/test/API/lang/swift/variables/bridged_string/TestSwiftBridgedStringVariables.py +++ b/lldb/test/API/lang/swift/variables/bridged_string/TestSwiftBridgedStringVariables.py @@ -23,6 +23,7 @@ class TestSwiftBridgedStringVariables(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_swift_bridged_string_variables(self): diff --git a/lldb/test/API/lang/swift/variables/bulky_enums/TestBulkyEnumsVariables.py b/lldb/test/API/lang/swift/variables/bulky_enums/TestBulkyEnumsVariables.py index 1d0d4243a1846..9841916c9453e 100644 --- a/lldb/test/API/lang/swift/variables/bulky_enums/TestBulkyEnumsVariables.py +++ b/lldb/test/API/lang/swift/variables/bulky_enums/TestBulkyEnumsVariables.py @@ -20,6 +20,7 @@ class TestBulkyEnumVariables(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_bulky_enum_variables(self): diff --git a/lldb/test/API/lang/swift/variables/cgtypes/TestCGTypes.py b/lldb/test/API/lang/swift/variables/cgtypes/TestCGTypes.py index 476f4bd38bb65..bd76fd10ef688 100644 --- a/lldb/test/API/lang/swift/variables/cgtypes/TestCGTypes.py +++ b/lldb/test/API/lang/swift/variables/cgtypes/TestCGTypes.py @@ -20,6 +20,7 @@ class TestSwiftCoreGraphicsTypes(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test_swift_coregraphics_types(self): diff --git a/lldb/test/API/lang/swift/variables/consume_operator_async/TestSwiftConsumeOperatorAsync.py b/lldb/test/API/lang/swift/variables/consume_operator_async/TestSwiftConsumeOperatorAsync.py index 6303ab864cb95..f380785cb771f 100644 --- a/lldb/test/API/lang/swift/variables/consume_operator_async/TestSwiftConsumeOperatorAsync.py +++ b/lldb/test/API/lang/swift/variables/consume_operator_async/TestSwiftConsumeOperatorAsync.py @@ -24,6 +24,7 @@ def stderr_print(line): sys.stderr.write(line + "\n") class TestSwiftConsumeOperatorAsyncType(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_consume_operator_async(self): diff --git a/lldb/test/API/lang/swift/variables/dict_nsobj_anyobj/TestSwiftDictionaryNSObjectAnyObject.py b/lldb/test/API/lang/swift/variables/dict_nsobj_anyobj/TestSwiftDictionaryNSObjectAnyObject.py index 7f1ed1ae77ac1..b6cfed9a12226 100644 --- a/lldb/test/API/lang/swift/variables/dict_nsobj_anyobj/TestSwiftDictionaryNSObjectAnyObject.py +++ b/lldb/test/API/lang/swift/variables/dict_nsobj_anyobj/TestSwiftDictionaryNSObjectAnyObject.py @@ -20,6 +20,7 @@ class TestDictionaryNSObjectAnyObject(TestBase): + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_dictionary_nsobject_any_object(self): diff --git a/lldb/test/API/lang/swift/variables/dictionary/TestSwiftStdlibDictionary.py b/lldb/test/API/lang/swift/variables/dictionary/TestSwiftStdlibDictionary.py index 0437d5a384f3c..d266017969269 100644 --- a/lldb/test/API/lang/swift/variables/dictionary/TestSwiftStdlibDictionary.py +++ b/lldb/test/API/lang/swift/variables/dictionary/TestSwiftStdlibDictionary.py @@ -83,6 +83,7 @@ def find_dictionary_entry( found, ("found a not expected child for '%s':'%s'" % (key_str, value_str))) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows # @skipIfLinux # bugs.swift.org/SR-844 diff --git a/lldb/test/API/lang/swift/variables/enums/TestSwiftEnumVariables.py b/lldb/test/API/lang/swift/variables/enums/TestSwiftEnumVariables.py index a1c3cea24d822..987596f4b2c89 100644 --- a/lldb/test/API/lang/swift/variables/enums/TestSwiftEnumVariables.py +++ b/lldb/test/API/lang/swift/variables/enums/TestSwiftEnumVariables.py @@ -20,6 +20,7 @@ class TestEnumVariables(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_enum_variables(self): diff --git a/lldb/test/API/lang/swift/variables/error_type/TestSwiftErrorType.py b/lldb/test/API/lang/swift/variables/error_type/TestSwiftErrorType.py index 46b5b16936d56..ffc0c5ac19171 100644 --- a/lldb/test/API/lang/swift/variables/error_type/TestSwiftErrorType.py +++ b/lldb/test/API/lang/swift/variables/error_type/TestSwiftErrorType.py @@ -15,6 +15,7 @@ import lldbsuite.test.lldbutil as lldbutil class TestSwiftErrorType(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test(self): diff --git a/lldb/test/API/lang/swift/variables/generic_enums/TestSwiftGenericEnums.py b/lldb/test/API/lang/swift/variables/generic_enums/TestSwiftGenericEnums.py index b39bf851d7575..a5ce9bba8ec1e 100644 --- a/lldb/test/API/lang/swift/variables/generic_enums/TestSwiftGenericEnums.py +++ b/lldb/test/API/lang/swift/variables/generic_enums/TestSwiftGenericEnums.py @@ -26,6 +26,7 @@ def get_variable(self, name): var.SetPreferSyntheticValue(True) return var + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_generic_enum_types(self): diff --git a/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_array/TestSwiftGenericStructDebugInfoGenericArray.py b/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_array/TestSwiftGenericStructDebugInfoGenericArray.py index a54f58fe6879c..af4abe0e5988d 100644 --- a/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_array/TestSwiftGenericStructDebugInfoGenericArray.py +++ b/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_array/TestSwiftGenericStructDebugInfoGenericArray.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_flatmap/TestSwiftGenericStructDebugInfoGenericFlatMap.py b/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_flatmap/TestSwiftGenericStructDebugInfoGenericFlatMap.py index bfdf41d9b9f58..5425a297fb64f 100644 --- a/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_flatmap/TestSwiftGenericStructDebugInfoGenericFlatMap.py +++ b/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_flatmap/TestSwiftGenericStructDebugInfoGenericFlatMap.py @@ -13,5 +13,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/variables/generic_tuple_labels/TestSwiftGenericTupleLabels.py b/lldb/test/API/lang/swift/variables/generic_tuple_labels/TestSwiftGenericTupleLabels.py index eeb5e4d5b67c0..75905db42f271 100644 --- a/lldb/test/API/lang/swift/variables/generic_tuple_labels/TestSwiftGenericTupleLabels.py +++ b/lldb/test/API/lang/swift/variables/generic_tuple_labels/TestSwiftGenericTupleLabels.py @@ -26,6 +26,7 @@ class TestSwiftGenericTupleLabels(lldbtest.TestBase): def setUp(self): lldbtest.TestBase.setUp(self) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_generic_tuple_labels(self): diff --git a/lldb/test/API/lang/swift/variables/generics/TestSwiftGenericTypes.py b/lldb/test/API/lang/swift/variables/generics/TestSwiftGenericTypes.py index ce3ab74a62d85..8da8ebfbd82bb 100644 --- a/lldb/test/API/lang/swift/variables/generics/TestSwiftGenericTypes.py +++ b/lldb/test/API/lang/swift/variables/generics/TestSwiftGenericTypes.py @@ -20,6 +20,7 @@ class TestSwiftGenericTypes(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_generic_types(self): diff --git a/lldb/test/API/lang/swift/variables/globals/TestSwiftGlobals.py b/lldb/test/API/lang/swift/variables/globals/TestSwiftGlobals.py index 909d25ce387ca..4e4c05d88c965 100644 --- a/lldb/test/API/lang/swift/variables/globals/TestSwiftGlobals.py +++ b/lldb/test/API/lang/swift/variables/globals/TestSwiftGlobals.py @@ -20,6 +20,7 @@ class TestSwiftGlobals(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_globals(self): diff --git a/lldb/test/API/lang/swift/variables/indirect_enums/TestIndirectEnumVariables.py b/lldb/test/API/lang/swift/variables/indirect_enums/TestIndirectEnumVariables.py index 72d572bd72b6b..e3fccc3abb29f 100644 --- a/lldb/test/API/lang/swift/variables/indirect_enums/TestIndirectEnumVariables.py +++ b/lldb/test/API/lang/swift/variables/indirect_enums/TestIndirectEnumVariables.py @@ -20,6 +20,7 @@ class TestIndirectEnumVariables(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_indirect_cases_variables(self): @@ -27,6 +28,7 @@ def test_indirect_cases_variables(self): self.build() self.do_test("indirect case break here") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_indirect_enum_variables(self): diff --git a/lldb/test/API/lang/swift/variables/inout/TestInOutVariables.py b/lldb/test/API/lang/swift/variables/inout/TestInOutVariables.py index a2bbe38d7a64d..cfdba153a66b1 100644 --- a/lldb/test/API/lang/swift/variables/inout/TestInOutVariables.py +++ b/lldb/test/API/lang/swift/variables/inout/TestInOutVariables.py @@ -18,6 +18,7 @@ class TestInOutVariables(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_in_out_variables(self): diff --git a/lldb/test/API/lang/swift/variables/objc/TestSwiftObjCImportedTypes.py b/lldb/test/API/lang/swift/variables/objc/TestSwiftObjCImportedTypes.py index 5eb0ff9dd0099..6d3ddef097f1f 100644 --- a/lldb/test/API/lang/swift/variables/objc/TestSwiftObjCImportedTypes.py +++ b/lldb/test/API/lang/swift/variables/objc/TestSwiftObjCImportedTypes.py @@ -20,6 +20,7 @@ class TestSwiftObjCImportedTypes(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test_swift_objc_imported_types(self): diff --git a/lldb/test/API/lang/swift/variables/objc_optionals/TestSwiftObjCOptionals.py b/lldb/test/API/lang/swift/variables/objc_optionals/TestSwiftObjCOptionals.py index 8a3885486bce0..bcd35743dd955 100644 --- a/lldb/test/API/lang/swift/variables/objc_optionals/TestSwiftObjCOptionals.py +++ b/lldb/test/API/lang/swift/variables/objc_optionals/TestSwiftObjCOptionals.py @@ -20,6 +20,7 @@ class TestSwiftObjCOptionalType(TestBase): + @skipEmbeddedSwift @swiftTest @skipUnlessDarwin def test_swift_objc_optional_type(self): diff --git a/lldb/test/API/lang/swift/variables/protocol/TestSwiftProtocolTypes.py b/lldb/test/API/lang/swift/variables/protocol/TestSwiftProtocolTypes.py index 8c4a08b944f30..981d44ae8b870 100644 --- a/lldb/test/API/lang/swift/variables/protocol/TestSwiftProtocolTypes.py +++ b/lldb/test/API/lang/swift/variables/protocol/TestSwiftProtocolTypes.py @@ -19,6 +19,7 @@ class TestSwiftProtocolTypes(TestBase): + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_swift_protocol_types(self): diff --git a/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py b/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py index 4166dac36d558..eac302f5c35c5 100644 --- a/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py +++ b/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py @@ -21,6 +21,7 @@ class TestSwiftStdlibSet(TestBase): @swiftTest + @skipEmbeddedSwiftOnLinux # Linker failure with arc4random_buf @expectedFailureWindows def test_swift_stdlib_set(self): """Tests that we properly vend synthetic children for Swift.Set""" diff --git a/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py b/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py index 10419f81d27d6..d2df4d3c95a5f 100644 --- a/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py +++ b/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py @@ -2,5 +2,6 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest, expectedFailureWindows] + __file__, globals(), decorators=[skipEmbeddedSwift, + swiftTest, expectedFailureWindows] ) diff --git a/lldb/test/API/lang/swift/variables/value_of_optionals/TestSwiftValueOfOptionals.py b/lldb/test/API/lang/swift/variables/value_of_optionals/TestSwiftValueOfOptionals.py index c81995b1b1696..56b87d9bd5ccd 100644 --- a/lldb/test/API/lang/swift/variables/value_of_optionals/TestSwiftValueOfOptionals.py +++ b/lldb/test/API/lang/swift/variables/value_of_optionals/TestSwiftValueOfOptionals.py @@ -22,6 +22,7 @@ class TestSwiftValueOfOptionalType(TestBase): TEST_WITH_PDB_DEBUG_INFO = True + @skipEmbeddedSwift @swiftTest def test_swift_value_optional_type(self): """Check that trying to read an optional's numeric value doesn't crash LLDB""" diff --git a/lldb/test/API/lang/swift/variadic_generics/TestSwiftVariadicGenerics.py b/lldb/test/API/lang/swift/variadic_generics/TestSwiftVariadicGenerics.py index 9a6a731fad4ae..4fa572c6b7d78 100644 --- a/lldb/test/API/lang/swift/variadic_generics/TestSwiftVariadicGenerics.py +++ b/lldb/test/API/lang/swift/variadic_generics/TestSwiftVariadicGenerics.py @@ -6,6 +6,7 @@ class TestSwiftVariadicGenerics(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest @skipIfAsan # rdar://152465885 Address Sanitizer assert doing `expr --bind-generic-types=false -- 0` diff --git a/lldb/test/API/lang/swift/yielding_accessors/TestSwiftYieldingAccessors.py b/lldb/test/API/lang/swift/yielding_accessors/TestSwiftYieldingAccessors.py index 6afc13826b9c8..10952e7fe70b8 100644 --- a/lldb/test/API/lang/swift/yielding_accessors/TestSwiftYieldingAccessors.py +++ b/lldb/test/API/lang/swift/yielding_accessors/TestSwiftYieldingAccessors.py @@ -52,6 +52,7 @@ def test_correct_number_of_breakpoints(self): ) self.assertEqual(breakpoint.GetNumLocations(), 1, breakpoint) + @skipEmbeddedSwift @swiftTest @expectedFailureWindows @skipIf(oslist=["linux"], archs=no_match("x86_64")) # rdar://170532470 @@ -69,6 +70,7 @@ def test_step_over_starting_inside_coroutine(self): thread.StepOver() self.hit_correct_line(thread, "last main line") + @skipEmbeddedSwift @swiftTest @expectedFailureWindows def test_step_in_and_out_callsite(self): diff --git a/lldb/test/API/python_api/sbvalue_updates/TestSBValueUpdates.py b/lldb/test/API/python_api/sbvalue_updates/TestSBValueUpdates.py index c089052cb9280..783dc7fccee12 100644 --- a/lldb/test/API/python_api/sbvalue_updates/TestSBValueUpdates.py +++ b/lldb/test/API/python_api/sbvalue_updates/TestSBValueUpdates.py @@ -12,6 +12,7 @@ class TestSBValueUpdates(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @decorators.swiftTest + @decorators.skipEmbeddedSwift @decorators.expectedFailureWindows def test_update_and_format_with_type_change(self): """Test that an SBValue can update and format itself as its type diff --git a/lldb/test/API/repl/cpp_exceptions/TestSwiftCPPExceptionsInREPL.py b/lldb/test/API/repl/cpp_exceptions/TestSwiftCPPExceptionsInREPL.py index 26bb55ab2da6d..8daedb51ad3e9 100644 --- a/lldb/test/API/repl/cpp_exceptions/TestSwiftCPPExceptionsInREPL.py +++ b/lldb/test/API/repl/cpp_exceptions/TestSwiftCPPExceptionsInREPL.py @@ -31,6 +31,7 @@ def DISABLED_test_set_repl_mode_exceptions(self): self.main_source_file = lldb.SBFileSpec("main.swift") self.do_repl_mode_test() + @skipEmbeddedSwift @skipUnlessDarwin @swiftTest def test_repl_exceptions(self):