From d6b898b09cecde7a377dabad215a37036797d9e5 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Tue, 31 Mar 2026 08:06:29 +0100 Subject: [PATCH 1/2] [lldb][swift] Add inline test variant This adds a Swift test variant that run each Swift test with the test target compiled as embedded Swift. --- .../Python/lldbsuite/test/decorators.py | 27 +++++++++++++++++++ .../Python/lldbsuite/test/lldbtest.py | 19 +++++++++++++ .../Python/lldbsuite/test/test_categories.py | 7 +++++ 3 files changed, 53 insertions(+) diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py index ef0df4785384f..a9717fc8403db 100644 --- a/lldb/packages/Python/lldbsuite/test/decorators.py +++ b/lldb/packages/Python/lldbsuite/test/decorators.py @@ -984,6 +984,33 @@ 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 skipEmbeddedSwiftOnWindows(func): + def skip_fn(swift_embedded=None, **kwargs): + if swift_embedded == "swift_embedded" and lldbplatformutil.getPlatform() == "windows": + return "not supported in embedded Swift on Windows" + 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/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 758f91cbe17be..544575339866d 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() @@ -1539,6 +1541,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): @@ -1944,6 +1948,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( @@ -1953,6 +1965,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", } From dc5765a59118c1a1597cd5da5e5197eb30c3e962 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Tue, 28 Apr 2026 11:01:26 +0100 Subject: [PATCH 2/2] [lldb][test] skip tests that fail when compiled as embedded Swift --- .../Python/lldbsuite/test/lldbplaygroundrepl.py | 1 + .../commands/dwim-print/swift/TestSwiftDWIMPrint.py | 3 +++ .../swift/TestSwiftPersistentResult.py | 4 ++++ .../direct-ivar/swift/TestSwiftFrameVarDirectIvar.py | 2 ++ .../target/modules/swift/TestSwiftImageLookupPC.py | 1 + .../API/functionalities/asan/swift/TestSwiftAsan.py | 1 + .../swift_exception/TestExpressionErrorBreakpoint.py | 4 ++++ .../TestSwiftPropertyAccessorBreakpoints.py | 1 + .../data-formatter/poarray/TestPrintObjectArray.py | 2 ++ .../swift-typealias/TestSwiftTypeAliasFormatters.py | 1 + .../swift-unsafe/TestSwiftUnsafeTypeFormatters.py | 2 +- .../array-slice/TestSwiftArraySliceFormatters.py | 1 + .../TestSwiftBridgedStringFormatters.py | 1 + .../swift/date/TestSwiftDateFormatters.py | 1 + .../string-index/TestSwiftStringIndexFormatters.py | 1 + .../swift/substring/TestSwiftSubstringFormatters.py | 1 + .../mtc/swift-property/TestSwiftMTCProperty.py | 1 + .../API/functionalities/mtc/swift/TestSwiftMTC.py | 1 + .../TestSwiftProgressReporting.py | 1 + .../TestExclusivityViolation.py | 1 + .../swift-access-race/TestSwiftTsanAccessRace.py | 1 + .../API/functionalities/tsan/swift/TestSwiftTsan.py | 1 + .../lang/swift/accelerate_simd/TestAccelerateSIMD.py | 2 +- .../API/lang/swift/address_of/TestSwiftAddressOf.py | 1 + lldb/test/API/lang/swift/any/TestSwiftAnyType.py | 1 + .../lang/swift/any_object/TestSwiftAnyObjectType.py | 1 + .../API/lang/swift/anytype_array/TestAnyTypeArray.py | 2 +- .../TestArchetypeInConditionalBreakpoint.py | 4 ++++ .../TestArchetypeInExpression.py | 1 + .../TestSwiftArchetypeResolution.py | 1 + .../TestArchetypeResolutionSubclass.py | 2 +- .../swift/array_bridged_enum/TestArrayBridgedEnum.py | 3 ++- .../swift/array_element/TestSwiftArrayElement.py | 2 +- lldb/test/API/lang/swift/array_enum/TestArrayEnum.py | 2 +- .../TestSwiftArrayTupleResilient.py | 3 ++- .../TestSwiftArrayUninitialized.py | 1 + .../TestSwiftArtificialSubclass.py | 1 + .../TestSwiftAssociatedSelfType.py | 2 +- .../TestSwiftAssociatedTypeResolution.py | 1 + .../TestSwiftActorUnprioritisedJobs.py | 1 + .../swift/async/async_fnargs/TestSwiftAsyncFnArgs.py | 1 + .../continuations/TestSwiftContinuationSynthetic.py | 2 ++ .../swift/async/expr/TestSwiftAsyncExpressions.py | 1 + .../task/TestSwiftTaskSyntheticProvider.py | 2 ++ .../task/children/TestSwiftSyntheticTaskChildren.py | 1 + .../task/complete/TestSwiftTaskComplete.py | 1 + .../async/formatters/task/name/TestSwiftTaskName.py | 2 ++ .../task/parent/TestSwiftSyntheticTaskParent.py | 1 + .../task/suspended/TestSwiftTaskSuspended.py | 1 + .../taskpriority/TestSwiftTaskPrioritySummary.py | 1 + .../async/frame/variable/TestSwiftAsyncFrameVar.py | 1 + .../TestSwiftAsyncFrameVarMultipleFrames.py | 1 + .../lang/swift/async/queues/TestSwiftPluginQueues.py | 1 + .../async/stepping/step-in/TestSwiftStepInAsync.py | 1 + .../step-in/task-switch/TestSwiftTaskSwitch.py | 1 + .../async/stepping/step_out/TestSteppingOutAsync.py | 1 + .../stepping/step_over/TestSwiftAsyncStepOver.py | 2 ++ .../TestSwiftAsyncStepOverAsyncLet.py | 2 ++ .../async/taskgroups/TestSwiftTaskGroupSynthetic.py | 4 ++++ .../lang/swift/async/tasks/TestSwiftTaskBacktrace.py | 2 ++ .../lang/swift/async/tasks/TestSwiftTaskSelect.py | 4 ++++ .../lang/swift/async/tasks/info/TestSwiftTaskInfo.py | 2 ++ .../lang/swift/async/tasks/list/TestSwiftTaskList.py | 1 + .../lang/swift/async/tasks/tree/TestSwiftTaskTree.py | 1 + .../TestDisableLanguageUnwinder.py | 1 + .../hidden_frames/TestSwiftAsyncHiddenFrames.py | 1 + .../async/unwind/sayhello/TestSwiftAsyncUnwind.py | 1 + .../unwind/short_unwind/TestSwiftShortAsyncUnwind.py | 1 + .../TestSwiftAsyncUnwindAllInstructions.py | 1 + .../TestSwiftAsyncUnwindRecursiveQFunclets.py | 1 + .../TestSwiftAsyncUnwindRegisterPressure.py | 1 + .../swift/async/variables/TestSwiftAsyncVariables.py | 1 + .../async_breakpoints/TestSwiftAsyncBreakpoints.py | 1 + .../TestSwiftAsyncBreakpointsOverManyFunclets.py | 1 + .../lang/swift/availability/TestSwiftAvailability.py | 1 + .../TestSwiftBigMultiPayloadEnum.py | 2 ++ .../TestSwiftBreakByPartialName.py | 1 + .../bridged_metatype/TestSwiftBridgedMetatype.py | 1 + .../lang/swift/bridged_url/TestSwiftBridgedURL.py | 1 + .../swift/bt_printing/TestSwiftBacktracePrinting.py | 1 + .../API/lang/swift/c_type_ivar/TestSwiftCTypeIvar.py | 1 + lldb/test/API/lang/swift/cf/uuid/TestCFUUID.py | 1 + .../clangimporter/Werror/TestSwiftStripWerror.py | 1 + .../TestSwiftBridgingHeaderHeadermap.py | 1 + .../caching/TestSwiftClangImporterCaching.py | 1 + .../class_nsbaseclass/TestSwiftNSClassBaseClass.py | 1 + .../config_macros/TestSwiftDedupMacros.py | 1 + .../TestSwiftClangImporterCustomAlignment.py | 1 + .../TestSwiftDynamicTypeResolutionImportConflict.py | 1 + .../TestSwiftClangImporterExplicitNoImplicit.py | 1 + .../clangimporter/expr_import/TestSwiftExprImport.py | 1 + .../TestSwiftClangImporterExtraInhabitants.py | 1 + .../fmodule_flags/TestSwiftFModuleFlags.py | 1 + .../TestSwiftHardMacroConflict.py | 1 + .../headermap_conflict/TestSwiftHeadermapConflict.py | 1 + .../include_conflict/TestSwiftIncludeConflict.py | 1 + .../clangimporter/missing_pch/TestSwiftMissingPCH.py | 1 + .../lang/swift/clangimporter/nserror/TestNSError.py | 1 + .../nsinteger_nsenum/TestSwiftNSIntegerNSEnum.py | 2 ++ .../objc-interop/TestSwiftObjCInterop.py | 3 ++- .../dynamic-swift-type/TestSwiftObjCDynamicType.py | 1 + .../TestSwiftObjCBaseClassMemberLookup.py | 1 + .../objc_inherited_ivars/TestSwiftAtObjCIvars.py | 1 + .../objc_optional_dict/TestSwiftObjCOptionalDict.py | 1 + .../objc_protocol/TestSwiftObjCProtocol.py | 1 + .../TestSwiftObjCProtocolFields.py | 1 + .../objc_runtime_ivars/TestObjCIvarDiscovery.py | 2 ++ ...stSwiftObjCMainConflictingDylibsBridgingHeader.py | 1 + ...estSwiftObjCMainConflictingDylibsFailingImport.py | 1 + .../TestSwiftClangOverrideOptions.py | 1 + .../TestSwiftClangImporterProtocolComposition.py | 1 + .../remoteast_import/TestSwiftRemoteASTImport.py | 1 + .../TestSwiftRewriteClangPaths.py | 2 ++ .../TestSwiftStaticArchiveTwoSwiftmodules.py | 1 + .../submodules/TestSwiftSubmoduleImport.py | 1 + .../clashing_abi_name/TestSwiftClashingABIName.py | 2 ++ .../swift/class_baseclass/TestSwiftClassBaseClass.py | 1 + .../lang/swift/class_empty/TestSwiftClassEmpty.py | 2 +- .../API/lang/swift/class_error/TestClassError.py | 2 +- .../lang/swift/class_static/TestSwiftClassStatic.py | 2 +- .../swift/closure_shortcuts/TestClosureShortcuts.py | 1 + .../TestSwiftClosureVarNotCaptured.py | 7 +++++++ .../TestSwiftCommandMemoryFind.py | 1 + .../swift/command_memory_read/TestSwiftMemoryRead.py | 1 + .../TestSwiftConditionalBreakpoint.py | 2 ++ .../TestSwiftConstrainedExistential.py | 1 + .../TestSwiftCrossModuleExtension.py | 1 + .../TestSwiftBackwardInteropExpressions.py | 1 + .../TestSwiftBackwardInteropSteppingClass.py | 12 ++++++++++++ .../stepping/TestSwiftBackwardInteropSteppingFunc.py | 2 ++ .../TestSwiftBackwardInteropSteppingStruct.py | 10 ++++++++++ .../TestSwiftForwardInteropCxxClassAsExistential.py | 1 + .../cxx-class/TestSwiftForwardInteropCxxClass.py | 1 + .../langopt/TestSwiftForwardInteropCxxLangOpt.py | 1 + .../TestSwiftForwardInteropStepping.py | 1 + .../TestSwiftForwardInteropSteppingHeaderOnly.py | 1 + .../stl-types/TestSwiftForwardInteropSTLTypes.py | 1 + .../debug_prefix_map/TestSwiftDebugPrefixMap.py | 1 + .../delayed_parsing_crash/TestDelayedParsingCrash.py | 2 +- .../deployment_target/TestSwiftDeploymentTarget.py | 4 ++++ .../TestSwiftDeserializationFailure.py | 2 ++ .../TestDesignatedInitializerSelf.py | 2 +- .../different_abi_name/TestSwiftDifferentABIName.py | 1 + .../TestSwiftDifferentClangFlags.py | 1 + .../swift/dwarfimporter/C/TestSwiftDWARFImporterC.py | 1 + .../MemberTypes/TestSwiftDWARFImporterMemberTypes.py | 1 + .../Objective-C/TestSwiftDWARFImporterObjC.py | 3 +++ .../from_dylib/TestSwiftDWARFImporterFromDylib.py | 1 + .../objc-header/TestSwiftDWARFImporter-Swift.py | 1 + .../lang/swift/dynamic_self/TestSwiftDynamicSelf.py | 1 + .../swift/dynamic_value/TestSwiftDynamicValue.py | 1 + .../TestSwiftEmbeddedAsyncStreamContinuation.py | 1 + .../builtin_types/TestSwiftEmbeddedBuiltinTypes.py | 1 + .../TestSwiftEmbeddedClassTypeResolution.py | 1 + .../closure_types/TestSwiftEmbeddedClosureTypes.py | 1 + .../TestSwiftEmbeddedDictionaryFormatting.py | 1 + .../empty_array/TestSwiftEmbeddedEmptyArray.py | 3 ++- .../TestSwiftEmbeddedEnumTypealiasPayload.py | 1 + .../TestSwiftEmbeddedExistentialAssociatedType.py | 1 + .../TestSwiftEmbeddedExistentialTypeResolution.py | 1 + .../embedded/expr/TestSwiftEmbeddedExpression.py | 1 + .../frame_variable/TestSwiftEmbeddedFrameVariable.py | 12 +++++++----- .../TestSwiftEmbeddedGenericClassInheritance.py | 1 + ...estSwiftEmbeddedGenericClassProtocolConstraint.py | 1 + .../TestSwiftEmbeddedMultiPayloadEnum.py | 4 ++++ .../TestSwiftEmbeddedNestedFrameVariable.py | 2 ++ .../raw_value_enum/TestSwiftEmbeddedRawValueEnum.py | 1 + .../lang/swift/embedded/set/TestSwiftEmbeddedSet.py | 3 ++- .../embedded/typealias/TestSwiftEmbeddedTypealias.py | 1 + .../TestSwiftEmbeddedUnsafeRawBufferPointer.py | 1 + .../swift/enable_testing/TestSwiftEnableTesting.py | 1 + .../lang/swift/enum_as_value/TestSwiftEnumAsValue.py | 1 + .../lang/swift/enum_associated/TestEnumAssociated.py | 2 +- .../API/lang/swift/enum_objc/TestSwiftEnumObjC.py | 1 + .../API/lang/swift/enum_tagged/TestEnumTagged.py | 2 +- .../decoding_error/TestSwiftDecodingErrorEnum.py | 1 + .../swift/enums/extension/TestSwiftEnumExtension.py | 2 ++ .../swift/enums/indirect/TestSwiftEnumIndirect.py | 1 + .../TestSwiftSingleCaseIndirectEnum.py | 1 + .../TestSwiftErrorHandlingMissingType.py | 1 + .../TestSwiftExplicitModulesBridgingHeader.py | 1 + .../TestSwiftExplicitModulesBridgingHeaderCaching.py | 1 + .../caching/TestSwiftExplicitModuleCaching.py | 1 + .../TestSwiftExplicitModulesChainedBridgingHeader.py | 1 + .../TestSwiftExplicitModulesImplicitFallback.py | 3 +++ .../TestSwiftExplicitModulePrivateTypeGeneric.py | 1 + .../simple/TestSwiftExplicitModules.py | 3 +++ .../TestSwiftExpressionAccessControl.py | 1 + .../expression/actor/TestSwiftExpressionActor.py | 2 ++ .../expression/allocator/TestSwiftExprAllocator.py | 1 + .../expression/basic/TestSwiftBasicExpression.py | 2 +- .../TestClassConstrainedProtocol.py | 4 ++++ .../TestSwiftExpressionsInMethodsFromObjc.py | 1 + .../classes/open/TestSwiftExpressionOpenClass.py | 1 + .../TestSwiftExpressionOpenResilientClass.py | 1 + .../TestSwiftExpressionsInMethodsPureSwift.py | 1 + .../swift/expression/empty_self/TestEmptySelf.py | 2 +- .../equality_operators/TestEqualityOperators.py | 2 ++ .../TestSwiftExpressionErrorMissingType.py | 1 + .../TestSwiftExpressionErrorReporting.py | 4 ++++ .../swift/expression/errors/TestExpressionErrors.py | 2 +- .../TestExclusivitySuppression.py | 2 ++ .../TestSwiftFunctionDefinition.py | 1 + .../generic/TestSwiftGenericExpressions.py | 3 +++ .../TestGenericProtocolExtension.py | 2 +- .../TestSwiftImportSearchPaths.py | 2 +- .../TestSwiftExpressionLanguageVersion.py | 1 + .../missing_type/TestSwiftExprMissingType.py | 1 + .../TestSwiftMutablePersistentVar.py | 1 + .../TestMutatingStructExtension.py | 2 +- .../objc_context/TestSwiftExpressionObjCContext.py | 1 + .../optional_amibiguity/TestOptionalAmbiguity.py | 3 ++- .../overload/TestDefiningOverloadedFunctions.py | 1 + .../TestExprInProtocolExtension.py | 1 + .../TestSwiftProtocolExtensionSelf.py | 1 + .../swift/expression/scopes/TestExpressionScopes.py | 1 + .../API/lang/swift/expression/self/TestSwiftSelf.py | 2 +- .../expression/simple/TestSwiftSimpleExpressions.py | 1 + .../static/TestSwiftExpressionsInClassFunctions.py | 1 + .../submodule_import/TestSubmoduleImport.py | 1 + .../typealias/TestSwiftExpressionTypeAlias.py | 1 + .../weak_generic_self/TestSwiftWeakGenericSelf.py | 1 + .../lang/swift/expression/weak_self/TestWeakSelf.py | 3 ++- .../TestExternalProviderExtraInhabitants.py | 1 + .../API/lang/swift/file_private/TestFilePrivate.py | 1 + .../TestSwiftFirstExprModuleLoad.py | 1 + lldb/test/API/lang/swift/fixits/TestSwiftFixIts.py | 1 + .../API/lang/swift/foundation/TestSwiftFoundation.py | 3 ++- .../TestSwiftFoundationTypeCFStringRef.py | 1 + .../data/TestSwiftFoundationTypeData.py | 2 +- .../date/TestSwiftFoundationTypeDate.py | 3 ++- .../decimal/TestSwiftFoundationTypeDecimal.py | 3 ++- .../global/TestSwiftFoundationTypeGlobal.py | 1 + .../indexpath/TestSwiftFoundationTypeIndexPath.py | 3 ++- .../TestSwiftFoundationTypeMeasurement.py | 2 ++ .../url/TestSwiftFoundationTypeURL.py | 1 + .../uuid/TestSwiftFoundationTypeUUID.py | 3 ++- .../TestFullyRealizedFrameVar.py | 2 +- .../swift/framework_paths/TestSwiftFrameworkPaths.py | 1 + .../TestSwiftGenericArgInExtension.py | 2 +- .../TestSwiftGenericArgumentTypes.py | 1 + .../swift/generic_class/TestSwiftGenericClass.py | 1 + .../generic_class_arg/TestSwiftGenericClassArg.py | 2 +- .../API/lang/swift/generic_error/TestGenericError.py | 2 +- .../generic_error_tuple/TestGenericErrorTuple.py | 2 +- .../generic_existentials/TestGenericExistentials.py | 2 +- .../generic_extension/TestSwiftGenericExtension.py | 1 + .../TestGenericExtensionsTypealias.py | 2 +- .../TestSwiftGenericFunctionName.py | 1 + .../TestGenericObjcClassWrapper.py | 3 ++- .../lang/swift/generic_self/TestSwiftGenericSelf.py | 2 +- .../TestGenericStructWithOptional.py | 3 ++- .../swift/generic_tuple/TestSwiftGenericTuple.py | 2 +- .../TestSwiftGenericTypeOfNestedArchetype.py | 2 +- .../swift/generics/TestSwiftGenericsResolution.py | 1 + .../swift/get_value/TestSwiftGetValueAsUnsigned.py | 1 + .../TestHashedContainerStoringNestedGeneric.py | 1 + .../TestSwiftHashedContainerEnum.py | 1 + .../TestSwiftHideRuntimeSupport.py | 1 + .../library_indirect/TestLibraryIndirect.py | 2 ++ .../library_resilient/TestLibraryResilient.py | 2 ++ .../main_executable/TestMainExecutable.py | 4 ++++ .../imported_types/cgtypes/TestCGImportedTypes.py | 1 + lldb/test/API/lang/swift/inline_array/Makefile | 1 - .../lang/swift/inline_array/TestSwiftInlineArray.py | 3 ++- .../TestSwiftInstancePointerSetSP.py | 1 + .../API/lang/swift/late_dylib/TestSwiftLateDylib.py | 1 + .../TestSwiftLateDylibClangDeps.py | 1 + .../swift/late_expr_dylib/TestSwiftLateExprDylib.py | 1 + .../TestSwiftLateSwiftDylibClangDeps.py | 1 + .../lang/swift/late_symbols/TestSwiftLateSymbols.py | 1 + .../swift/lazy_framework/TestSwiftLazyFramework.py | 1 + lldb/test/API/lang/swift/let_int/TestSwiftLetInt.py | 1 + .../TestSwiftLocalClosureTypes.py | 1 + .../lang/swift/local_types/TestSwiftLocalTypes.py | 2 +- lldb/test/API/lang/swift/macro/TestSwiftMacro.py | 2 ++ .../TestMarkerProtocolExistential.py | 5 +++++ .../TestSwiftMaterializerArchetypeBinding.py | 2 +- lldb/test/API/lang/swift/meta/TestSwiftMeta.py | 1 + .../swift/metadata_cache/TestSwiftMetadataCache.py | 1 + .../API/lang/swift/metatype/TestSwiftMetatype.py | 1 + .../API/lang/swift/missing_sdk/TestMissingSDK.py | 1 + .../mix_any_object/TestSwiftMixAnyObjectType.py | 1 + .../swift/module_import/TestSwiftModuleImport.py | 1 + .../TestSwiftModuleSearchPaths.py | 1 + .../lang/swift/multi_optionals/TestMultiOptionals.py | 2 +- .../lang/swift/multibases/TestSwiftMultipleBases.py | 2 +- .../TestMultilangFormatterCategories.py | 1 + .../multipayload_enum/TestSwiftMultipayloadEnum.py | 1 + .../lang/swift/nested_arrays/TestSwiftNestedArray.py | 1 + .../swift/nested_c_enums/TestSwiftNestedCEnums.py | 2 +- .../swift/nested_generic/TestSwiftNestedGeneric.py | 1 + .../TestSwiftNestedGenericClass.py | 1 + .../API/lang/swift/no_runtime/TestSwiftNoRuntime.py | 1 + .../TestSwiftNSArrayCodeRunningFormatter.py | 3 ++- .../TestSwiftObjCImplementation.py | 1 + .../swift/objc_obj_field/TestSwiftObjCObjField.py | 1 + .../swift/objc_protocol/TestSwiftObjcProtocol.py | 1 + .../lang/swift/observation/TestSwiftObservation.py | 1 + .../lang/swift/one_case_enum/TestSwiftOneCaseEnum.py | 1 + .../opaque_existentials/TestOpaqueExistentials.py | 2 +- .../swift/opaque_return/TestBoundOpaqueArchetype.py | 1 + .../opaque_return_frame_var/TestSwiftGlobalOpaque.py | 1 + .../opaque_return_types/TestOpaqueReturnTypes.py | 2 +- .../lang/swift/opaque_type/TestSwiftOpaqueType.py | 1 + .../TestSwiftOptimizedBoundGenericEnum.py | 1 + .../optional_cstruct/TestSwiftOptionalCStruct.py | 1 + .../TestSwiftOptionalErrorHandling.py | 1 + .../TestResilientObjectInOptional.py | 1 + .../API/lang/swift/optional_url/TestOptionalURL.py | 3 ++- .../lang/swift/optionset/TestSwiftOptionSetType.py | 3 ++- .../TestSwiftOriginallyDefinedInPayload.py | 1 + .../TestSwiftOriginallyDefinedIn.py | 9 ++++++--- .../other_arch_dylib/TestSwiftOtherArchDylib.py | 1 + .../dsym/TestSwiftInterfaceDsym.py | 3 +++ .../shared/TestSwiftInterfaceNoDebugInfo.py | 3 +++ .../static/TestSwiftInterfaceStaticNoDebugInfo.py | 2 ++ .../class/TestSwiftPartiallyGenericFuncClass.py | 2 +- .../TestSwiftPartiallyGenericFuncContinuation.py | 2 +- .../enum/TestSwiftPartiallyGenericFuncEnum.py | 2 +- .../struct/TestSwiftPartiallyGenericFuncStruct.py | 2 +- .../old_playground/TestNonREPLPlayground.py | 1 + .../lang/swift/playgrounds/TestSwiftPlaygrounds.py | 4 ++++ .../po/conflicted_name/TestSwiftPOConflictedTypes.py | 2 +- .../nested_nsdict/TestSwiftPONestedNSDictionary.py | 3 ++- lldb/test/API/lang/swift/po/objc/TestSwiftPOObjC.py | 1 + .../TestSwiftPrintObjectPointerAndTypeName.py | 6 ++++++ .../TestSwiftPrintObjectPrivateSubclass.py | 1 + .../po/recursive/TestSwiftPORecursiveBehavior.py | 2 +- .../lang/swift/po/ref_types/TestSwiftPORefTypes.py | 2 +- .../lang/swift/po/sys_types/TestSwiftPOSysTypes.py | 4 ++-- .../po/uninitialized/TestSwiftPOUninitialized.py | 3 ++- .../lang/swift/po/val_types/TestSwiftPOValTypes.py | 2 ++ .../API/lang/swift/printdecl/TestSwiftTypeLookup.py | 1 + .../private_decl_name/TestSwiftPrivateDeclName.py | 1 + .../TestSwiftPrivateDiscriminator.py | 1 + .../TestSwiftPrivateGenericSelf.py | 2 +- .../TestSwiftPrivateGenericType.py | 1 + .../swift/private_import/TestSwiftPrivateImport.py | 1 + .../swift/private_member/TestSwiftPrivateMember.py | 1 + .../TestSwiftPrivateNestedGenericClass.py | 1 + .../lang/swift/private_self/TestSwiftPrivateSelf.py | 2 +- .../private_typealias/TestSwiftPrivateTypeAlias.py | 1 + .../lang/swift/private_var/TestSwiftPrivateVar.py | 2 +- .../TestSwiftProtocolCompositionExpr.py | 1 + .../TestDefaultProtocolExtensionNoSelfReference.py | 1 + .../TestProtocolExtensionComputerProperty.py | 2 +- .../TestProtocolExtensionTwo.py | 2 +- .../protocol_optional/TestSwiftProtocolOptional.py | 2 +- .../TestSwiftClassConstrainedProtocolArgument.py | 4 ++-- .../TestSwiftSteppingThroughWitness.py | 2 ++ .../API/lang/swift/ranges/TestSwiftRangeTypes.py | 1 + .../TestSwiftReferenceStorageTypes.py | 1 + .../reflection_loading/TestSwiftReflectionLoading.py | 1 + .../swift/reflection_only/TestSwiftReflectionOnly.py | 1 + lldb/test/API/lang/swift/regex/TestSwiftRegex.py | 4 ++++ .../API/lang/swift/resilience/TestSwiftResilience.py | 4 ++++ .../TestSwiftResilienceOtherModule.py | 2 ++ .../TestSwiftResiliencePrivateField.py | 1 + .../TestSwiftResiliencePrivateMethod.py | 1 + .../TestSwiftResilienceSuperclass.py | 1 + .../TestSwiftResilienceSuperclassMod.py | 1 + .../TestSwiftResilienceSuperclassOtherMod.py | 1 + .../TestSwiftResilienceSwiftInterface.py | 1 + .../TestSwiftRuntimeFailureRecognizer.py | 1 + .../TestSwiftRuntimeInstrumentationRecognizer.py | 1 + lldb/test/API/lang/swift/span/TestSwiftSpan.py | 1 + .../lang/swift/split_debug/TestSwiftSplitDebug.py | 1 + .../macOS/TestSwiftStaticLinkingMacOS.py | 1 + .../stdlib/ContiguousArray/TestContiguousArray.py | 1 + .../TestStepIntoObjCInteropInit.py | 1 + .../swift/step_into_override/TestStepIntoOverride.py | 1 + .../TestStepThroughAllocatingInit.py | 2 ++ .../API/lang/swift/stepping/TestSwiftStepping.py | 1 + lldb/test/API/lang/swift/string/TestSwiftString.py | 1 + .../TestSwiftStructChangeRerun.py | 1 + .../TestSwiftSubstitutedTypeAlias.py | 2 +- .../lang/swift/swift_callback/TestSwiftCallback.py | 2 +- .../TestSwiftReferenceCount.py | 2 +- .../API/lang/swift/swift_version/TestSwiftVersion.py | 1 + .../swift/swiftieformatting/TestSwiftieFormatting.py | 1 + .../swiftui_formatters/TestSwiftUIFormatters.py | 3 +++ .../TestSwiftSymbolicExtendedExistential.py | 1 + .../API/lang/swift/system/TestSwiftSystemFilePath.py | 1 + .../system_framework/TestSwiftSystemFramework.py | 1 + .../swift/tagged_pointer/TestSwiftTaggedPointer.py | 1 + lldb/test/API/lang/swift/tuple/TestSwiftTuple.py | 1 + .../swift/type_metadata/TestSwiftTypeMetadata.py | 1 + .../TestSwiftTypeAliasOthermodule.py | 2 ++ .../TestSwiftTypeAliasRecursive.py | 1 + .../TestSwiftObjCDescendantClassWithoutASTContext.py | 1 + lldb/test/API/lang/swift/union/TestSwiftCUnion.py | 1 + .../unknown_reference/TestSwiftUnknownReference.py | 1 + .../lang/swift/unknown_self/TestSwiftUnknownSelf.py | 1 + .../swift/variables/actor/TestSwiftActorTypes.py | 1 + .../lang/swift/variables/array/TestSwiftArrayType.py | 1 + .../API/lang/swift/variables/bool/TestSwiftBool.py | 1 + .../TestSwiftBridgedStringVariables.py | 1 + .../variables/bulky_enums/TestBulkyEnumsVariables.py | 1 + .../API/lang/swift/variables/cgtypes/TestCGTypes.py | 1 + .../swift/variables/class/TestSwiftClassTypes.py | 1 + .../variables/closure_types/TestSwiftClosureTypes.py | 1 + .../consume_operator/TestSwiftConsumeOperator.py | 1 + .../TestSwiftConsumeOperatorAsync.py | 1 + .../TestSwiftDictionaryNSObjectAnyObject.py | 1 + .../dictionary/TestSwiftStdlibDictionary.py | 1 + .../swift/variables/enums/TestSwiftEnumVariables.py | 1 + .../swift/variables/error_type/TestSwiftErrorType.py | 1 + .../variables/generic_enums/TestSwiftGenericEnums.py | 1 + .../TestSwiftGenericStructDebugInfoGenericApply.py | 2 +- .../TestSwiftGenericStructDebugInfoGenericArray.py | 2 +- .../TestSwiftGenericStructDebugInfoGenericFlatMap.py | 2 +- .../TestSwiftGenericTupleLabels.py | 1 + .../variables/generics/TestSwiftGenericTypes.py | 1 + .../lang/swift/variables/globals/TestSwiftGlobals.py | 1 + .../indirect_enums/TestIndirectEnumVariables.py | 2 ++ .../lang/swift/variables/inout/TestInOutVariables.py | 1 + .../swift/variables/let/TestSwiftLetConstants.py | 1 + .../variables/objc/TestSwiftObjCImportedTypes.py | 1 + .../objc_optionals/TestSwiftObjCOptionals.py | 1 + .../swift/variables/optionals/TestSwiftOptionals.py | 1 + .../variables/protocol/TestSwiftProtocolTypes.py | 1 + .../lang/swift/variables/set/TestSwiftStdlibSet.py | 1 + .../static_string/TestSwiftStaticStringVariables.py | 1 + .../variables/string/TestSwiftStringVariables.py | 1 + .../swift/variables/tuples/TestSwiftTupleTypes.py | 1 + .../uninitialized/TestSwiftUninitializedVariable.py | 7 +++---- .../swift/variables/unsafe/TestSwiftUnsafeTypes.py | 1 + .../value_of_optionals/TestSwiftValueOfOptionals.py | 1 + .../variadic_generics/TestSwiftVariadicGenerics.py | 1 + .../yielding_accessors/TestSwiftYieldingAccessors.py | 2 ++ .../TestSwiftZeroSizeGenericSelf.py | 2 +- .../python_api/sbvalue_updates/TestSBValueUpdates.py | 1 + .../cpp_exceptions/TestSwiftCPPExceptionsInREPL.py | 1 + 434 files changed, 592 insertions(+), 96 deletions(-) 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/test/API/commands/dwim-print/swift/TestSwiftDWIMPrint.py b/lldb/test/API/commands/dwim-print/swift/TestSwiftDWIMPrint.py index 66e98a3c91e98..ee3001107fa31 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 @skipIfWindows # rdar://173245096 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 @skipIfWindows # rdar://173245096 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 @skipIfWindows # rdar://173245096 def test_print_swift_object_does_not_show_name(self): diff --git a/lldb/test/API/commands/expression/persistent_result/swift/TestSwiftPersistentResult.py b/lldb/test/API/commands/expression/persistent_result/swift/TestSwiftPersistentResult.py index 0e1801f5866d9..96a3201888059 100644 --- a/lldb/test/API/commands/expression/persistent_result/swift/TestSwiftPersistentResult.py +++ b/lldb/test/API/commands/expression/persistent_result/swift/TestSwiftPersistentResult.py @@ -10,6 +10,7 @@ class TestCase(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_enable_persistent_result(self): """Test explicitly enabling result variables persistence.""" self.build() @@ -21,6 +22,7 @@ def test_enable_persistent_result(self): self.expect("expression $R0", startstr="(Int) $R1 = 30") @swiftTest + @skipEmbeddedSwiftOnWindows def test_disable_persistent_result(self): """Test explicitly disabling persistent result variables.""" self.build() @@ -32,6 +34,7 @@ def test_disable_persistent_result(self): self.expect("expression $R0", error=True) @swiftTest + @skipEmbeddedSwiftOnWindows def test_expression_persists_result(self): """Test `expression`'s default behavior is to persist a result variable.""" self.build() @@ -42,6 +45,7 @@ def test_expression_persists_result(self): self.expect("expression $R0", startstr="(Int) $R1 = 30") @swiftTest + @skipEmbeddedSwiftOnWindows def test_p_does_not_persist_results(self): """Test `p` does not persist a result variable.""" self.build() 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/commands/target/modules/swift/TestSwiftImageLookupPC.py b/lldb/test/API/commands/target/modules/swift/TestSwiftImageLookupPC.py index 5f1043ea7310a..45e20e28b7174 100644 --- a/lldb/test/API/commands/target/modules/swift/TestSwiftImageLookupPC.py +++ b/lldb/test/API/commands/target/modules/swift/TestSwiftImageLookupPC.py @@ -6,6 +6,7 @@ class SwiftAddressExpressionTest(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Test that you can use register names in image lookup in a swift frame.""" self.build() 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 60bc2ee842b19..599fbb3dba237 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 def test_swift_error_no_typename(self): @@ -27,18 +28,21 @@ def test_swift_error_no_typename(self): self.build() self.do_tests(None) + @skipEmbeddedSwift @swiftTest def test_swift_error_matching_base_typename(self): """Tests that swift error throws are correctly caught by the Swift Error breakpoint""" self.build() self.do_tests("EnumError") + @skipEmbeddedSwift @swiftTest def test_swift_error_matching_full_typename(self): """Tests that swift error throws are correctly caught by the Swift Error breakpoint""" 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 ab2e7c0f663be..feb0b6efa9833 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 def test(self): """Test that a breakpoint on a property accessor can be set by name.""" 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-typealias/TestSwiftTypeAliasFormatters.py b/lldb/test/API/functionalities/data-formatter/swift-typealias/TestSwiftTypeAliasFormatters.py index 26ad90b83932b..084596c04c055 100644 --- a/lldb/test/API/functionalities/data-formatter/swift-typealias/TestSwiftTypeAliasFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift-typealias/TestSwiftTypeAliasFormatters.py @@ -21,6 +21,7 @@ class TestSwiftTypeAliasFormatters(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_type_alias_formatters(self): """Test that Swift typealiases get formatted properly""" self.build() 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 9e196d2c57745..6e96fe20811ec 100644 --- a/lldb/test/API/functionalities/data-formatter/swift-unsafe/TestSwiftUnsafeTypeFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift-unsafe/TestSwiftUnsafeTypeFormatters.py @@ -5,4 +5,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/functionalities/data-formatter/swift/array-slice/TestSwiftArraySliceFormatters.py b/lldb/test/API/functionalities/data-formatter/swift/array-slice/TestSwiftArraySliceFormatters.py index 575a51398db9f..ee52513e73381 100644 --- a/lldb/test/API/functionalities/data-formatter/swift/array-slice/TestSwiftArraySliceFormatters.py +++ b/lldb/test/API/functionalities/data-formatter/swift/array-slice/TestSwiftArraySliceFormatters.py @@ -9,6 +9,7 @@ class TestCase(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_array_slice_formatters(self): """Test ArraySlice synthetic types.""" self.build() 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 34fddfdd58a92..86b0c60d2a3eb 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 def test_swift_substring_formatters(self): """Test Subtring summary strings.""" 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 e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/accelerate_simd/TestAccelerateSIMD.py +++ b/lldb/test/API/lang/swift/accelerate_simd/TestAccelerateSIMD.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/address_of/TestSwiftAddressOf.py b/lldb/test/API/lang/swift/address_of/TestSwiftAddressOf.py index 1b63b77751f60..383933947ef98 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 def test(self): self.build() diff --git a/lldb/test/API/lang/swift/any/TestSwiftAnyType.py b/lldb/test/API/lang/swift/any/TestSwiftAnyType.py index 303bfaa496e06..c5577cf520960 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 def test_any_type(self): """Test the Any type""" diff --git a/lldb/test/API/lang/swift/any_object/TestSwiftAnyObjectType.py b/lldb/test/API/lang/swift/any_object/TestSwiftAnyObjectType.py index d15d8fdcce1d4..8eaea9f293b2a 100644 --- a/lldb/test/API/lang/swift/any_object/TestSwiftAnyObjectType.py +++ b/lldb/test/API/lang/swift/any_object/TestSwiftAnyObjectType.py @@ -21,6 +21,7 @@ class TestSwiftAnyObjectType(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_any_object_type(self): """Test the AnyObject type""" self.build() diff --git a/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py b/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py index e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py +++ b/lldb/test/API/lang/swift/anytype_array/TestAnyTypeArray.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 9942ff885dc11..8d48552302f73 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 def test(self): """Tests that a user can refer to the archetypes in their expressions""" diff --git a/lldb/test/API/lang/swift/archetype_resolution/TestSwiftArchetypeResolution.py b/lldb/test/API/lang/swift/archetype_resolution/TestSwiftArchetypeResolution.py index b190271c98f17..edb0be9185a87 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 @skipIfWindows # rdar://173245096 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 e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/archetype_resolution_subclass/TestArchetypeResolutionSubclass.py +++ b/lldb/test/API/lang/swift/archetype_resolution_subclass/TestArchetypeResolutionSubclass.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/array_element/TestSwiftArrayElement.py +++ b/lldb/test/API/lang/swift/array_element/TestSwiftArrayElement.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py b/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py index e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py +++ b/lldb/test/API/lang/swift/array_enum/TestArrayEnum.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 6a1bd4295cd46..3732ef4cabebf 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 @skipIfWindows # rdar://176009590 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 f66bdf816af15..7f810c5cd4448 100644 --- a/lldb/test/API/lang/swift/associated_self_type/TestSwiftAssociatedSelfType.py +++ b/lldb/test/API/lang/swift/associated_self_type/TestSwiftAssociatedSelfType.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 3f59cc8cbe69b..2e1163c8f31fa 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 def test_swift_associated_type_resolution(self): """Test that archetype-typed objects get resolved to their proper location in memory""" 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 987ec2656e6f4..c716d9bcc7eb1 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 @skipIfWindows # rdar://176009590 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 edcc73ed66d5b..a8dd977f1bcb7 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 @skipIfWindows # rdar://176009590 def test_unsafe_continuation_printing(self): @@ -34,6 +35,7 @@ def test_unsafe_continuation_printing(self): ], ) + @skipEmbeddedSwift @swiftTest @skipIfWindows # rdar://176009590 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 c1b7aaf82057f..a5669744fc522 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 @skipIfWindows # rdar://176009590 def test_top_level_task(self): @@ -34,6 +35,7 @@ def test_top_level_task(self): ], ) + @skipEmbeddedSwift @swiftTest @skipIfWindows # rdar://176009590 @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 20783a3303a80..c64a510d05942 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 @skipIfWindows # rdar://176009590 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 569725cd25d6d..eaf5934140ab8 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 @skipIfWindows # rdar://176009590 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 @skipIfWindows # rdar://176009590 @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 deb92571d9f53..8e2931b09552f 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 @skipIfWindows # rdar://176009590 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 2f966529788a3..27236e827763a 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 @skipIfWindows # rdar://176009590 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 6fe3e2819137f..06ed2e1cc2ebb 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 @skipIfWindows # rdar://176009590 def test_print_task_group(self): @@ -17,6 +18,7 @@ def test_print_task_group(self): ) self.do_test_print() + @skipEmbeddedSwift @swiftTest @skipIfWindows # rdar://176009590 def test_print_throwing_task_group(self): @@ -61,6 +63,7 @@ def do_test_print(self): ], ) + @skipEmbeddedSwift @swiftTest @skipIfWindows # rdar://176009590 def test_api_task_group(self): @@ -71,6 +74,7 @@ def test_api_task_group(self): ) self.do_test_api(process) + @skipEmbeddedSwift @swiftTest @skipIfWindows # rdar://176009590 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 63a2e4c21a0ef..d5b3a6ab99884 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,8 @@ class TestSwiftBigMultiPayloadEnum(TestBase): @swiftTest + @skipEmbeddedSwiftOnLinux # Linker failure with arc4random_buf + @skipEmbeddedSwiftOnWindows def test(self): self.build() lldbutil.run_to_source_breakpoint( diff --git a/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py b/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py index f142952c0ad33..647174cfe4c17 100644 --- a/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py +++ b/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py @@ -20,6 +20,7 @@ class SwiftPartialBreakTest(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_partial_break(self): """Tests that we can break on a partial name of a Swift function""" 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 f956602ce78d5..6f69415853ff2 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 def test_swift_backtrace_printing(self): """Test printing Swift backtrace""" 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 7bf47d93f440b..92e83794c7ed3 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 @skipIf(setting=("symbols.use-swift-clangimporter", "false")) def test(self): 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 4675ea9337eb0..a09c72d77ac18 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 @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) def test(self): 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/expr_import/TestSwiftExprImport.py b/lldb/test/API/lang/swift/clangimporter/expr_import/TestSwiftExprImport.py index 97aee27f5637c..26ffd0ee8c23e 100644 --- a/lldb/test/API/lang/swift/clangimporter/expr_import/TestSwiftExprImport.py +++ b/lldb/test/API/lang/swift/clangimporter/expr_import/TestSwiftExprImport.py @@ -7,6 +7,7 @@ class TestSwiftExprImport(TestBase): # Don't run ClangImporter tests if Clangimporter is disabled. @skipIf(setting=('symbols.use-swift-clangimporter', 'false')) @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Test error handling if the expression evaluator encounters a Clang import failure. 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 c508e5fdeb577..d99bae5f2c149 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 @skipIfWindows # rdar://173245705 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 188c1a02aae63..375238fc8f51d 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 @skipIfWindows # rdar://173245096 def test(self): diff --git a/lldb/test/API/lang/swift/class_empty/TestSwiftClassEmpty.py b/lldb/test/API/lang/swift/class_empty/TestSwiftClassEmpty.py index 0c3663fcd7b66..5d38f77d432c9 100644 --- a/lldb/test/API/lang/swift/class_empty/TestSwiftClassEmpty.py +++ b/lldb/test/API/lang/swift/class_empty/TestSwiftClassEmpty.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) diff --git a/lldb/test/API/lang/swift/class_error/TestClassError.py b/lldb/test/API/lang/swift/class_error/TestClassError.py index 219ec22975294..cc1c0f573b50c 100644 --- a/lldb/test/API/lang/swift/class_error/TestClassError.py +++ b/lldb/test/API/lang/swift/class_error/TestClassError.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py b/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py index e83bb44ae952d..ba29ff851040e 100644 --- a/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py +++ b/lldb/test/API/lang/swift/class_static/TestSwiftClassStatic.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/closure_shortcuts/TestClosureShortcuts.py b/lldb/test/API/lang/swift/closure_shortcuts/TestClosureShortcuts.py index 3968f1f338987..577baecfadd6f 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 def test(self): self.build() 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 850ee4f5b76c1..ef96c219bd734 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 def test_simple_closure(self): self.build() @@ -59,6 +60,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 def test_nested_closure(self): self.build() @@ -83,6 +85,7 @@ def test_nested_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest # Async variable inspection on Linux/Windows are still problematic. @skipIf(oslist=["windows", "linux"]) @@ -106,6 +109,7 @@ def test_async_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest # Async variable inspection on Linux/Windows are still problematic. @skipIf(oslist=["windows", "linux"]) @@ -118,6 +122,7 @@ def test_task_inside_non_async_func(self): self, thread.frames[0], "x", "task_inside_non_async_function()" ) + @skipEmbeddedSwift @swiftTest def test_ctor_class_closure(self): self.build() @@ -175,6 +180,7 @@ def test_ctor_class_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest def test_ctor_struct_closure(self): self.build() @@ -232,6 +238,7 @@ def test_ctor_struct_closure(self): ) check_no_enhanced_diagnostic(self, thread.frames[0], "dont_find_me") + @skipEmbeddedSwift @swiftTest def test_ctor_enum_closure(self): self.build() 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 3222d91caa6bc..bde3aca186090 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 @skipIfWindows # rdar://173244841 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 bfc9330d9191c..748372288ef69 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 @skipIfWindows # rdar://176009590 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 d1b4fa6e3e3d3..e5df2400c1b78 100644 --- a/lldb/test/API/lang/swift/conditional_breakpoints/TestSwiftConditionalBreakpoint.py +++ b/lldb/test/API/lang/swift/conditional_breakpoints/TestSwiftConditionalBreakpoint.py @@ -19,6 +19,8 @@ class TestSwiftConditionalBreakpoint(TestBase): @swiftTest + @skipEmbeddedSwiftOnLinux # Linker failure with arc4random_buf + @skipEmbeddedSwiftOnWindows def test_swift_conditional_breakpoint(self): """Tests that we can set a conditional breakpoint in Swift code""" self.build() diff --git a/lldb/test/API/lang/swift/constrained_existential/TestSwiftConstrainedExistential.py b/lldb/test/API/lang/swift/constrained_existential/TestSwiftConstrainedExistential.py index 62dacf4e00e8f..16ac803122ea4 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 def test(self): """Test constrained existential types""" 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/debug_prefix_map/TestSwiftDebugPrefixMap.py b/lldb/test/API/lang/swift/debug_prefix_map/TestSwiftDebugPrefixMap.py index c94b22ac1b8d9..4370a8b9bfddc 100644 --- a/lldb/test/API/lang/swift/debug_prefix_map/TestSwiftDebugPrefixMap.py +++ b/lldb/test/API/lang/swift/debug_prefix_map/TestSwiftDebugPrefixMap.py @@ -23,6 +23,7 @@ class TestSwiftDebugPrefixMap(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_debug_prefix_map(self): self.do_test() diff --git a/lldb/test/API/lang/swift/delayed_parsing_crash/TestDelayedParsingCrash.py b/lldb/test/API/lang/swift/delayed_parsing_crash/TestDelayedParsingCrash.py index e0768afb05784..5a74e82041e20 100644 --- a/lldb/test/API/lang/swift/delayed_parsing_crash/TestDelayedParsingCrash.py +++ b/lldb/test/API/lang/swift/delayed_parsing_crash/TestDelayedParsingCrash.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) 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 e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/designated_initializer_self/TestDesignatedInitializerSelf.py +++ b/lldb/test/API/lang/swift/designated_initializer_self/TestDesignatedInitializerSelf.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 a872459f5efe9..af20b2a8e6a1a 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 def test(self): self.build() 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/MemberTypes/TestSwiftDWARFImporterMemberTypes.py b/lldb/test/API/lang/swift/dwarfimporter/MemberTypes/TestSwiftDWARFImporterMemberTypes.py index df1d5c3e25946..46a6ea4b87f61 100644 --- a/lldb/test/API/lang/swift/dwarfimporter/MemberTypes/TestSwiftDWARFImporterMemberTypes.py +++ b/lldb/test/API/lang/swift/dwarfimporter/MemberTypes/TestSwiftDWARFImporterMemberTypes.py @@ -6,6 +6,7 @@ class TestSwiftDWARFImporterC(lldbtest.TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Test looking up a Clang typedef type that isn't directly referenced by debug info in the Swift object file. 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/module_import/TestSwiftModuleImport.py b/lldb/test/API/lang/swift/module_import/TestSwiftModuleImport.py index ea74941919b4c..28233490ec6ef 100644 --- a/lldb/test/API/lang/swift/module_import/TestSwiftModuleImport.py +++ b/lldb/test/API/lang/swift/module_import/TestSwiftModuleImport.py @@ -9,6 +9,7 @@ class TestSwiftModuleImport(lldbtest.TestBase): NO_DEBUG_INFO_TESTCASE = True @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): self.build() target, process, thread, bkpt = lldbutil.run_to_source_breakpoint( diff --git a/lldb/test/API/lang/swift/module_search_paths/TestSwiftModuleSearchPaths.py b/lldb/test/API/lang/swift/module_search_paths/TestSwiftModuleSearchPaths.py index 2bd5a8baca29b..8223d7127abff 100644 --- a/lldb/test/API/lang/swift/module_search_paths/TestSwiftModuleSearchPaths.py +++ b/lldb/test/API/lang/swift/module_search_paths/TestSwiftModuleSearchPaths.py @@ -26,6 +26,7 @@ def setUp(self): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_module_search_paths(self): """ Tests that we can import modules located using diff --git a/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py b/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py index a327938565f68..735d01968949b 100644 --- a/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py +++ b/lldb/test/API/lang/swift/multi_optionals/TestMultiOptionals.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/multibases/TestSwiftMultipleBases.py b/lldb/test/API/lang/swift/multibases/TestSwiftMultipleBases.py index bdfee48054e97..fd895e01ad3b8 100644 --- a/lldb/test/API/lang/swift/multibases/TestSwiftMultipleBases.py +++ b/lldb/test/API/lang/swift/multibases/TestSwiftMultipleBases.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) 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/multipayload_enum/TestSwiftMultipayloadEnum.py b/lldb/test/API/lang/swift/multipayload_enum/TestSwiftMultipayloadEnum.py index d4ae8825edcdf..4aa77a7074952 100644 --- a/lldb/test/API/lang/swift/multipayload_enum/TestSwiftMultipayloadEnum.py +++ b/lldb/test/API/lang/swift/multipayload_enum/TestSwiftMultipayloadEnum.py @@ -21,6 +21,7 @@ class TestSwiftMultipayloadEnum(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_multipayload_enum(self): """Test that LLDB understands generic enums with more than one payload type""" self.build() diff --git a/lldb/test/API/lang/swift/nested_arrays/TestSwiftNestedArray.py b/lldb/test/API/lang/swift/nested_arrays/TestSwiftNestedArray.py index 3e88ab383b2ce..6a648ad423eff 100644 --- a/lldb/test/API/lang/swift/nested_arrays/TestSwiftNestedArray.py +++ b/lldb/test/API/lang/swift/nested_arrays/TestSwiftNestedArray.py @@ -38,6 +38,7 @@ def setUp(self): self.main_source_spec = lldb.SBFileSpec(self.main_source) @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_nested_array(self): """Test Arrays of Arrays in Swift""" self.build() 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 e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/nested_c_enums/TestSwiftNestedCEnums.py +++ b/lldb/test/API/lang/swift/nested_c_enums/TestSwiftNestedCEnums.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/nested_generic/TestSwiftNestedGeneric.py b/lldb/test/API/lang/swift/nested_generic/TestSwiftNestedGeneric.py index 050ced9254e9e..747e0786adbcd 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 def test(self): """Test the inline array synthetic child provider and summary""" diff --git a/lldb/test/API/lang/swift/nested_generic_class/TestSwiftNestedGenericClass.py b/lldb/test/API/lang/swift/nested_generic_class/TestSwiftNestedGenericClass.py index 869f83304ae05..d20733b177a7c 100644 --- a/lldb/test/API/lang/swift/nested_generic_class/TestSwiftNestedGenericClass.py +++ b/lldb/test/API/lang/swift/nested_generic_class/TestSwiftNestedGenericClass.py @@ -7,6 +7,7 @@ class TestSwiftNestedGenericClass(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Tests that a generic class type nested inside another generic class can be resolved correctly from the instance metadata""" self.build() diff --git a/lldb/test/API/lang/swift/no_runtime/TestSwiftNoRuntime.py b/lldb/test/API/lang/swift/no_runtime/TestSwiftNoRuntime.py index eb58dbb4e60f5..a142d9a6f810d 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 def test(self): """Test running a Swift expression in a C program""" 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 2de1b4f08ab31..7e46be72bc5b1 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 def test_swift_one_case_enum(self): """Test that an enum with only one case does not crash LLDB""" diff --git a/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py b/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py index e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py +++ b/lldb/test/API/lang/swift/opaque_existentials/TestOpaqueExistentials.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/opaque_return/TestBoundOpaqueArchetype.py b/lldb/test/API/lang/swift/opaque_return/TestBoundOpaqueArchetype.py index 62238c2f58ce8..42a28ae048642 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 def test(self): """Tests that a type bound to an opaque archetype can be resolved correctly""" 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 a5eb1062ebe8c..079c9c827feaf 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 def test(self): """Tests that a type bound to an opaque archetype can be resolved correctly""" 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 b7953a3ef8f94..f45b5e7eb879a 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, 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 811e39575e797..6639da9196962 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 def test(self): """Test opaque types in parameter positions""" 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 172c11fc2cdcc..2dcde47a1b384 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 def test(self): """Test the bound generic enum types in "optimized" code.""" diff --git a/lldb/test/API/lang/swift/optional_cstruct/TestSwiftOptionalCStruct.py b/lldb/test/API/lang/swift/optional_cstruct/TestSwiftOptionalCStruct.py index 7eee4e72ff5b4..0ac9c6f3d8338 100644 --- a/lldb/test/API/lang/swift/optional_cstruct/TestSwiftOptionalCStruct.py +++ b/lldb/test/API/lang/swift/optional_cstruct/TestSwiftOptionalCStruct.py @@ -6,6 +6,7 @@ class TestSwiftOptionalCStruct(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): self.build() self.runCmd("settings set symbols.swift-enable-ast-context false") 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 a2a16d35990ea..9477a67da1593 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 def test(self): self.build() 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 1b9ca376d79e6..74e65e28e4733 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 def test(self): """Test that types with the @_originallyDefinedIn attribute can still be found in metadata""" @@ -35,11 +36,12 @@ def test(self): "t = (i = 50)", ], ) - + @swiftTest + @skipEmbeddedSwift 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( @@ -63,8 +65,9 @@ def test_expr(self): "t = (i = 50)", ], ) - + @swiftTest + @skipEmbeddedSwift 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 41fdbf0c6b1d3..b49380595c2d5 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 @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 fc62c940f1876..c79f01a00abeb 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 @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 038771c59eee7..67563a2fcc4b9 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 @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 e803a922b0256..bfbbf56cc4741 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 @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 a06d71c1ee8d4..1abb3f78e0e9f 100644 --- a/lldb/test/API/lang/swift/po/conflicted_name/TestSwiftPOConflictedTypes.py +++ b/lldb/test/API/lang/swift/po/conflicted_name/TestSwiftPOConflictedTypes.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 b94dbfe0a890c..4d2d7a6376044 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 @skipIfWindows # rdar://176009590 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 @skipIfWindows # rdar://176009590 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 @skipIfWindows # rdar://176009590 def test_enum(self): @@ -70,6 +73,7 @@ def test_enum(self): self._filecheck("ENUM") # CHECK-ENUM: stringForPrintObject(UnsafeRawPointer(bitPattern: {{.*}}), mangledTypeName: "1a4EnumOD") + @skipEmbeddedSwift @swiftTest @skipIfWindows # rdar://176009590 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 @skipIfWindows # rdar://176009590 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 @skipIfWindows # rdar://176009590 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 69252af199646..4e53e0ccd08d0 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 def test(self): self.build() diff --git a/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py b/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py index bcb277d2da63e..18087b7500cb3 100644 --- a/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py +++ b/lldb/test/API/lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 b7b34bb2f9fd9..55ce849b94844 100644 --- a/lldb/test/API/lang/swift/po/ref_types/TestSwiftPORefTypes.py +++ b/lldb/test/API/lang/swift/po/ref_types/TestSwiftPORefTypes.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 471e6913baf4d..7feb1eb404f6b 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 def test_value_types(self): """Test 'po' on a variety of value types with and without custom descriptions.""" @@ -38,6 +39,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 def test_ignore_bkpts_in_po(self): """Run a po expression with a breakpoint in the debugDescription, make sure we don't hit it.""" diff --git a/lldb/test/API/lang/swift/printdecl/TestSwiftTypeLookup.py b/lldb/test/API/lang/swift/printdecl/TestSwiftTypeLookup.py index b00e1faa5fce9..5727dd5e33406 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 def test_swift_type_lookup(self): """Test the ability to look for type definitions at the command line""" 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 53ff46ba556e6..c6c33483194d7 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 def test_swift_private_decl_name(self): """Test that we correctly find private decls""" 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 05d2f390b003d..b25d6ae0793f5 100644 --- a/lldb/test/API/lang/swift/private_generic_self/TestSwiftPrivateGenericSelf.py +++ b/lldb/test/API/lang/swift/private_generic_self/TestSwiftPrivateGenericSelf.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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_nested_generic_class/TestSwiftPrivateNestedGenericClass.py b/lldb/test/API/lang/swift/private_nested_generic_class/TestSwiftPrivateNestedGenericClass.py index a8c0e8c062ee8..2a226f6e47a10 100644 --- a/lldb/test/API/lang/swift/private_nested_generic_class/TestSwiftPrivateNestedGenericClass.py +++ b/lldb/test/API/lang/swift/private_nested_generic_class/TestSwiftPrivateNestedGenericClass.py @@ -7,6 +7,7 @@ class SwiftPrivateNestedGenericClassTest(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Tests that a private generic class type nested inside another generic class can be resolved correctly from the instance metadata""" self.build() diff --git a/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py b/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py index 39bd82002a093..89d08ad05d161 100644 --- a/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py +++ b/lldb/test/API/lang/swift/private_self/TestSwiftPrivateSelf.py @@ -13,5 +13,5 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[swiftTest] + __file__, globals(), decorators=[skipEmbeddedSwift, swiftTest] ) diff --git a/lldb/test/API/lang/swift/private_typealias/TestSwiftPrivateTypeAlias.py b/lldb/test/API/lang/swift/private_typealias/TestSwiftPrivateTypeAlias.py index 79e5b55eeece4..218a511691274 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 @skipIfWindows # rdar://173243316 def test_swift_private_typealias(self): diff --git a/lldb/test/API/lang/swift/private_var/TestSwiftPrivateVar.py b/lldb/test/API/lang/swift/private_var/TestSwiftPrivateVar.py index 6d8344eb0e4a2..264570e5eceff 100644 --- a/lldb/test/API/lang/swift/private_var/TestSwiftPrivateVar.py +++ b/lldb/test/API/lang/swift/private_var/TestSwiftPrivateVar.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) 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 0ba6323b799a0..c3afc396375b8 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 def test(self): """Test that expression evaluation can call functions in protocol composition existentials""" diff --git a/lldb/test/API/lang/swift/protocol_default_extension_no_self_reference/TestDefaultProtocolExtensionNoSelfReference.py b/lldb/test/API/lang/swift/protocol_default_extension_no_self_reference/TestDefaultProtocolExtensionNoSelfReference.py index 89aaa81201344..010629cf2f6fe 100644 --- a/lldb/test/API/lang/swift/protocol_default_extension_no_self_reference/TestDefaultProtocolExtensionNoSelfReference.py +++ b/lldb/test/API/lang/swift/protocol_default_extension_no_self_reference/TestDefaultProtocolExtensionNoSelfReference.py @@ -8,6 +8,7 @@ class TestDefaultProtocolExtensionNoSelfReference(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_protocol_default_extension_no_self_reference(self): """ Test that we can resolve "self" even if there are no references to it in a dynamic context 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 e0768afb05784..32b35cbff59b2 100644 --- a/lldb/test/API/lang/swift/protocol_extension_two/TestProtocolExtensionTwo.py +++ b/lldb/test/API/lang/swift/protocol_extension_two/TestProtocolExtensionTwo.py @@ -1,4 +1,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py b/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py index 6178748f0af55..5e152d221536d 100644 --- a/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py +++ b/lldb/test/API/lang/swift/protocol_optional/TestSwiftProtocolOptional.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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/ranges/TestSwiftRangeTypes.py b/lldb/test/API/lang/swift/ranges/TestSwiftRangeTypes.py index fdec1c4dd59c3..bbb431d2a3c0c 100644 --- a/lldb/test/API/lang/swift/ranges/TestSwiftRangeTypes.py +++ b/lldb/test/API/lang/swift/ranges/TestSwiftRangeTypes.py @@ -21,6 +21,7 @@ class TestSwiftRangeType(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_range_type(self): """Test the Swift.Range type""" self.build() 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 98f826758a78d..0a54c1a62fa21 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 def test_swift_reference_storage_types(self): 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 f317ca1473122..1a3f9e4c28529 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 @skipIf(macos_version=["<", "13"]) @expectedFailureWindows @@ -49,6 +50,7 @@ def test_swift_regex_expr_desc(self): self.expect('expr -O -- dslRegex', substrs=['Regex']) + @skipEmbeddedSwift @swiftTest @skipIf(macos_version=["<", "13"]) def test_swift_regex_frame_var_desc(self): @@ -61,6 +63,7 @@ def test_swift_regex_frame_var_desc(self): self.expect('vo dslRegex', substrs=['Regex']) + @skipEmbeddedSwift @swiftTest @skipIf(macos_version=["<", "13"]) @expectedFailureWindows @@ -74,6 +77,7 @@ def test_swift_regex_expr(self): self.expect('expr dslRegex', substrs=['(_StringProcessing.Regex) $R1 = {']) + @skipEmbeddedSwift @swiftTest @skipIf(macos_version=["<", "13"]) def test_swift_regex_in_exp(self): 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 dadbeefd229e6..63f6653e17ba2 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 def test(self): self.build() 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_failure_recognizer/TestSwiftRuntimeFailureRecognizer.py b/lldb/test/API/lang/swift/runtime_failure_recognizer/TestSwiftRuntimeFailureRecognizer.py index db6f79a961ce2..ea9b0b04ef3ae 100644 --- a/lldb/test/API/lang/swift/runtime_failure_recognizer/TestSwiftRuntimeFailureRecognizer.py +++ b/lldb/test/API/lang/swift/runtime_failure_recognizer/TestSwiftRuntimeFailureRecognizer.py @@ -23,6 +23,7 @@ class TestSwiftRuntimeRecognizer(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_runtime_recognizer(self): """Test Swift Runtime Failure Recognizer""" self.build() 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 d1cafc8a81210..372531c4ee09a 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 @skipIfWindows # rdar://176009590 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 40aade3d3442b..67b57cfc06b7e 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 def test_split_debug_info(self): """Test split debug info""" 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/stdlib/ContiguousArray/TestContiguousArray.py b/lldb/test/API/lang/swift/stdlib/ContiguousArray/TestContiguousArray.py index c26ba4504aef4..1416dc15f16e4 100644 --- a/lldb/test/API/lang/swift/stdlib/ContiguousArray/TestContiguousArray.py +++ b/lldb/test/API/lang/swift/stdlib/ContiguousArray/TestContiguousArray.py @@ -13,6 +13,7 @@ class TestContiguousArray(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest + @skipEmbeddedSwiftOnWindows def test_frame_contiguous_array(self): """Test that contiguous array prints correctly""" self.build() 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 32adf30666230..4c81302f9ce00 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 def test_swift_stepping(self): self.build() diff --git a/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py b/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py index a4f7dab615434..82d30cb1013b7 100644 --- a/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py +++ b/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py @@ -9,12 +9,14 @@ class TestStepThroughAllocatingInit(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_stepping_api(self): """Test that step in using the Python API steps through thunk.""" self.build() self.do_test(True) @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_stepping_cli(self): """Same test with the cli - it goes a slightly different path than the API.""" diff --git a/lldb/test/API/lang/swift/stepping/TestSwiftStepping.py b/lldb/test/API/lang/swift/stepping/TestSwiftStepping.py index d8764cbe7e342..f057f5b55faba 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 @skipIf(oslist=["linux"], archs=no_match("x86_64")) def test_swift_stepping(self): """Tests that we can step reliably in swift code.""" diff --git a/lldb/test/API/lang/swift/string/TestSwiftString.py b/lldb/test/API/lang/swift/string/TestSwiftString.py index e88bea2f59e39..9cface13fe989 100644 --- a/lldb/test/API/lang/swift/string/TestSwiftString.py +++ b/lldb/test/API/lang/swift/string/TestSwiftString.py @@ -6,6 +6,7 @@ class TestSwiftTuple(TestBase): NO_DEBUG_INFO_TESTCASE = True @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Test the String formatter under adverse conditions""" self.build() 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 16664ce97d4b1..024814242afb7 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 def test_swift_struct_change_rerun(self): """Test that we display self correctly for an inline-initialized struct""" diff --git a/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py b/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py index 64c7510582a94..fddb8c31c5da8 100644 --- a/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py +++ b/lldb/test/API/lang/swift/substituted_typealias/TestSwiftSubstitutedTypeAlias.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) diff --git a/lldb/test/API/lang/swift/swift_callback/TestSwiftCallback.py b/lldb/test/API/lang/swift/swift_callback/TestSwiftCallback.py index f66bdf816af15..56512bb6d806c 100644 --- a/lldb/test/API/lang/swift/swift_callback/TestSwiftCallback.py +++ b/lldb/test/API/lang/swift/swift_callback/TestSwiftCallback.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) diff --git a/lldb/test/API/lang/swift/swift_reference_counting/TestSwiftReferenceCount.py b/lldb/test/API/lang/swift/swift_reference_counting/TestSwiftReferenceCount.py index 9b191f93af325..ccd5a3c5d423a 100644 --- a/lldb/test/API/lang/swift/swift_reference_counting/TestSwiftReferenceCount.py +++ b/lldb/test/API/lang/swift/swift_reference_counting/TestSwiftReferenceCount.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) 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 0d3adf33f3150..e8d53101a3ca9 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 def test(self): """Test symbolic extended existentials""" 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/tuple/TestSwiftTuple.py b/lldb/test/API/lang/swift/tuple/TestSwiftTuple.py index 29b4da637dc6a..6b5abff792494 100644 --- a/lldb/test/API/lang/swift/tuple/TestSwiftTuple.py +++ b/lldb/test/API/lang/swift/tuple/TestSwiftTuple.py @@ -21,6 +21,7 @@ class TestSwiftTuple(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_tuples(self): """Test that LLDB understands tuple lowering""" self.build() diff --git a/lldb/test/API/lang/swift/type_metadata/TestSwiftTypeMetadata.py b/lldb/test/API/lang/swift/type_metadata/TestSwiftTypeMetadata.py index 94859b77d1f56..16e46238a1a42 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 def test_swift_type_metadata(self): """Test that LLDB can effectively use the type metadata to reconstruct dynamic types for Swift""" 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/typealias_recursive/TestSwiftTypeAliasRecursive.py b/lldb/test/API/lang/swift/typealias_recursive/TestSwiftTypeAliasRecursive.py index 3d4975922cf8b..24ac07ed1cebd 100644 --- a/lldb/test/API/lang/swift/typealias_recursive/TestSwiftTypeAliasRecursive.py +++ b/lldb/test/API/lang/swift/typealias_recursive/TestSwiftTypeAliasRecursive.py @@ -4,6 +4,7 @@ class TestSwiftTypeAliasRecurtsive(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Test that type aliases of type aliases can be resolved""" self.build() 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 d9866f3d3373d..1e0f60bae4b9c 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 def test_c_unions(self): self.build() 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 c99233cee8c5d..cdc2469b9278b 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 def test_swift_class_types(self): """Test swift Actor types""" diff --git a/lldb/test/API/lang/swift/variables/array/TestSwiftArrayType.py b/lldb/test/API/lang/swift/variables/array/TestSwiftArrayType.py index c3764af6c356a..9eb481c1117d5 100644 --- a/lldb/test/API/lang/swift/variables/array/TestSwiftArrayType.py +++ b/lldb/test/API/lang/swift/variables/array/TestSwiftArrayType.py @@ -24,6 +24,7 @@ class TestSwiftArrayType(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest + @skipEmbeddedSwiftOnWindows def test_array(self): """Check formatting for Swift.Array""" self.build() diff --git a/lldb/test/API/lang/swift/variables/bool/TestSwiftBool.py b/lldb/test/API/lang/swift/variables/bool/TestSwiftBool.py index e45bf7d71a1bb..2762b9ae2b3b8 100644 --- a/lldb/test/API/lang/swift/variables/bool/TestSwiftBool.py +++ b/lldb/test/API/lang/swift/variables/bool/TestSwiftBool.py @@ -21,6 +21,7 @@ class TestSwiftBool(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_bool(self): """Test that we can inspect various Swift bools""" self.build() 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 75d896dde3c49..53b2e457975a7 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 def test_bulky_enum_variables(self): """Tests that large-size Enum variables display correctly""" 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/class/TestSwiftClassTypes.py b/lldb/test/API/lang/swift/variables/class/TestSwiftClassTypes.py index f41966b7a1888..d42bb92e94eb1 100644 --- a/lldb/test/API/lang/swift/variables/class/TestSwiftClassTypes.py +++ b/lldb/test/API/lang/swift/variables/class/TestSwiftClassTypes.py @@ -21,6 +21,7 @@ class TestSwiftClassTypes(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_class_types(self): """Test swift Class types""" self.build() diff --git a/lldb/test/API/lang/swift/variables/closure_types/TestSwiftClosureTypes.py b/lldb/test/API/lang/swift/variables/closure_types/TestSwiftClosureTypes.py index 2c2559cbd7ab3..414dd81339358 100644 --- a/lldb/test/API/lang/swift/variables/closure_types/TestSwiftClosureTypes.py +++ b/lldb/test/API/lang/swift/variables/closure_types/TestSwiftClosureTypes.py @@ -6,6 +6,7 @@ class TestSwiftClosureTypes(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): self.build() diff --git a/lldb/test/API/lang/swift/variables/consume_operator/TestSwiftConsumeOperator.py b/lldb/test/API/lang/swift/variables/consume_operator/TestSwiftConsumeOperator.py index 0b220c2d30166..76662ceda7f83 100644 --- a/lldb/test/API/lang/swift/variables/consume_operator/TestSwiftConsumeOperator.py +++ b/lldb/test/API/lang/swift/variables/consume_operator/TestSwiftConsumeOperator.py @@ -27,6 +27,7 @@ class TestSwiftConsumeOperatorType(TestBase): # Skip on aarch64 linux: rdar://91005071 @skipIf(archs=['aarch64'], oslist=['linux']) @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_consume_operator(self): """Check that we properly show variables at various points of the CFG while stepping with the consume operator. 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 74e352d78b434..aa68d2b0bf84b 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 @skipIfWindows # rdar://176009590 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 adcd378fb547d..a845350d5f9d8 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 @skipIfWindows # rdar://173243316 # @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 b803d594ae125..02d7fd01b38ac 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 def test_enum_variables(self): """Tests that Enum variables display correctly""" 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 315bf96465857..b44a72d313267 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 def test(self): """Test handling of Swift Error types""" 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 157824508ac8c..745846c7f499f 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 def test_swift_generic_enum_types(self): """Test that we handle reasonably generically-typed enums""" diff --git a/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_apply/TestSwiftGenericStructDebugInfoGenericApply.py b/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_apply/TestSwiftGenericStructDebugInfoGenericApply.py index 862ee2ca6c6b8..5080a4e018ded 100644 --- a/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_apply/TestSwiftGenericStructDebugInfoGenericApply.py +++ b/lldb/test/API/lang/swift/variables/generic_struct_debug_info/generic_apply/TestSwiftGenericStructDebugInfoGenericApply.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) 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 30f4dca73071b..ab7978469873a 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 @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 bcb277d2da63e..18087b7500cb3 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 @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[skipEmbeddedSwift, swiftTest]) 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 a73e1b65c36d0..4c72291c47ca2 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 def test_generic_tuple_labels(self): """Test that LLDB can reconstruct tuple labels from metadata""" diff --git a/lldb/test/API/lang/swift/variables/generics/TestSwiftGenericTypes.py b/lldb/test/API/lang/swift/variables/generics/TestSwiftGenericTypes.py index 1557bf8a15745..5cb0382329a0e 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 def test_swift_generic_types(self): """Test support for generic types""" diff --git a/lldb/test/API/lang/swift/variables/globals/TestSwiftGlobals.py b/lldb/test/API/lang/swift/variables/globals/TestSwiftGlobals.py index 58af2f6fe6b28..0d4221fc649ea 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 def test_swift_globals(self): """Check that we can examine module globals in the expression parser""" 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 c1cc0f63ea9f4..2912fbdf18603 100644 --- a/lldb/test/API/lang/swift/variables/indirect_enums/TestIndirectEnumVariables.py +++ b/lldb/test/API/lang/swift/variables/indirect_enums/TestIndirectEnumVariables.py @@ -20,12 +20,14 @@ class TestIndirectEnumVariables(TestBase): + @skipEmbeddedSwift @swiftTest def test_indirect_cases_variables(self): """Tests that indirect Enum variables display correctly when cases are indirect""" self.build() self.do_test("indirect case break here") + @skipEmbeddedSwift @swiftTest def test_indirect_enum_variables(self): """Tests that indirect Enum variables display correctly when enum is indirect""" diff --git a/lldb/test/API/lang/swift/variables/inout/TestInOutVariables.py b/lldb/test/API/lang/swift/variables/inout/TestInOutVariables.py index fe7396364796a..3a083fe1a22b6 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 @skipIfWindows # rdar://173243316 def test_in_out_variables(self): diff --git a/lldb/test/API/lang/swift/variables/let/TestSwiftLetConstants.py b/lldb/test/API/lang/swift/variables/let/TestSwiftLetConstants.py index 71b681d430025..8039224fc3c88 100644 --- a/lldb/test/API/lang/swift/variables/let/TestSwiftLetConstants.py +++ b/lldb/test/API/lang/swift/variables/let/TestSwiftLetConstants.py @@ -6,6 +6,7 @@ class TestSwiftLetConstants(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_let_constants(self): """Test that let constants aren't writeable""" self.build() 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/optionals/TestSwiftOptionals.py b/lldb/test/API/lang/swift/variables/optionals/TestSwiftOptionals.py index 4ba1063dd4eab..a3bd1845f640c 100644 --- a/lldb/test/API/lang/swift/variables/optionals/TestSwiftOptionals.py +++ b/lldb/test/API/lang/swift/variables/optionals/TestSwiftOptionals.py @@ -21,6 +21,7 @@ class TestSwiftOptionalType(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_optional_type(self): """Check formatting for T? and T!""" self.do_check_consistency() diff --git a/lldb/test/API/lang/swift/variables/protocol/TestSwiftProtocolTypes.py b/lldb/test/API/lang/swift/variables/protocol/TestSwiftProtocolTypes.py index 2c8196a36baa2..54b0db9a3f14c 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 def test_swift_protocol_types(self): """Test support for protocol types""" diff --git a/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py b/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py index 7cc883c8bc457..4a37db9852bc1 100644 --- a/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py +++ b/lldb/test/API/lang/swift/variables/set/TestSwiftStdlibSet.py @@ -22,6 +22,7 @@ class TestSwiftStdlibSet(TestBase): @swiftTest @skipIfWindows # rdar://173243316 + @skipEmbeddedSwiftOnLinux # Linker failure with arc4random_buf def test_swift_stdlib_set(self): """Tests that we properly vend synthetic children for Swift.Set""" self.build() diff --git a/lldb/test/API/lang/swift/variables/static_string/TestSwiftStaticStringVariables.py b/lldb/test/API/lang/swift/variables/static_string/TestSwiftStaticStringVariables.py index 01b4db6c6307f..65830f81d5b15 100644 --- a/lldb/test/API/lang/swift/variables/static_string/TestSwiftStaticStringVariables.py +++ b/lldb/test/API/lang/swift/variables/static_string/TestSwiftStaticStringVariables.py @@ -24,6 +24,7 @@ class TestSwiftStaticStringVariables(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_static_string_variables(self): """Test that Swift.String formats properly""" self.build() diff --git a/lldb/test/API/lang/swift/variables/string/TestSwiftStringVariables.py b/lldb/test/API/lang/swift/variables/string/TestSwiftStringVariables.py index 4f71ff996cbfa..3794afaaa6f6f 100644 --- a/lldb/test/API/lang/swift/variables/string/TestSwiftStringVariables.py +++ b/lldb/test/API/lang/swift/variables/string/TestSwiftStringVariables.py @@ -24,6 +24,7 @@ class TestSwiftStringVariables(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_string_variables(self): """Test that Swift.String formats properly""" self.build() diff --git a/lldb/test/API/lang/swift/variables/tuples/TestSwiftTupleTypes.py b/lldb/test/API/lang/swift/variables/tuples/TestSwiftTupleTypes.py index 8923104bdd18c..5e4eadad4b99c 100644 --- a/lldb/test/API/lang/swift/variables/tuples/TestSwiftTupleTypes.py +++ b/lldb/test/API/lang/swift/variables/tuples/TestSwiftTupleTypes.py @@ -20,6 +20,7 @@ class TestSwiftTupleTypes(TestBase): @swiftTest + @skipEmbeddedSwiftOnWindows def test_swift_tuple_types(self): """Test support for tuple types""" self.build() diff --git a/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py b/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py index 2d375c42d09c5..2ac5e568a1b62 100644 --- a/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py +++ b/lldb/test/API/lang/swift/variables/uninitialized/TestSwiftUninitializedVariable.py @@ -2,8 +2,7 @@ from lldbsuite.test.decorators import * lldbinline.MakeInlineTest( - __file__, globals(), decorators=[ - swiftTest, - skipIfWindows # rdar://173243316 - ] + __file__, + globals(), + decorators=[skipEmbeddedSwift, swiftTest, skipIfWindows], # rdar://173243316 ) diff --git a/lldb/test/API/lang/swift/variables/unsafe/TestSwiftUnsafeTypes.py b/lldb/test/API/lang/swift/variables/unsafe/TestSwiftUnsafeTypes.py index f629704c43ad3..934005b114f1b 100644 --- a/lldb/test/API/lang/swift/variables/unsafe/TestSwiftUnsafeTypes.py +++ b/lldb/test/API/lang/swift/variables/unsafe/TestSwiftUnsafeTypes.py @@ -15,6 +15,7 @@ def check_ptr(self): self.assertEqual(child.GetSummary(), 'nil') @swiftTest + @skipEmbeddedSwiftOnWindows def test(self): """Test formatters for unsafe types""" self.build() 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 fd6fb510a9db5..ac603a38e8e1a 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 @skipIfWindows # rdar://173245044 @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 @skipIfWindows # rdar://173245044 def test_step_in_and_out_callsite(self): diff --git a/lldb/test/API/lang/swift/zero_size_generic_self/TestSwiftZeroSizeGenericSelf.py b/lldb/test/API/lang/swift/zero_size_generic_self/TestSwiftZeroSizeGenericSelf.py index f66bdf816af15..56512bb6d806c 100644 --- a/lldb/test/API/lang/swift/zero_size_generic_self/TestSwiftZeroSizeGenericSelf.py +++ b/lldb/test/API/lang/swift/zero_size_generic_self/TestSwiftZeroSizeGenericSelf.py @@ -12,4 +12,4 @@ import lldbsuite.test.lldbinline as lldbinline from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest]) +lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest,skipEmbeddedSwiftOnWindows]) diff --git a/lldb/test/API/python_api/sbvalue_updates/TestSBValueUpdates.py b/lldb/test/API/python_api/sbvalue_updates/TestSBValueUpdates.py index f54f73bd04843..b293f8f4014af 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 def test_update_and_format_with_type_change(self): """Test that an SBValue can update and format itself as its type changes""" 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):