[Lldb-commits] [PATCH] Replace sys.platform skips in tests with @skip decorators which check against remote platform.
Robert Flack
flackr at gmail.com
Fri Mar 27 10:06:43 PDT 2015
Hi clayborg, tberghammer,
Adds @skipIfPlatform and @skipUnlessPlatform decorators which will skip if / unless the target platform is in the provided platform list.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8665
Files:
test/benchmarks/continue/TestBenchmarkContinue.py
test/driver/batch_mode/TestBatchMode.py
test/expression_command/call-function/TestCallStdStringFunction.py
test/expression_command/call-function/TestCallStopAndContinue.py
test/expression_command/call-restarts/TestCallThatRestarts.py
test/expression_command/call-throws/TestCallThatThrows.py
test/expression_command/formatters/TestFormatters.py
test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
test/expression_command/po_verbosity/TestPoVerbosity.py
test/expression_command/timeout/TestCallWithTimeout.py
test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
test/functionalities/abbreviation/TestAbbreviations.py
test/functionalities/abbreviation/TestCommonShortSpellings.py
test/functionalities/alias/TestAliases.py
test/functionalities/asan/TestMemoryHistory.py
test/functionalities/asan/TestReportData.py
test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
test/functionalities/breakpoint/cpp/TestCPPBreakpoints.py
test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py
test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py
test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
test/functionalities/command_script/TestCommandScript.py
test/functionalities/conditional_break/TestConditionalBreak.py
test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py
test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py
test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py
test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py
test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py
test/functionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py
test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py
test/functionalities/data-formatter/rdar-11086338/TestRdar11086338.py
test/functionalities/data-formatter/rdar-11628688/TestFormattersBoolRefPtr.py
test/functionalities/data-formatter/rdar-11773899/TestFormattersBoolRefPtr.py
test/functionalities/data-formatter/rdar-11988289/TestRdar 11988289.py
test/functionalities/data-formatter/rdar-12437442/TestRdar12437442.py
test/functionalities/data-formatter/rdar-12529957/TestRdar12529957.py
test/functionalities/data-formatter/rdar-13338477/Test-rdar-13338477.py
test/functionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py
test/functionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
test/functionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py
test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py
test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py
test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py
test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
test/functionalities/dead-strip/TestDeadStrip.py
test/functionalities/disassembly/TestDisassembleBreakpoint.py
test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py
test/functionalities/embedded_interpreter/TestConvenienceVariables.py
test/functionalities/exec/TestExec.py
test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
test/functionalities/fat_archives/TestFatArchives.py
test/functionalities/inferior-assert/TestInferiorAssert.py
test/functionalities/inferior-changed/TestInferiorChanged.py
test/functionalities/inferior-crashing/TestInferiorCrashing.py
test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
test/functionalities/inline-stepping/TestInlineStepping.py
test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
test/functionalities/memory/read/TestMemoryRead.py
test/functionalities/nosucharch/TestNoSuchArch.py
test/functionalities/paths/TestPaths.py
test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
test/functionalities/process_attach/TestProcessAttach.py
test/functionalities/process_launch/TestProcessLaunch.py
test/functionalities/recursion/TestValueObjectRecursion.py
test/functionalities/rerun/TestRerun.py
test/functionalities/return-value/TestReturnValue.py
test/functionalities/set-data/TestSetData.py
test/functionalities/signal/TestSendSignal.py
test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
test/functionalities/stop-hook/TestStopHookCmd.py
test/functionalities/stop-hook/TestStopHookMechanism.py
test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
test/functionalities/target_command/TestTargetCommand.py
test/functionalities/thread/TestNumThreads.py
test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
test/functionalities/thread/create_during_step/TestCreateDuringStep.py
test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
test/functionalities/thread/exit_during_step/TestExitDuringStep.py
test/functionalities/thread/jump/TestThreadJump.py
test/functionalities/thread/multi_break/TestMultipleBreakpoints.py
test/functionalities/thread/state/TestThreadStates.py
test/functionalities/thread/thread_exit/TestThreadExit.py
test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py
test/functionalities/tty/TestTerminal.py
test/functionalities/type_completion/TestTypeCompletion.py
test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
test/functionalities/value_md5_crash/TestValueMD5Crash.py
test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py
test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py
test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
test/lang/c/array_types/TestArrayTypes.py
test/lang/c/bitfields/TestBitfields.py
test/lang/c/enum_types/TestEnumTypes.py
test/lang/c/forward/TestForwardDeclaration.py
test/lang/c/function_types/TestFunctionTypes.py
test/lang/c/global_variables/TestGlobalVariables.py
test/lang/c/set_values/TestSetValues.py
test/lang/c/stepping/TestStepAndBreakpoints.py
test/lang/c/stepping/TestThreadStepping.py
test/lang/c/strings/TestCStrings.py
test/lang/c/tls_globals/TestTlsGlobals.py
test/lang/cpp/bool/TestCPPBool.py
test/lang/cpp/breakpoints/TestCPPBreakpoints.py
test/lang/cpp/call-function/TestCallCPPFunction.py
test/lang/cpp/char1632_t/TestChar1632T.py
test/lang/cpp/class_static/TestStaticVariables.py
test/lang/cpp/class_types/TestClassTypes.py
test/lang/cpp/class_types/TestClassTypesDisassembly.py
test/lang/cpp/diamond/TestDiamond.py
test/lang/cpp/dynamic-value/TestCppValueCast.py
test/lang/cpp/dynamic-value/TestDynamicValue.py
test/lang/cpp/enum_types/TestCPP11EnumTypes.py
test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
test/lang/cpp/namespace/TestNamespace.py
test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
test/lang/cpp/rdar12991846/TestRdar12991846.py
test/lang/cpp/rvalue-references/TestRvalueReferences.py
test/lang/cpp/signed_types/TestSignedTypes.py
test/lang/cpp/static_members/TestCPPStaticMembers.py
test/lang/cpp/static_methods/TestCPPStaticMethods.py
test/lang/cpp/stl/TestSTL.py
test/lang/cpp/this/TestCPPThis.py
test/lang/cpp/unique-types/TestUniqueTypes.py
test/lang/cpp/unsigned_types/TestUnsignedTypes.py
test/lang/cpp/virtual/TestVirtual.py
test/lang/cpp/wchar_t/TestCxxWCharT.py
test/lang/objc/blocks/TestObjCIvarsInBlocks.py
test/lang/objc/forward-decl/TestForwardDecl.py
test/lang/objc/foundation/TestConstStrings.py
test/lang/objc/foundation/TestFoundationDisassembly.py
test/lang/objc/foundation/TestObjCMethods.py
test/lang/objc/foundation/TestObjCMethods2.py
test/lang/objc/foundation/TestObjectDescriptionAPI.py
test/lang/objc/foundation/TestRuntimeTypes.py
test/lang/objc/foundation/TestSymbolTable.py
test/lang/objc/hidden-ivars/TestHiddenIvars.py
test/lang/objc/objc++/TestObjCXX.py
test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py
test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
test/lang/objc/objc-checker/TestObjCCheckers.py
test/lang/objc/objc-class-method/TestObjCClassMethod.py
test/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py
test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py
test/lang/objc/objc-optimized/TestObjcOptimized.py
test/lang/objc/objc-property/TestObjCProperty.py
test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py
test/lang/objc/objc-static-method/TestObjCStaticMethod.py
test/lang/objc/objc-stepping/TestObjCStepping.py
test/lang/objc/objc-struct-return/TestObjCStructReturn.py
test/lang/objc/objc-super/TestObjCSuper.py
test/lang/objc/print-obj/TestPrintObj.py
test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
test/lang/objc/rdar-10967107/TestRdar10967107.py
test/lang/objc/rdar-11355592/TestRdar11355592.py
test/lang/objc/rdar-12408181/TestRdar12408181.py
test/lang/objc/real-definition/TestRealDefinition.py
test/lang/objc/self/TestObjCSelf.py
test/linux/builtin_trap/TestBuiltinTrap.py
test/lldbinline.py
test/lldbtest.py
test/logging/TestLogging.py
test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py
test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py
test/macosx/indirect_symbol/TestIndirectSymbols.py
test/macosx/order/TestOrderFile.py
test/macosx/queues/TestQueues.py
test/macosx/safe-to-func-call/TestSafeFuncCalls.py
test/macosx/universal/TestUniversal.py
test/python_api/breakpoint/TestBreakpointAPI.py
test/python_api/class_members/TestSBTypeClassMembers.py
test/python_api/event/TestEvents.py
test/python_api/findvalue_duplist/TestSBFrameFindValue.py
test/python_api/formatters/TestFormattersSBAPI.py
test/python_api/frame/TestFrames.py
test/python_api/frame/inlines/TestInlinedFrame.py
test/python_api/function_symbol/TestDisasmAPI.py
test/python_api/function_symbol/TestSymbolAPI.py
test/python_api/hello_world/TestHelloWorld.py
test/python_api/interpreter/TestCommandInterpreterAPI.py
test/python_api/objc_type/TestObjCType.py
test/python_api/process/TestProcessAPI.py
test/python_api/process/io/TestProcessIO.py
test/python_api/rdar-12481949/Test-rdar-12481949.py
test/python_api/sbdata/TestSBData.py
test/python_api/sbvalue_persist/TestSBValuePersist.py
test/python_api/section/TestSectionAPI.py
test/python_api/symbol-context/TestSymbolContext.py
test/python_api/target/TestTargetAPI.py
test/python_api/thread/TestThreadAPI.py
test/python_api/type/TestTypeList.py
test/python_api/value/TestValueAPI.py
test/python_api/value/change_values/TestChangeValueAPI.py
test/python_api/value/linked_list/TestValueAPILinkedList.py
test/python_api/value_var_update/TestValueVarUpdate.py
test/python_api/watchpoint/TestSetWatchpoint.py
test/python_api/watchpoint/TestWatchpointIgnoreCount.py
test/python_api/watchpoint/TestWatchpointIter.py
test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
test/settings/TestSettings.py
test/tools/lldb-mi/signal/TestMiSignal.py
(9 more files...)
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8665.22803.patch
Type: text/x-patch
Size: 228896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150327/2a3dc32d/attachment.bin>
More information about the lldb-commits
mailing list