[Lldb-commits] [PATCH] D91056: [lldb] [test] Skip ObjC-based tests via 'objc' category
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 9 01:53:01 PST 2020
mgorny created this revision.
mgorny added reviewers: labath, teemperor, krytarowski, emaste.
Herald added a reviewer: espindola.
mgorny requested review of this revision.
Replace the plethora of ObjC-implied 'skipUnlessDarwin' decorators
with marking tests as 'objc' category (whenever missing), and skip all
ObjC tests on non-Darwin platforms. I have used '.categories' file
wherever it was present already or all (>1) tests were relying on ObjC,
and explicit add_test_categories() where there was only one test.
https://reviews.llvm.org/D91056
Files:
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py
lldb/test/API/commands/expression/context-object-objc/TestContextObjectObjc.py
lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
lldb/test/API/commands/expression/import_builtin_fileid/TestImportBuiltinFileID.py
lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/TestNamespaceLocalVarSameNameObjC.py
lldb/test/API/commands/expression/persist_objc_pointeetype/TestPersistObjCPointeeType.py
lldb/test/API/commands/expression/po_verbosity/TestPoVerbosity.py
lldb/test/API/commands/expression/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCCF.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCExpr.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSBundle.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSData.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSURL.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCPlain.py
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjNSException.py
lldb/test/API/functionalities/set-data/TestSetData.py
lldb/test/API/functionalities/tsan/multiple/TestTsanMultiple.py
lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py
lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py
lldb/test/API/lang/objc/conflicting-definition/TestConflictingDefinition.py
lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py
lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py
lldb/test/API/lang/objc/foundation/TestConstStrings.py
lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py
lldb/test/API/lang/objc/foundation/TestObjCMethods.py
lldb/test/API/lang/objc/foundation/TestObjCMethods2.py
lldb/test/API/lang/objc/foundation/TestObjCMethodsNSArray.py
lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py
lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py
lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py
lldb/test/API/lang/objc/foundation/TestSymbolTable.py
lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py
lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py
lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py
lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
lldb/test/API/lang/objc/modules-cache/TestClangModulesCache.py
lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py
lldb/test/API/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py
lldb/test/API/lang/objc/modules-incomplete/TestIncompleteModules.py
lldb/test/API/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py
lldb/test/API/lang/objc/modules-non-objc-target/TestObjCModulesNonObjCTarget.py
lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py
lldb/test/API/lang/objc/modules/TestObjCModules.py
lldb/test/API/lang/objc/objc++/TestObjCXX.py
lldb/test/API/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py
lldb/test/API/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py
lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py
lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py
lldb/test/API/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
lldb/test/API/lang/objc/objc-foundation-dictionary-empty/TestNSDictionary0.py
lldb/test/API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
lldb/test/API/lang/objc/objc-ivar-protocols/TestIvarProtocols.py
lldb/test/API/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
lldb/test/API/lang/objc/objc-new-syntax/TestObjCNewSyntaxArray.py
lldb/test/API/lang/objc/objc-new-syntax/TestObjCNewSyntaxDictionary.py
lldb/test/API/lang/objc/objc-new-syntax/TestObjCNewSyntaxLiteral.py
lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py
lldb/test/API/lang/objc/objc-property/TestObjCProperty.py
lldb/test/API/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py
lldb/test/API/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py
lldb/test/API/lang/objc/objc-static-method/TestObjCStaticMethod.py
lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py
lldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py
lldb/test/API/lang/objc/objc-struct-return/TestObjCStructReturn.py
lldb/test/API/lang/objc/objc-super/TestObjCSuper.py
lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py
lldb/test/API/lang/objc/orderedset/TestOrderedSet.py
lldb/test/API/lang/objc/print-obj/TestPrintObj.py
lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py
lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py
lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py
lldb/test/API/lang/objc/real-definition/TestRealDefinition.py
lldb/test/API/lang/objc/self/TestObjCSelf.py
lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
lldb/test/API/lang/objc/unicode-string/TestUnicodeString.py
lldb/test/API/lang/objc/variadic_methods/TestVariadicMethods.py
lldb/test/API/lang/objcxx/.categories
lldb/test/API/lang/objcxx/class-name-clash/TestNameClash.py
lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
lldb/test/API/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py
lldb/test/API/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py
lldb/test/API/macosx/nslog/.categories
lldb/test/API/python_api/objc_type/TestObjCType.py
lldb/test/API/python_api/sbtype_typeclass/TestSBTypeTypeClass.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91056.303777.patch
Type: text/x-patch
Size: 55402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201109/b6662560/attachment-0001.bin>
More information about the lldb-commits
mailing list