From 4cc8f2a017c76af25234afc7c380550e9c93135c Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Thu, 16 Jun 2022 17:38:47 -0700 Subject: [PATCH] [lldb][tests] Automatically call compute_mydir (NFC) Eliminate boilerplate of having each test manually assign to `mydir` by calling `compute_mydir` in lldbtest.py. Differential Revision: https://reviews.llvm.org/D128077 --- lldb/packages/Python/lldbsuite/test/README-TestSuite | 4 +--- lldb/packages/Python/lldbsuite/test/lldbtest.py | 13 +++---------- lldb/test/API/android/platform/TestDefaultCacheLineSize.py | 2 -- .../api/check_public_api_headers/TestPublicAPIHeaders.py | 2 -- .../api/command-return-object/TestSBCommandReturnObject.py | 2 -- lldb/test/API/api/listeners/TestListener.py | 2 -- lldb/test/API/api/log/TestAPILog.py | 2 -- .../API/api/multiple-debuggers/TestMultipleDebuggers.py | 2 -- lldb/test/API/api/multiple-targets/TestMultipleTargets.py | 2 -- lldb/test/API/api/multithreaded/TestMultithreaded.py | 2 -- lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py | 2 -- .../TestBreakpointThumbCodesection.py | 2 -- lldb/test/API/arm/emulation/TestEmulations.py | 2 -- lldb/test/API/assert_messages_test/TestAssertMessages.py | 2 -- lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py | 2 -- lldb/test/API/benchmarks/expression/TestExpressionCmd.py | 2 -- lldb/test/API/benchmarks/expression/TestRepeatedExprs.py | 2 -- .../benchmarks/frame_variable/TestFrameVariableResponse.py | 2 -- .../API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py | 2 -- .../test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py | 2 -- lldb/test/API/benchmarks/startup/TestStartupDelays.py | 2 -- lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py | 2 -- .../turnaround/TestCompileRunToBreakpointTurnaround.py | 2 -- lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py | 2 -- lldb/test/API/commands/apropos/basic/TestApropos.py | 2 -- .../commands/apropos/with-process/TestAproposWithProcess.py | 2 -- .../breakpoint/command/list/TestBreakpointCommandList.py | 2 -- .../breakpoint/set/func-regex/TestBreakpointRegexError.py | 2 -- .../API/commands/command/container/TestContainerCommands.py | 2 -- lldb/test/API/commands/command/delete/TestCommandDelete.py | 2 -- .../commands/command/invalid-args/TestInvalidArgsCommand.py | 2 -- .../API/commands/command/nested_alias/TestNestedAlias.py | 2 -- lldb/test/API/commands/command/regex/TestRegexCommand.py | 2 -- lldb/test/API/commands/command/script/TestCommandScript.py | 2 -- lldb/test/API/commands/command/script/import/TestImport.py | 2 -- .../command/script/import/rdar-12586188/TestRdar12586188.py | 2 -- .../commands/command/script_alias/TestCommandScriptAlias.py | 2 -- lldb/test/API/commands/command/source/TestCommandSource.py | 2 -- .../commands/disassemble/basic/TestDisassembleBreakpoint.py | 2 -- .../API/commands/disassemble/basic/TestFrameDisassemble.py | 2 -- .../expression/anonymous-struct/TestCallUserAnonTypedef.py | 1 - .../TestArgumentPassingRestrictions.py | 2 -- .../expression/calculator_mode/TestCalculatorMode.py | 2 -- .../expression/call-function/TestCallBuiltinFunction.py | 2 -- .../expression/call-function/TestCallStdStringFunction.py | 2 -- .../expression/call-function/TestCallStopAndContinue.py | 2 -- .../expression/call-function/TestCallUserDefinedFunction.py | 2 -- .../expression/call-restarts/TestCallThatRestarts.py | 2 -- .../commands/expression/call-throws/TestCallThatThrows.py | 2 -- .../TestCastIntToAnonymousEnum.py | 2 -- lldb/test/API/commands/expression/char/TestExprsChar.py | 2 -- .../TestClassTemplateSpecializationParametersHandling.py | 2 -- .../TestImportDefinitionArrayType.py | 2 -- .../TestInvalidIteratorCompletionCrash.py | 2 -- .../commands/expression/completion/TestExprCompletion.py | 2 -- .../expression/context-object-objc/TestContextObjectObjc.py | 2 -- .../commands/expression/context-object/TestContextObject.py | 2 -- .../commands/expression/diagnostics/TestExprDiagnostics.py | 2 -- .../expression/dollar-in-variable/TestDollarInVariable.py | 2 -- .../API/commands/expression/dont_allow_jit/TestAllowJIT.py | 2 -- .../API/commands/expression/entry-bp/TestExprEntryBP.py | 2 -- .../commands/expression/error-limit/TestExprErrorLimit.py | 2 -- .../expression/expr-in-syscall/TestExpressionInSyscall.py | 2 -- lldb/test/API/commands/expression/fixits/TestFixIts.py | 2 -- .../API/commands/expression/formatters/TestFormatters.py | 2 -- .../TestFunctionTemplateSpecializationTempArgs.py | 2 -- .../import-std-module/array/TestArrayFromStdModule.py | 2 -- .../import-std-module/basic/TestImportStdModule.py | 2 -- .../conflicts/TestStdModuleWithConflicts.py | 2 -- .../import-std-module/deque-basic/TestDequeFromStdModule.py | 2 -- .../TestDbgInfoContentDequeFromStdModule.py | 2 -- .../import-std-module/empty-module/TestEmptyStdModule.py | 2 -- .../TestForwardDeclFromStdModule.py | 2 -- .../TestDbgInfoContentForwardListFromStdModule.py | 2 -- .../forward_list/TestForwardListFromStdModule.py | 2 -- .../import-std-module/iterator/TestIteratorFromStdModule.py | 2 -- .../TestDbgInfoContentListFromStdModule.py | 2 -- .../import-std-module/list/TestListFromStdModule.py | 2 -- .../missing-module-sources/TestStdModuleSourcesMissing.py | 2 -- .../module-build-errors/TestStdModuleBuildErrors.py | 2 -- .../import-std-module/no-std-module/TestMissingStdModule.py | 2 -- .../TestNonModuleTypeSeparation.py | 2 -- .../import-std-module/pair/TestPairFromStdModule.py | 2 -- .../import-std-module/queue/TestQueueFromStdModule.py | 2 -- .../retry-with-std-module/TestRetryWithStdModule.py | 2 -- .../TestSharedPtrDbgInfoContentFromStdModule.py | 2 -- .../shared_ptr/TestSharedPtrFromStdModule.py | 2 -- .../import-std-module/stack/TestStackFromStdModule.py | 2 -- .../import-std-module/sysroot/TestStdModuleSysroot.py | 2 -- .../TestUniquePtrDbgInfoContent.py | 2 -- .../unique_ptr/TestUniquePtrFromStdModule.py | 2 -- .../vector-bool/TestVectorBoolFromStdModule.py | 2 -- .../TestDbgInfoContentVectorFromStdModule.py | 2 -- .../vector-of-vectors/TestVectorOfVectorsFromStdModule.py | 2 -- .../import-std-module/vector/TestVectorFromStdModule.py | 2 -- .../TestDbgInfoContentWeakPtrFromStdModule.py | 2 -- .../import-std-module/weak_ptr/TestWeakPtrFromStdModule.py | 2 -- .../import_builtin_fileid/TestImportBuiltinFileID.py | 2 -- .../expression/inline-namespace/TestInlineNamespace.py | 1 - .../expression/invalid-args/TestInvalidArgsExpression.py | 2 -- .../ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py | 1 - .../commands/expression/ir-interpreter/TestIRInterpreter.py | 2 -- lldb/test/API/commands/expression/issue_11588/Test11588.py | 2 -- lldb/test/API/commands/expression/macros/TestMacros.py | 2 -- .../multiline-completion/TestMultilineCompletion.py | 2 -- .../multiline-navigation/TestMultilineNavigation.py | 2 -- .../TestNamespaceLocalVarSameNameCppAndC.py | 2 -- .../TestNamespaceLocalVarSameNameObjC.py | 2 -- .../commands/expression/no-deadlock/TestExprDoesntBlock.py | 2 -- .../test/API/commands/expression/options/TestExprOptions.py | 2 -- .../persist_objc_pointeetype/TestPersistObjCPointeeType.py | 2 -- .../persistent_ptr_update/TestPersistentPtrUpdate.py | 2 -- .../persistent_types/TestNestedPersistentTypes.py | 2 -- .../expression/persistent_types/TestPersistentTypes.py | 2 -- .../persistent_variables/TestPersistentVariables.py | 2 -- .../API/commands/expression/po_verbosity/TestPoVerbosity.py | 2 -- .../API/commands/expression/pr35310/TestExprsBug35310.py | 2 -- lldb/test/API/commands/expression/pr52257/TestExprCrash.py | 2 -- .../API/commands/expression/radar_8638051/Test8638051.py | 2 -- .../commands/expression/radar_9531204/TestPrintfAfterUp.py | 2 -- .../expression/radar_9673664/TestExprHelpExamples.py | 2 -- .../expression/result_numbering/TestResultNumbering.py | 2 -- .../expression/save_jit_objects/TestSaveJITObjects.py | 1 - .../commands/expression/scoped_enums/TestScopedEnumType.py | 2 -- .../static-initializers/TestStaticInitializers.py | 2 -- lldb/test/API/commands/expression/test/TestExprs.py | 2 -- lldb/test/API/commands/expression/test/TestExprs2.py | 2 -- .../API/commands/expression/timeout/TestCallWithTimeout.py | 2 -- .../API/commands/expression/top-level/TestTopLevelExprs.py | 2 -- .../two-files/TestObjCTypeQueryFromOtherCompileUnit.py | 2 -- .../expression/unwind_expression/TestUnwindExpression.py | 2 -- .../expression/vector_of_enums/TestVectorOfEnums.py | 2 -- .../API/commands/expression/weak_symbols/TestWeakSymbols.py | 2 -- .../API/commands/expression/xvalue/TestXValuePrinting.py | 2 -- lldb/test/API/commands/frame/diagnose/array/TestArray.py | 1 - .../frame/diagnose/bad-reference/TestBadReference.py | 1 - .../complicated-expression/TestComplicatedExpression.py | 1 - .../dereference-argument/TestDiagnoseDereferenceArgument.py | 1 - .../TestDiagnoseDereferenceFunctionReturn.py | 1 - .../dereference-this/TestDiagnoseDereferenceThis.py | 1 - .../frame/diagnose/inheritance/TestDiagnoseInheritance.py | 1 - .../frame/diagnose/local-variable/TestLocalVariable.py | 1 - .../TestDiagnoseDereferenceVirtualMethodCall.py | 1 - lldb/test/API/commands/frame/language/TestGuessLanguage.py | 2 -- .../API/commands/frame/recognizer/TestFrameRecognizer.py | 2 -- lldb/test/API/commands/frame/select/TestFrameSelect.py | 2 -- lldb/test/API/commands/frame/var/TestFrameVar.py | 2 -- lldb/test/API/commands/gui/basic/TestGuiBasic.py | 2 -- lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py | 2 -- .../test/API/commands/gui/breakpoints/TestGuiBreakpoints.py | 2 -- .../gui/expand-threads-tree/TestGuiExpandThreadsTree.py | 2 -- .../API/commands/gui/invalid-args/TestInvalidArgsGui.py | 2 -- lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py | 2 -- lldb/test/API/commands/help/TestHelp.py | 2 -- lldb/test/API/commands/log/basic/TestLogging.py | 2 -- .../API/commands/log/invalid-args/TestInvalidArgsLog.py | 2 -- lldb/test/API/commands/memory/read/TestMemoryRead.py | 2 -- lldb/test/API/commands/memory/write/TestMemoryWrite.py | 2 -- .../test/API/commands/platform/basic/TestPlatformCommand.py | 2 -- lldb/test/API/commands/platform/basic/TestPlatformPython.py | 2 -- .../API/commands/platform/connect/TestPlatformConnect.py | 1 - .../commands/platform/file/close/TestPlatformFileClose.py | 2 -- .../API/commands/platform/file/read/TestPlatformFileRead.py | 2 -- .../API/commands/platform/process/list/TestProcessList.py | 2 -- lldb/test/API/commands/platform/sdk/TestPlatformSDK.py | 2 -- .../API/commands/process/attach-resume/TestAttachResume.py | 2 -- lldb/test/API/commands/process/attach/TestProcessAttach.py | 2 -- .../process/attach/attach_denied/TestAttachDenied.py | 2 -- lldb/test/API/commands/process/handle/TestProcessHandle.py | 2 -- .../launch-with-shellexpand/TestLaunchWithShellExpand.py | 2 -- lldb/test/API/commands/process/launch/TestProcessLaunch.py | 2 -- lldb/test/API/commands/process/signal/TestProcessSignal.py | 2 -- lldb/test/API/commands/quit/TestQuit.py | 2 -- .../aarch64_dynamic_regset/TestArm64DynamicRegsets.py | 2 -- .../rw_access_dynamic_resize/TestSVEThreadedDynamic.py | 2 -- .../rw_access_static_config/TestSVERegisters.py | 2 -- .../register/register/register_command/TestRegisters.py | 2 -- .../reproducer/invalid-args/TestInvalidArgsReproducer.py | 2 -- .../test/API/commands/session/history/TestSessionHistory.py | 2 -- lldb/test/API/commands/session/save/TestSessionSave.py | 2 -- lldb/test/API/commands/settings/TestSettings.py | 2 -- lldb/test/API/commands/settings/quoting/TestQuoting.py | 2 -- .../settings/use_source_cache/TestUseSourceCache.py | 2 -- lldb/test/API/commands/statistics/basic/TestStats.py | 2 -- .../TestAutoInstallMainExecutable.py | 1 - lldb/test/API/commands/target/basic/TestTargetCommand.py | 2 -- .../API/commands/target/create-deps/TestTargetCreateDeps.py | 2 -- .../commands/target/create-no-such-arch/TestNoSuchArch.py | 2 -- .../target/dump-symtab-demangle/TestDumpSymtabDemangle.py | 2 -- .../API/commands/target/dump/TestTargetDumpTypeSystem.py | 2 -- .../insert/TestTargetModulesSearchpathsInsert.py | 2 -- lldb/test/API/commands/target/select/TestTargetSelect.py | 2 -- .../target/stop-hook/delete/TestTargetStopHookDelete.py | 2 -- .../target/stop-hook/disable/TestTargetStopHookDisable.py | 2 -- .../target/stop-hook/enable/TestTargetStopHookEnable.py | 2 -- .../API/commands/target/stop-hooks/TestStopHookScripted.py | 2 -- lldb/test/API/commands/target/stop-hooks/TestStopHooks.py | 2 -- .../commands/thread/backtrace/TestThreadBacktraceRepeat.py | 2 -- lldb/test/API/commands/thread/select/TestThreadSelect.py | 2 -- lldb/test/API/commands/trace/TestTraceDumpInfo.py | 1 - lldb/test/API/commands/trace/TestTraceDumpInstructions.py | 2 -- lldb/test/API/commands/trace/TestTraceEvents.py | 2 -- lldb/test/API/commands/trace/TestTraceExport.py | 2 -- lldb/test/API/commands/trace/TestTraceLoad.py | 2 -- lldb/test/API/commands/trace/TestTraceSave.py | 1 - lldb/test/API/commands/trace/TestTraceSchema.py | 2 -- lldb/test/API/commands/trace/TestTraceStartStop.py | 2 -- lldb/test/API/commands/trace/TestTraceTSC.py | 2 -- .../multiple-threads/TestTraceStartStopMultipleThreads.py | 2 -- lldb/test/API/commands/version/TestVersion.py | 2 -- .../watchpoints/hello_watchlocation/TestWatchLocation.py | 2 -- .../watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py | 2 -- .../multi_watchpoint_slots/TestWatchpointMultipleSlots.py | 2 -- .../commands/watchpoints/multiple_hits/TestMultipleHits.py | 2 -- .../multiple_threads/TestWatchpointMultipleThreads.py | 2 -- .../step_over_watchpoint/TestStepOverWatchpoint.py | 2 -- .../variable_out_of_scope/TestWatchedVarHitWhenInScope.py | 2 -- .../watchpoints/watch_tagged_addr/TestWatchTaggedAddress.py | 2 -- .../watchpoint_commands/TestWatchpointCommands.py | 2 -- .../command/TestWatchpointCommandLLDB.py | 2 -- .../command/TestWatchpointCommandPython.py | 2 -- .../condition/TestWatchpointConditionCmd.py | 2 -- .../watchpoints/watchpoint_count/TestWatchpointCount.py | 1 - .../watchpoints/watchpoint_disable/TestWatchpointDisable.py | 1 - .../watchpoints/watchpoint_events/TestWatchpointEvents.py | 2 -- .../watchpoint_on_vectors/TestValueOfVectorVariable.py | 2 -- .../watchpoint_set_command/TestWatchLocationWithWatchSet.py | 2 -- .../watchpoints/watchpoint_size/TestWatchpointSizes.py | 2 -- lldb/test/API/driver/batch_mode/TestBatchMode.py | 2 -- lldb/test/API/driver/job_control/TestJobControl.py | 2 -- .../API/functionalities/abbreviation/TestAbbreviations.py | 2 -- .../abbreviation/TestCommonShortSpellings.py | 2 -- lldb/test/API/functionalities/archives/TestBSDArchives.py | 2 -- lldb/test/API/functionalities/asan/TestMemoryHistory.py | 2 -- lldb/test/API/functionalities/asan/TestReportData.py | 2 -- lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py | 2 -- .../backticks/TestBackticksWithoutATarget.py | 2 -- .../address_breakpoints/TestAddressBreakpoints.py | 2 -- .../address_breakpoints/TestBadAddressBreakpoints.py | 2 -- .../breakpoint/auto_continue/TestBreakpointAutoContinue.py | 2 -- .../break_in_loaded_dylib/TestBreakInLoadedDylib.py | 2 -- .../TestBreakpointByFileColonLine.py | 2 -- .../TestBreakpointByLineAndColumn.py | 2 -- .../TestBreakpointCallbackCommandSource.py | 2 -- .../breakpoint/breakpoint_command/TestBreakpointCommand.py | 1 - .../breakpoint_command/TestBreakpointCommandsFromPython.py | 2 -- .../breakpoint/breakpoint_command/TestRegexpBreakCommand.py | 2 -- .../breakpoint_conditions/TestBreakpointConditions.py | 2 -- .../breakpoint_hit_count/TestBreakpointHitCount.py | 2 -- .../breakpoint/breakpoint_ids/TestBreakpointIDs.py | 2 -- .../breakpoint_ignore_count/TestBreakpointIgnoreCount.py | 2 -- .../TestAvoidBreakpointInDelaySlot.py | 2 -- .../breakpoint_language/TestBreakpointLanguage.py | 2 -- .../breakpoint_locations/TestBreakpointLocations.py | 2 -- .../breakpoint/breakpoint_names/TestBreakpointNames.py | 2 -- .../breakpoint_on_overload/TestBreakOnOverload.py | 2 -- .../breakpoint/breakpoint_options/TestBreakpointOptions.py | 2 -- .../breakpoint_set_restart/TestBreakpointSetRestart.py | 2 -- .../breakpoint/comp_dir_symlink/TestCompDirSymLink.py | 2 -- .../consecutive_breakpoints/TestConsecutiveBreakpoints.py | 2 -- .../breakpoint/cpp/TestCPPBreakpointLocations.py | 2 -- .../breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py | 2 -- .../functionalities/breakpoint/debugbreak/TestDebugBreak.py | 2 -- .../TestBreakpointsWithNoTargets.py | 2 -- .../global_constructor/TestBreakpointInGlobalConstructor.py | 2 -- .../TestHWBreakMultiThread.py | 1 - .../require_hw_breakpoints/TestRequireHWBreakpoints.py | 1 - .../TestWriteMemoryWithHWBreakpoint.py | 1 - .../inlined_breakpoints/TestInlinedBreakpoints.py | 2 -- .../breakpoint/move_nearest/TestMoveNearest.py | 2 -- .../functionalities/breakpoint/objc/TestObjCBreakpoints.py | 2 -- .../breakpoint/scripted_bkpt/TestScriptedResolver.py | 2 -- .../breakpoint/serialize/TestBreakpointSerialization.py | 2 -- .../breakpoint/source_regexp/TestSourceRegexBreakpoints.py | 2 -- .../step_over_breakpoint/TestStepOverBreakpoint.py | 2 -- lldb/test/API/functionalities/completion/TestCompletion.py | 2 -- .../conditional_break/TestConditionalBreak.py | 2 -- .../data-formatter/array_typedef/TestArrayTypedef.py | 2 -- .../boolreference/TestFormattersBoolRefPtr.py | 2 -- .../data-formatter/builtin-formats/TestBuiltinFormats.py | 2 -- .../data-formatter/compactvectors/TestCompactVectors.py | 2 -- .../cstring-utf8-summary/TestCstringUnicode.py | 2 -- .../data-formatter-advanced/TestDataFormatterAdv.py | 2 -- .../data-formatter-caching/TestDataFormatterCaching.py | 2 -- .../TestDataFormatterCategories.py | 2 -- .../data-formatter-cpp/TestDataFormatterCpp.py | 2 -- .../data-formatter-disabling/TestDataFormatterDisabling.py | 2 -- .../TestDataFormatterEnumFormat.py | 2 -- .../data-formatter-globals/TestDataFormatterGlobals.py | 2 -- .../TestDataFormatterNamedSummaries.py | 2 -- .../data-formatter-objc/ObjCDataFormatterTestCase.py | 2 -- .../data-formatter-objc/cmtime/TestDataFormatterCMTime.py | 2 -- .../nsindexpath/TestDataFormatterNSIndexPath.py | 2 -- .../nsstring/TestDataFormatterNSString.py | 2 -- .../TestFormattersOneIsSingular.py | 2 -- .../data-formatter-ptr-to-array/TestPtrToArrayFormatting.py | 2 -- .../TestDataFormatterPythonSynth.py | 2 -- .../data-formatter-script/TestDataFormatterScript.py | 2 -- .../TestDataFormatterSkipSummary.py | 2 -- .../TestDataFormatterSmartArray.py | 2 -- .../generic/bitset/TestDataFormatterGenericBitset.py | 2 -- .../generic/deque/TestDataFormatterGenericDeque.py | 2 -- .../forward_list/TestDataFormatterGenericForwardList.py | 2 -- .../generic/list/TestDataFormatterGenericList.py | 2 -- .../generic/list/loop/TestDataFormatterGenericListLoop.py | 2 -- .../generic/multimap/TestDataFormatterGenericMultiMap.py | 2 -- .../generic/multiset/TestDataFormatterGenericMultiSet.py | 2 -- .../generic/optional/TestDataFormatterGenericOptional.py | 2 -- .../generic/set/TestDataFormatterGenericSet.py | 2 -- .../generic/unordered/TestDataFormatterGenericUnordered.py | 1 - .../data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py | 2 -- .../libcxx/function/TestLibCxxFunction.py | 2 -- .../libcxx/initializerlist/TestInitializerList.py | 2 -- .../libcxx/iterator/TestDataFormatterLibccIterator.py | 2 -- .../libcxx/map/TestDataFormatterLibccMap.py | 2 -- .../libcxx/queue/TestDataFormatterLibcxxQueue.py | 2 -- .../libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py | 2 -- .../libcxx/span/TestDataFormatterLibcxxSpan.py | 2 -- .../libcxx/string/TestDataFormatterLibcxxString.py | 2 -- .../libcxx/string_view/TestDataFormatterLibcxxStringView.py | 2 -- .../libcxx/tuple/TestDataFormatterLibcxxTuple.py | 2 -- .../libcxx/unique_ptr/TestDataFormatterLibcxxUniquePtr.py | 2 -- .../libcxx/variant/TestDataFormatterLibcxxVariant.py | 2 -- .../libcxx/vbool/TestDataFormatterLibcxxVBool.py | 2 -- .../libcxx/vector/TestDataFormatterLibcxxVector.py | 2 -- .../libstdcpp/iterator/TestDataFormatterStdIterator.py | 2 -- .../libstdcpp/map/TestDataFormatterStdMap.py | 2 -- .../libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py | 1 - .../libstdcpp/string/TestDataFormatterStdString.py | 2 -- .../libstdcpp/tuple/TestDataFormatterStdTuple.py | 1 - .../libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py | 1 - .../libstdcpp/vbool/TestDataFormatterStdVBool.py | 2 -- .../libstdcpp/vector/TestDataFormatterStdVector.py | 2 -- .../data-formatter-synth/TestDataFormatterSynth.py | 2 -- .../data-formatter-synthtype/TestDataFormatterSynthType.py | 2 -- .../data-formatter-synthval/TestDataFormatterSynthVal.py | 2 -- .../format-propagation/TestFormatPropagation.py | 2 -- .../frameformat_smallstruct/TestFrameFormatSmallStruct.py | 2 -- .../data-formatter/hexcaps/TestDataFormatterHexCaps.py | 2 -- .../TestDataFormatterLanguageCategoryUpdates.py | 2 -- .../data-formatter/nsarraysynth/TestNSArraySynthetic.py | 2 -- .../nsdictionarysynth/TestNSDictionarySynthetic.py | 2 -- .../data-formatter/nssetsynth/TestNSSetSynthetic.py | 2 -- .../data-formatter/ostypeformatting/TestFormattersOsType.py | 2 -- .../functionalities/data-formatter/parray/TestPrintArray.py | 2 -- .../data-formatter/poarray/TestPrintObjectArray.py | 2 -- .../data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py | 2 -- .../pyobjsynthprovider/TestPyObjSynthProvider.py | 2 -- .../TestDataFormatterRefPtrRecursion.py | 2 -- .../summary-string-onfail/Test-rdar-9974002.py | 1 - .../data-formatter/synthcapping/TestSyntheticCapping.py | 2 -- .../synthupdate/TestSyntheticFilterRecompute.py | 2 -- .../type_summary_list_arg/TestTypeSummaryListArg.py | 2 -- .../type_summary_list_script/TestTypeSummaryListScript.py | 2 -- .../user-format-vs-summary/TestUserFormatVsSummary.py | 2 -- .../var-in-aggregate-misuse/TestVarInAggregateMisuse.py | 2 -- .../TestDataFormatterVarScriptFormatting.py | 2 -- .../vector-types/TestVectorTypesFormatting.py | 2 -- lldb/test/API/functionalities/dead-strip/TestDeadStrip.py | 2 -- .../deleted-executable/TestDeletedExecutable.py | 2 -- .../diagnostic_reporting/TestDiagnosticReporting.py | 2 -- .../disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py | 2 -- .../dlopen_other_executable/TestDlopenOtherExecutable.py | 2 -- .../functionalities/dyld-exec-linux/TestDyldExecLinux.py | 1 - .../dyld-launch-linux/TestDyldLaunchLinux.py | 1 - .../dynamic_value_child_count/TestDynamicValueChildCount.py | 2 -- lldb/test/API/functionalities/exec/TestExec.py | 2 -- .../API/functionalities/fat_archives/TestFatArchives.py | 2 -- .../functionalities/find-line-entry/TestFindLineEntry.py | 2 -- .../gdb_remote_client/TestAArch64XMLRegOffsets.py | 2 -- .../gdb_remote_client/TestArmRegisterDefinition.py | 2 -- lldb/test/API/functionalities/gdb_remote_client/TestFork.py | 2 -- .../gdb_remote_client/TestGDBRemoteClient.py | 2 -- .../gdb_remote_client/TestGDBRemoteDiskFileCompletion.py | 2 -- .../functionalities/gdb_remote_client/TestGDBRemoteLoad.py | 2 -- .../gdb_remote_client/TestGDBRemotePlatformFile.py | 2 -- .../gdb_remote_client/TestGDBServerNoTargetXML.py | 2 -- .../gdb_remote_client/TestGDBServerTargetXML.py | 2 -- .../gdb_remote_client/TestGdbClientModuleLoad.py | 2 -- .../functionalities/gdb_remote_client/TestIOSSimulator.py | 2 -- .../gdb_remote_client/TestJLink6Armv7RegisterDefinition.py | 2 -- .../gdb_remote_client/TestMemoryRegionDirtyPages.py | 2 -- .../functionalities/gdb_remote_client/TestMultiprocess.py | 2 -- .../gdb_remote_client/TestNestedRegDefinitions.py | 2 -- .../gdb_remote_client/TestNoGPacketSupported.py | 2 -- .../functionalities/gdb_remote_client/TestNoLocalFile.py | 2 -- .../gdb_remote_client/TestNoWatchpointSupportInfo.py | 2 -- .../functionalities/gdb_remote_client/TestPartialGPacket.py | 2 -- .../functionalities/gdb_remote_client/TestPlatformClient.py | 2 -- .../functionalities/gdb_remote_client/TestPlatformKill.py | 2 -- .../functionalities/gdb_remote_client/TestPlatformMacOSX.py | 2 -- .../functionalities/gdb_remote_client/TestProcessConnect.py | 2 -- lldb/test/API/functionalities/gdb_remote_client/TestPty.py | 1 - .../gdb_remote_client/TestQemuAArch64TargetXml.py | 2 -- .../gdb_remote_client/TestRecognizeBreakpoint.py | 2 -- .../gdb_remote_client/TestRegDefinitionInParts.py | 2 -- .../functionalities/gdb_remote_client/TestRemoteRegNums.py | 2 -- .../API/functionalities/gdb_remote_client/TestRestartBug.py | 2 -- .../API/functionalities/gdb_remote_client/TestStopPCs.py | 2 -- .../functionalities/gdb_remote_client/TestTargetXMLArch.py | 2 -- .../gdb_remote_client/TestThreadInfoTrailingComma.py | 2 -- .../gdb_remote_client/TestThreadSelectionBug.py | 2 -- lldb/test/API/functionalities/gdb_remote_client/TestWasm.py | 2 -- .../functionalities/gdb_remote_client/TestWriteMemory.py | 2 -- .../API/functionalities/gdb_remote_client/TestqOffsets.py | 2 -- lldb/test/API/functionalities/history/TestHistoryRecall.py | 2 -- .../functionalities/inferior-assert/TestInferiorAssert.py | 2 -- .../functionalities/inferior-changed/TestInferiorChanged.py | 2 -- .../inferior-crashing/TestInferiorCrashing.py | 2 -- .../inferior-crashing/TestInferiorCrashingStep.py | 2 -- .../recursive-inferior/TestRecursiveInferior.py | 2 -- .../recursive-inferior/TestRecursiveInferiorStep.py | 2 -- .../functionalities/inline-stepping/TestInlineStepping.py | 2 -- .../API/functionalities/jitloader_gdb/TestJITLoaderGDB.py | 2 -- .../functionalities/launch_stop_at_entry/TestStopAtEntry.py | 2 -- .../API/functionalities/lazy-loading/TestLazyLoading.py | 1 - .../functionalities/limit-debug-info/TestLimitDebugInfo.py | 2 -- .../load_after_attach/TestLoadAfterAttach.py | 2 -- .../API/functionalities/load_lazy/TestLoadUsingLazyBind.py | 2 -- lldb/test/API/functionalities/load_unload/TestLoadUnload.py | 2 -- .../functionalities/load_using_paths/TestLoadUsingPaths.py | 2 -- .../location-list-lookup/TestLocationListLookup.py | 2 -- lldb/test/API/functionalities/longjmp/TestLongjmp.py | 2 -- .../API/functionalities/memory-region/TestMemoryRegion.py | 2 -- .../API/functionalities/memory/cache/TestMemoryCache.py | 2 -- lldb/test/API/functionalities/memory/find/TestMemoryFind.py | 2 -- lldb/test/API/functionalities/memory/tag/TestMemoryTag.py | 2 -- .../functionalities/module_cache/bsd/TestModuleCacheBSD.py | 2 -- .../module_cache/debug_index/TestDebugIndexCache.py | 2 -- .../module_cache/simple_exe/TestModuleCacheSimple.py | 2 -- .../module_cache/universal/TestModuleCacheUniversal.py | 2 -- lldb/test/API/functionalities/mtc/simple/TestMTCSimple.py | 2 -- .../multidebugger_commands/TestMultipleDebuggersCommands.py | 2 -- .../multiword-commands/TestMultiWordCommands.py | 2 -- .../non-overlapping-index-variable-i/TestIndexVariable.py | 2 -- .../object-file/TestImageListMultiArchitecture.py | 2 -- lldb/test/API/functionalities/paths/TestPaths.py | 2 -- .../plugins/command_plugin/TestPluginCommands.py | 2 -- .../plugins/python_os_plugin/TestPythonOSPlugin.py | 2 -- .../stepping_plugin_threads/TestOSPluginStepping.py | 2 -- .../pointer_num_children/TestPointerNumChildren.py | 1 - .../postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py | 2 -- .../postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py | 2 -- .../functionalities/postmortem/elf-core/TestLinuxCore.py | 2 -- .../functionalities/postmortem/elf-core/gcore/TestGCore.py | 2 -- .../elf-core/thread_crash/TestLinuxCoreThreads.py | 2 -- .../functionalities/postmortem/mach-core/TestMachCore.py | 2 -- .../postmortem/minidump-new/TestMiniDumpNew.py | 2 -- .../postmortem/minidump-new/TestMiniDumpUUID.py | 2 -- .../API/functionalities/postmortem/minidump/TestMiniDump.py | 2 -- .../postmortem/netbsd-core/TestNetBSDCore.py | 2 -- .../postmortem/wow64_minidump/TestWow64MiniDump.py | 2 -- .../API/functionalities/pre_run_dylibs/TestPreRunDylibs.py | 2 -- .../process_crash_info/TestProcessCrashInfo.py | 2 -- .../functionalities/process_group/TestChangeProcessGroup.py | 2 -- .../process_save_core/TestProcessSaveCore.py | 2 -- .../TestProcessSaveCoreMinidump.py | 2 -- .../progress_reporting/TestProgressReporting.py | 2 -- .../progress_reporting/TestTrimmedProgressReporting.py | 2 -- lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py | 2 -- .../functionalities/recursion/TestValueObjectRecursion.py | 2 -- .../reproducers/attach/TestReproducerAttach.py | 2 -- .../fs-case-sensitivity/TestReproducerFSCaseSensitivity.py | 2 -- lldb/test/API/functionalities/rerun/TestRerun.py | 2 -- .../API/functionalities/return-value/TestReturnValue.py | 2 -- .../functionalities/scripted_process/TestScriptedProcess.py | 2 -- .../scripted_process/TestStackCoreScriptedProcess.py | 2 -- lldb/test/API/functionalities/set-data/TestSetData.py | 2 -- .../functionalities/show_location/TestShowLocationDwarf5.py | 2 -- lldb/test/API/functionalities/signal/TestSendSignal.py | 2 -- .../functionalities/signal/handle-abrt/TestHandleAbort.py | 2 -- .../functionalities/signal/handle-segv/TestHandleSegv.py | 2 -- lldb/test/API/functionalities/signal/raise/TestRaise.py | 2 -- .../API/functionalities/source-map/TestTargetSourceMap.py | 2 -- .../test/API/functionalities/stats_api/TestStatisticsAPI.py | 1 - .../functionalities/step-avoids-no-debug/TestStepNoDebug.py | 2 -- .../step-vrs-interrupt/TestStepVrsInterruptTimeout.py | 2 -- .../API/functionalities/step_scripted/TestStepScripted.py | 2 -- .../TestStopOnSharedlibraryEvents.py | 2 -- .../tail_call_frames/cross_dso/TestCrossDSOTailCalls.py | 2 -- .../cross_object/TestCrossObjectTailCalls.py | 2 -- .../sbapi_support/TestTailCallFrameSBAPI.py | 1 - .../TestSteppingOutWithArtificialFrames.py | 1 - .../TestModuleLoadedNotifys.py | 2 -- lldb/test/API/functionalities/target_var/TestTargetVar.py | 2 -- .../target_var/no_vars/TestTargetVarNoVars.py | 2 -- lldb/test/API/functionalities/testid/TestTestId.py | 2 -- .../thread/backtrace_limit/TestBacktraceLimit.py | 2 -- .../thread/break_after_join/TestBreakAfterJoin.py | 2 -- .../TestConcurrentBreakpointDelayBreakpointOneSignal.py | 2 -- .../TestConcurrentBreakpointOneDelayBreakpointThreads.py | 2 -- ...stConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py | 2 -- .../concurrent_events/TestConcurrentCrashWithBreak.py | 2 -- .../concurrent_events/TestConcurrentCrashWithSignal.py | 2 -- .../concurrent_events/TestConcurrentCrashWithWatchpoint.py | 2 -- .../TestConcurrentCrashWithWatchpointBreakpointSignal.py | 2 -- .../concurrent_events/TestConcurrentDelaySignalBreak.py | 2 -- .../concurrent_events/TestConcurrentDelaySignalWatch.py | 2 -- .../concurrent_events/TestConcurrentDelayWatchBreak.py | 2 -- .../TestConcurrentDelayedCrashWithBreakpointSignal.py | 2 -- .../TestConcurrentDelayedCrashWithBreakpointWatchpoint.py | 2 -- .../concurrent_events/TestConcurrentManyBreakpoints.py | 2 -- .../thread/concurrent_events/TestConcurrentManyCrash.py | 2 -- .../thread/concurrent_events/TestConcurrentManySignals.py | 2 -- .../concurrent_events/TestConcurrentManyWatchpoints.py | 2 -- .../thread/concurrent_events/TestConcurrentNWatchNBreak.py | 2 -- .../thread/concurrent_events/TestConcurrentSignalBreak.py | 2 -- .../concurrent_events/TestConcurrentSignalDelayBreak.py | 2 -- .../concurrent_events/TestConcurrentSignalDelayWatch.py | 2 -- .../concurrent_events/TestConcurrentSignalNWatchNBreak.py | 2 -- .../thread/concurrent_events/TestConcurrentSignalWatch.py | 2 -- .../concurrent_events/TestConcurrentSignalWatchBreak.py | 2 -- .../concurrent_events/TestConcurrentTwoBreakpointThreads.py | 2 -- .../TestConcurrentTwoBreakpointsOneDelaySignal.py | 2 -- .../TestConcurrentTwoBreakpointsOneSignal.py | 2 -- .../TestConcurrentTwoBreakpointsOneWatchpoint.py | 2 -- .../concurrent_events/TestConcurrentTwoWatchpointThreads.py | 2 -- .../TestConcurrentTwoWatchpointsOneBreakpoint.py | 2 -- .../TestConcurrentTwoWatchpointsOneDelayBreakpoint.py | 2 -- .../TestConcurrentTwoWatchpointsOneSignal.py | 2 -- .../thread/concurrent_events/TestConcurrentWatchBreak.py | 2 -- .../concurrent_events/TestConcurrentWatchBreakDelay.py | 2 -- .../TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py | 2 -- .../TestConcurrentWatchpointWithDelayWatchpointThreads.py | 2 -- .../concurrent_events/exit/TestConcurrentThreadExit.py | 2 -- .../thread/crash_during_step/TestCrashDuringStep.py | 2 -- .../thread/create_after_attach/TestCreateAfterAttach.py | 2 -- .../thread/create_during_step/TestCreateDuringStep.py | 2 -- .../thread/exit_during_break/TestExitDuringBreak.py | 2 -- .../exit_during_expression/TestExitDuringExpression.py | 2 -- .../thread/exit_during_step/TestExitDuringStep.py | 2 -- .../thread/ignore_suspended/TestIgnoreSuspendedThread.py | 2 -- lldb/test/API/functionalities/thread/jump/TestThreadJump.py | 2 -- .../thread/main_thread_exit/TestMainThreadExit.py | 2 -- .../thread/multi_break/TestMultipleBreakpoints.py | 2 -- .../functionalities/thread/num_threads/TestNumThreads.py | 2 -- .../API/functionalities/thread/state/TestThreadStates.py | 2 -- .../state_after_expression/TestStateAfterExpression.py | 2 -- .../functionalities/thread/step_out/TestThreadStepOut.py | 2 -- .../API/functionalities/thread/step_until/TestStepUntil.py | 2 -- .../functionalities/thread/thread_exit/TestThreadExit.py | 2 -- .../thread_specific_break/TestThreadSpecificBreakpoint.py | 2 -- .../TestThreadSpecificBpPlusCondition.py | 2 -- .../functionalities/thread_plan/TestThreadPlanCommands.py | 2 -- lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py | 2 -- .../tsan/cpp_global_location/TestTsanCPPGlobalLocation.py | 2 -- .../tsan/global_location/TestTsanGlobalLocation.py | 2 -- .../API/functionalities/tsan/multiple/TestTsanMultiple.py | 2 -- .../functionalities/tsan/thread_leak/TestTsanThreadLeak.py | 2 -- .../tsan/thread_numbers/TestTsanThreadNumbers.py | 2 -- lldb/test/API/functionalities/tty/TestTerminal.py | 2 -- .../functionalities/type_get_module/TestTypeGetModule.py | 2 -- lldb/test/API/functionalities/type_lookup/TestTypeLookup.py | 2 -- lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py | 2 -- .../ubsan/user-expression/TestUbsanUserExpression.py | 2 -- .../TestUnusedInlinedParameters.py | 1 - .../unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py | 1 - .../API/functionalities/unwind/ehframe/TestEhFrameUnwind.py | 1 - .../functionalities/unwind/noreturn/TestNoreturnUnwind.py | 1 - .../unwind/noreturn/module-end/TestNoReturnModuleEnd.py | 1 - .../functionalities/unwind/sigtramp/TestSigtrampUnwind.py | 1 - .../functionalities/unwind/zeroth_frame/TestZerothFrame.py | 1 - .../functionalities/value_md5_crash/TestValueMD5Crash.py | 2 -- lldb/test/API/functionalities/var_path/TestVarPath.py | 2 -- .../API/functionalities/wrong_commands/TestWrongCommands.py | 2 -- .../test/API/iohandler/autosuggestion/TestAutosuggestion.py | 2 -- .../API/iohandler/completion/TestIOHandlerCompletion.py | 2 -- lldb/test/API/iohandler/resize/TestIOHandlerResize.py | 2 -- .../API/iohandler/resize/TestIOHandlerResizeNoEditline.py | 2 -- .../API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py | 2 -- .../API/iohandler/sigint/TestProcessIOHandlerInterrupt.py | 2 -- lldb/test/API/iohandler/stdio/TestIOHandlerProcessSTDIO.py | 2 -- lldb/test/API/iohandler/unicode/TestUnicode.py | 2 -- lldb/test/API/lang/c/anonymous/TestAnonymous.py | 2 -- lldb/test/API/lang/c/array_types/TestArrayTypes.py | 2 -- lldb/test/API/lang/c/bitfields/TestBitfields.py | 2 -- lldb/test/API/lang/c/blocks/TestBlocks.py | 2 -- lldb/test/API/lang/c/builtin-types/TestCBuiltinTypes.py | 2 -- .../lang/c/calling-conventions/TestCCallingConventions.py | 2 -- lldb/test/API/lang/c/complex/TestComplexC99.py | 2 -- lldb/test/API/lang/c/complex_int/TestComplexInt.py | 2 -- .../API/lang/c/conflicting-symbol/TestConflictingSymbol.py | 2 -- lldb/test/API/lang/c/const_variables/TestConstVariables.py | 2 -- .../TestCppKeywordsAsCIdentifiers.py | 2 -- lldb/test/API/lang/c/enum_types/TestEnumTypes.py | 2 -- .../test/API/lang/c/find_struct_type/TestFindStructTypes.py | 2 -- .../c/flexible-array-members/TestCFlexibleArrayMembers.py | 2 -- lldb/test/API/lang/c/forward/TestForwardDeclaration.py | 2 -- lldb/test/API/lang/c/function_types/TestFunctionTypes.py | 2 -- .../test/API/lang/c/global_variables/TestGlobalVariables.py | 2 -- lldb/test/API/lang/c/local_types/TestUseClosestType.py | 2 -- lldb/test/API/lang/c/local_variables/TestLocalVariables.py | 2 -- lldb/test/API/lang/c/modules/TestCModules.py | 2 -- .../API/lang/c/record_decl_in_expr/TestRecordDeclInExpr.py | 2 -- .../API/lang/c/register_variables/TestRegisterVariables.py | 2 -- lldb/test/API/lang/c/set_values/TestSetValues.py | 2 -- lldb/test/API/lang/c/shared_lib/TestSharedLib.py | 2 -- .../TestSharedLibStrippedSymbols.py | 2 -- lldb/test/API/lang/c/sizeof/TestCSizeof.py | 2 -- lldb/test/API/lang/c/step-target/TestStepTarget.py | 2 -- .../lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py | 2 -- lldb/test/API/lang/c/stepping/TestStepAndBreakpoints.py | 2 -- .../test/API/lang/c/stepping/TestThreadStepInAvoidRegexp.py | 2 -- lldb/test/API/lang/c/stepping/TestThreadStepping.py | 2 -- lldb/test/API/lang/c/strings/TestCStrings.py | 2 -- lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py | 2 -- lldb/test/API/lang/c/typedef/Testtypedef.py | 2 -- lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py | 2 -- lldb/test/API/lang/c/unions/TestUnionMembers.py | 2 -- lldb/test/API/lang/c/vla/TestVLA.py | 2 -- .../API/lang/cpp/accelerator-table/TestCPPAccelerator.py | 2 -- .../API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py | 2 -- lldb/test/API/lang/cpp/auto/TestCPPAuto.py | 2 -- lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py | 2 -- lldb/test/API/lang/cpp/bool/TestCPPBool.py | 2 -- .../break-on-initializers/TestBreakOnCPP11Initializers.py | 2 -- .../cpp/breakpoint-commands/TestCPPBreakpointCommands.py | 2 -- .../TestBreakpointInMemberFuncWNonPrimitiveParams.py | 2 -- lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py | 2 -- lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py | 2 -- lldb/test/API/lang/cpp/char1632_t/TestChar1632T.py | 2 -- lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py | 2 -- .../TestClassLoadingViaMemberTypedef.py | 2 -- .../TestClassTemplateNonTypeParameterPack.py | 2 -- .../TestClassTemplateParameterPack.py | 2 -- .../TestClassTemplateTypeParameterPack.py | 2 -- lldb/test/API/lang/cpp/class_static/TestStaticVariables.py | 2 -- lldb/test/API/lang/cpp/class_types/TestClassTypes.py | 2 -- .../API/lang/cpp/class_types/TestClassTypesDisassembly.py | 2 -- .../lang/cpp/complete-type-check/TestCppIsTypeComplete.py | 2 -- lldb/test/API/lang/cpp/const_this/TestConstThis.py | 2 -- lldb/test/API/lang/cpp/constructors/TestCppConstructors.py | 2 -- .../cpp/covariant-return-types/TestCovariantReturnTypes.py | 2 -- lldb/test/API/lang/cpp/crtp/TestCppCRTP.py | 2 -- .../cpp/default-template-args/TestDefaultTemplateArgs.py | 2 -- .../TestCPPDereferencingReferences.py | 2 -- lldb/test/API/lang/cpp/diamond/TestCppDiamond.py | 2 -- .../dynamic-value-same-basename/TestDynamicValueSameBase.py | 2 -- lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py | 2 -- lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py | 2 -- .../API/lang/cpp/elaborated-types/TestElaboratedTypes.py | 2 -- lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py | 2 -- .../API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py | 2 -- .../TestCppForwardDeclaredTemplateSpecialization.py | 2 -- .../TestFrameVariableAnonymousUnions.py | 2 -- .../cpp/function-local-class/TestCppFunctionLocalClass.py | 2 -- .../cpp/function-qualifiers/TestCppFunctionQualifiers.py | 2 -- .../API/lang/cpp/global_operators/TestCppGlobalOperators.py | 2 -- .../API/lang/cpp/global_variables/TestCPPGlobalVariables.py | 2 -- lldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py | 2 -- .../TestCppIncompatibleClassTemplates.py | 2 -- .../API/lang/cpp/incomplete-types/TestCppIncompleteTypes.py | 2 -- .../members/TestCppIncompleteTypeMembers.py | 2 -- lldb/test/API/lang/cpp/inlines/TestInlines.py | 2 -- .../API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py | 2 -- .../API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py | 2 -- .../TestMembersAndLocalsWithSameName.py | 2 -- .../API/lang/cpp/modules-import/TestCXXModulesImport.py | 2 -- .../cpp/multiple-inheritance/TestCppMultipleInheritance.py | 2 -- lldb/test/API/lang/cpp/namespace/TestNamespace.py | 4 ---- lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py | 2 -- .../cpp/namespace_definitions/TestNamespaceDefinitions.py | 2 -- .../TestNestedClassWithParentInAnotherCU.py | 1 - .../non-type-template-param/TestCppNonTypeTemplateParam.py | 2 -- lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py | 2 -- .../API/lang/cpp/operator-overload/TestOperatorOverload.py | 1 - .../cpp/overloaded-functions/TestOverloadedFunctions.py | 2 -- .../TestPointerToMemberTypeDependingOnParentSize.py | 2 -- .../reference-to-outer-type/TestCppReferenceToOuterClass.py | 2 -- .../API/lang/cpp/rvalue-references/TestRvalueReferences.py | 2 -- lldb/test/API/lang/cpp/scope/TestCppScope.py | 2 -- .../structs/TestCppScratchContextMergingStructs.py | 2 -- lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py | 2 -- lldb/test/API/lang/cpp/sizeof/TestCPPSizeof.py | 2 -- .../TestStaticMemberTypeDependingOnParentSize.py | 2 -- .../API/lang/cpp/static_members/TestCPPStaticMembers.py | 2 -- .../API/lang/cpp/static_methods/TestCPPStaticMethods.py | 2 -- .../TestStdFunctionStepIntoCallable.py | 2 -- lldb/test/API/lang/cpp/stl/TestSTL.py | 2 -- lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py | 2 -- .../struct_with_keyword_name/TestStructWithKeywordName.py | 2 -- .../lang/cpp/structured-binding/TestStructuredBinding.py | 2 -- .../subst_template_type_param/TestSubstTemplateTypeParam.py | 2 -- .../lang/cpp/template-arguments/TestCppTemplateArguments.py | 2 -- .../API/lang/cpp/template-function/TestTemplateFunctions.py | 2 -- .../TestTemplateSpecializationType.py | 2 -- lldb/test/API/lang/cpp/template/TestTemplateArgs.py | 2 -- lldb/test/API/lang/cpp/this/TestCPPThis.py | 2 -- .../cpp/this_class_type_mixing/TestThisClassTypeMixing.py | 2 -- lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py | 2 -- lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py | 2 -- lldb/test/API/lang/cpp/type_lookup/TestCppTypeLookup.py | 2 -- lldb/test/API/lang/cpp/typedef/TestCppTypedef.py | 2 -- lldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py | 2 -- .../API/lang/cpp/unicode-literals/TestUnicodeLiterals.py | 2 -- lldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py | 2 -- lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py | 2 -- .../lang/cpp/virtual-functions/TestCppVirtualFunctions.py | 2 -- lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py | 2 -- lldb/test/API/lang/mixed/TestMixedLanguages.py | 2 -- lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py | 2 -- lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py | 2 -- .../lang/objc/complete-type-check/TestObjCIsTypeComplete.py | 2 -- .../TestObjCClassListFunctionFromUser.py | 2 -- .../conflicting-definition/TestConflictingDefinition.py | 2 -- .../TestCppKeywordsAsObjCIdentifiers.py | 2 -- .../direct-dispatch-step/TestObjCDirectDispatchStepping.py | 2 -- lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py | 2 -- lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py | 2 -- lldb/test/API/lang/objc/foundation/TestConstStrings.py | 2 -- .../API/lang/objc/foundation/TestFoundationDisassembly.py | 2 -- lldb/test/API/lang/objc/foundation/TestObjCMethods.py | 2 -- lldb/test/API/lang/objc/foundation/TestObjCMethods2.py | 2 -- .../test/API/lang/objc/foundation/TestObjCMethodsNSArray.py | 2 -- .../test/API/lang/objc/foundation/TestObjCMethodsNSError.py | 2 -- lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py | 2 -- .../API/lang/objc/foundation/TestObjectDescriptionAPI.py | 2 -- lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py | 2 -- lldb/test/API/lang/objc/foundation/TestSymbolTable.py | 2 -- lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py | 2 -- lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py | 2 -- lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py | 2 -- .../objc/modules-app-update/TestClangModulesAppUpdate.py | 1 - .../lang/objc/modules-auto-import/TestModulesAutoImport.py | 2 -- .../API/lang/objc/modules-cache/TestClangModulesCache.py | 1 - .../objc/modules-compile-error/TestModulesCompileError.py | 2 -- .../modules-hash-mismatch/TestClangModulesHashMismatch.py | 1 - .../lang/objc/modules-incomplete/TestIncompleteModules.py | 2 -- .../modules-inline-functions/TestModulesInlineFunctions.py | 2 -- .../modules-non-objc-target/TestObjCModulesNonObjCTarget.py | 2 -- .../objc/modules-objc-property/TestModulesObjCProperty.py | 2 -- .../API/lang/objc/modules-update/TestClangModulesUpdate.py | 1 - lldb/test/API/lang/objc/modules/TestObjCModules.py | 2 -- lldb/test/API/lang/objc/objc++/TestObjCXX.py | 2 -- .../objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py | 2 -- lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py | 2 -- .../API/lang/objc/objc-class-method/TestObjCClassMethod.py | 2 -- .../API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py | 2 -- .../lang/objc/objc-dynamic-value/TestObjCDynamicValue.py | 2 -- .../API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py | 2 -- .../lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py | 2 -- .../test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py | 2 -- lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py | 2 -- lldb/test/API/lang/objc/objc-property/TestObjCProperty.py | 2 -- .../TestObjCStaticMethodStripped.py | 2 -- .../lang/objc/objc-static-method/TestObjCStaticMethod.py | 2 -- lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py | 2 -- .../objc/objc-struct-argument/TestObjCStructArgument.py | 2 -- .../lang/objc/objc-struct-return/TestObjCStructReturn.py | 2 -- lldb/test/API/lang/objc/objc-super/TestObjCSuper.py | 2 -- lldb/test/API/lang/objc/orderedset/TestOrderedSet.py | 1 - lldb/test/API/lang/objc/print-obj/TestPrintObj.py | 2 -- lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py | 2 -- .../lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py | 2 -- lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py | 2 -- lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py | 2 -- lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py | 2 -- .../API/lang/objc/real-definition/TestRealDefinition.py | 2 -- lldb/test/API/lang/objc/self/TestObjCSelf.py | 2 -- .../TestObjCSingleEntryDictionary.py | 2 -- .../API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py | 2 -- .../warnings-in-expr-parser/TestObjCWarningsInExprParser.py | 2 -- .../TestObjCConflictingNamesForClassUpdateExpr.py | 2 -- .../cpp_keywords_enabled/TestObjCppKeywordsEnabled.py | 2 -- .../API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py | 2 -- .../hide-runtime-values/TestObjCXXHideRuntimeValues.py | 2 -- .../lang/objcxx/objc-builtin-types/TestObjCBuiltinTypes.py | 2 -- .../mte_memory_region/TestAArch64LinuxMTEMemoryRegion.py | 2 -- .../mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py | 2 -- .../mte_tag_faults/TestAArch64LinuxMTEMemoryTagFaults.py | 2 -- .../TestAArch64LinuxNonAddressBitMemoryAccess.py | 2 -- .../TestAArch64LinuxTaggedMemoryAccess.py | 2 -- .../TestAArch64LinuxTaggedMemoryRegion.py | 2 -- .../API/linux/aarch64/unwind_signal/TestUnwindSignal.py | 2 -- .../API/linux/add-symbols/TestTargetSymbolsAddCommand.py | 2 -- lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py | 2 -- .../mix-dwo-and-regular-objects/TestMixedDwarfBinary.py | 1 - .../sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py | 2 -- .../TestCreateDuringInstructionStep.py | 2 -- lldb/test/API/lua_api/TestLuaAPI.py | 2 -- .../DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py | 2 -- lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py | 2 -- .../API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py | 2 -- .../API/macosx/builtin-debugtrap/TestBuiltinDebugTrap.py | 2 -- .../corefile-default-ptrauth/TestCorefileDefaultPtrauth.py | 2 -- .../TestCorefileExceptionReason.py | 2 -- .../macosx/debugserver-exit-code/TestDebugServerExitCode.py | 2 -- .../duplicate-archive-members/TestDuplicateMembers.py | 2 -- .../API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py | 2 -- .../API/macosx/find-app-in-bundle/TestFindAppInBundle.py | 2 -- .../TestBundleWithDotInFilename.py | 2 -- .../test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py | 2 -- lldb/test/API/macosx/function-starts/TestFunctionStarts.py | 2 -- .../API/macosx/ignore_exceptions/TestIgnoredExceptions.py | 2 -- lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py | 2 -- .../lc-note/addrable-bits/TestAddrableBitsCorefile.py | 2 -- .../lc-note/firmware-corefile/TestFirmwareCorefiles.py | 2 -- .../API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py | 2 -- lldb/test/API/macosx/load-kext/TestLoadKext.py | 2 -- lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py | 2 -- .../TestMacCatalystAppWithMacOSFramework.py | 2 -- lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py | 1 - lldb/test/API/macosx/order/TestOrderFile.py | 2 -- .../API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py | 1 - .../API/macosx/profile_vrs_detach/TestDetachVrsProfile.py | 2 -- lldb/test/API/macosx/queues/TestQueues.py | 2 -- lldb/test/API/macosx/safe-to-func-call/TestSafeFuncCalls.py | 2 -- lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py | 2 -- lldb/test/API/macosx/simulator/TestSimulatorPlatform.py | 2 -- lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py | 2 -- lldb/test/API/macosx/stack-corefile/TestStackCorefile.py | 2 -- .../API/macosx/thread-names/TestInterruptThreadNames.py | 2 -- .../macosx/thread_suspend/TestInternalThreadSuspension.py | 2 -- lldb/test/API/macosx/universal/TestUniversal.py | 1 - .../API/macosx/version_zero/TestGetVersionZeroVersion.py | 2 -- lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py | 2 -- .../API/python_api/class_members/TestSBTypeClassMembers.py | 2 -- lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py | 2 -- lldb/test/API/python_api/debugger/TestDebuggerAPI.py | 2 -- .../TestDefaultConstructorForAPIObjects.py | 2 -- .../disassemble-raw-data/TestDisassembleRawData.py | 2 -- .../disassemble-raw-data/TestDisassemble_VST1_64.py | 2 -- lldb/test/API/python_api/event/TestEvents.py | 2 -- lldb/test/API/python_api/file_handle/TestFileHandle.py | 1 - .../python_api/findvalue_duplist/TestSBFrameFindValue.py | 2 -- lldb/test/API/python_api/formatters/TestFormattersSBAPI.py | 2 -- lldb/test/API/python_api/frame/TestFrames.py | 2 -- .../API/python_api/frame/get-variables/TestGetVariables.py | 2 -- lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py | 2 -- lldb/test/API/python_api/function_symbol/TestDisasmAPI.py | 2 -- lldb/test/API/python_api/function_symbol/TestSymbolAPI.py | 2 -- .../python_api/get-value-32bit-int/TestGetValue32BitInt.py | 2 -- lldb/test/API/python_api/hello_world/TestHelloWorld.py | 1 - .../API/python_api/interpreter/TestCommandInterpreterAPI.py | 2 -- .../python_api/interpreter/TestRunCommandInterpreterAPI.py | 3 --- lldb/test/API/python_api/lldbutil/TestSwigVersion.py | 2 -- lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py | 2 -- lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py | 2 -- .../API/python_api/lldbutil/iter/TestRegistersIterator.py | 2 -- .../API/python_api/lldbutil/process/TestPrintStackTraces.py | 2 -- .../API/python_api/module_section/TestModuleAndSection.py | 2 -- lldb/test/API/python_api/name_lookup/TestNameLookup.py | 2 -- lldb/test/API/python_api/objc_type/TestObjCType.py | 2 -- lldb/test/API/python_api/process/TestProcessAPI.py | 2 -- lldb/test/API/python_api/process/io/TestProcessIO.py | 2 -- .../process/read-mem-cstring/TestReadMemCString.py | 2 -- lldb/test/API/python_api/sbdata/TestSBData.py | 2 -- lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py | 2 -- lldb/test/API/python_api/sberror/TestSBError.py | 2 -- lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py | 2 -- lldb/test/API/python_api/sbmodule/TestSBModule.py | 2 -- lldb/test/API/python_api/sbplatform/TestSBPlatform.py | 2 -- .../python_api/sbstructureddata/TestStructuredDataAPI.py | 2 -- .../API/python_api/sbvalue_persist/TestSBValuePersist.py | 2 -- lldb/test/API/python_api/section/TestSectionAPI.py | 2 -- lldb/test/API/python_api/signals/TestSignalsAPI.py | 1 - .../test/API/python_api/symbol-context/TestSymbolContext.py | 2 -- .../symbol-context/two-files/TestSymbolContextTwoFiles.py | 2 -- lldb/test/API/python_api/target/TestTargetAPI.py | 2 -- lldb/test/API/python_api/thread/TestThreadAPI.py | 2 -- lldb/test/API/python_api/type/TestTypeList.py | 2 -- lldb/test/API/python_api/value/TestValueAPI.py | 2 -- .../python_api/value/change_values/TestChangeValueAPI.py | 2 -- .../python_api/value/empty_class/TestValueAPIEmptyClass.py | 2 -- .../python_api/value/linked_list/TestValueAPILinkedList.py | 2 -- .../API/python_api/value_var_update/TestValueVarUpdate.py | 2 -- lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py | 2 -- .../API/python_api/watchpoint/TestWatchpointIgnoreCount.py | 2 -- lldb/test/API/python_api/watchpoint/TestWatchpointIter.py | 2 -- .../watchpoint/condition/TestWatchpointConditionAPI.py | 2 -- .../watchpoint/watchlocation/TestSetWatchlocation.py | 2 -- .../watchpoint/watchlocation/TestTargetWatchAddress.py | 2 -- lldb/test/API/qemu/TestQemuAPI.py | 2 -- lldb/test/API/qemu/TestQemuLaunch.py | 2 -- lldb/test/API/repl/clang/TestClangREPL.py | 2 -- lldb/test/API/sample_test/TestSampleTest.py | 2 -- lldb/test/API/sanity/TestModuleCacheSanity.py | 2 -- lldb/test/API/sanity/TestReprStrEquality.py | 2 -- lldb/test/API/sanity/TestSettingSkipping.py | 2 -- lldb/test/API/source-manager/TestSourceManager.py | 2 -- .../breakpoint_language/TestBreakpointLanguageOnDemand.py | 2 -- .../TestSourceTextRegexBreakpoint.py | 1 - .../symbol_ondemand/shared_library/TestSharedLibOnDemand.py | 2 -- lldb/test/API/terminal/TestEditline.py | 2 -- lldb/test/API/terminal/TestSTTYBeforeAndAfter.py | 2 -- lldb/test/API/test_utils/TestDecorators.py | 2 -- lldb/test/API/test_utils/TestInlineTest.py | 2 -- lldb/test/API/test_utils/TestPExpectTest.py | 2 -- lldb/test/API/test_utils/base/TestBaseTest.py | 2 -- lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py | 2 -- .../test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py | 1 - lldb/test/API/tools/lldb-server/TestGdbRemoteExitCode.py | 2 -- .../tools/lldb-server/TestGdbRemoteExpeditedRegisters.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteFork.py | 1 - lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteModuleInfo.py | 2 -- .../test/API/tools/lldb-server/TestGdbRemotePlatformFile.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py | 2 -- .../API/tools/lldb-server/TestGdbRemoteRegisterState.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py | 1 - lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py | 2 -- .../tools/lldb-server/TestGdbRemoteThreadsInStopReply.py | 2 -- .../API/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py | 2 -- lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py | 2 -- lldb/test/API/tools/lldb-server/TestLldbGdbServer.py | 2 -- lldb/test/API/tools/lldb-server/TestPtyServer.py | 1 - .../lldb-server/commandline/TestGdbRemoteConnection.py | 2 -- .../API/tools/lldb-server/commandline/TestStubSetSID.py | 2 -- .../tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py | 1 - .../lldb-server/inferior-crash/TestGdbRemoteSegFault.py | 1 - .../libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py | 2 -- .../memory-allocation/TestGdbRemoteMemoryAllocation.py | 2 -- .../memory-tagging/TestGdbRemoteMemoryTagging.py | 2 -- .../lldb-server/register-reading/TestGdbRemoteGPacket.py | 2 -- .../TestGdbRemoteTargetXmlPacket.py | 2 -- .../signal-filtering/TestGdbRemote_QPassSignals.py | 2 -- .../lldb-server/thread-name/TestGdbRemoteThreadName.py | 2 -- .../lldb-server/vCont-threads/TestGdbRemote_vContThreads.py | 1 - lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py | 2 -- .../breakpoint-events/TestVSCode_breakpointEvents.py | 2 -- .../lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py | 2 -- .../breakpoint/TestVSCode_setExceptionBreakpoints.py | 2 -- .../breakpoint/TestVSCode_setFunctionBreakpoints.py | 2 -- .../tools/lldb-vscode/completions/TestVSCode_completions.py | 2 -- .../API/tools/lldb-vscode/console/TestVSCode_console.py | 2 -- .../console/TestVSCode_redirection_to_console.py | 2 -- .../API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py | 2 -- .../lldb-vscode/correct-thread/TestVSCode_correct_thread.py | 2 -- .../tools/lldb-vscode/disconnect/TestVSCode_disconnect.py | 2 -- .../API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py | 2 -- lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py | 2 -- lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py | 2 -- .../API/tools/lldb-vscode/optimized/TestVSCode_optimized.py | 1 - .../lldb-vscode/runInTerminal/TestVSCode_runInTerminal.py | 2 -- .../tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py | 2 -- lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py | 2 -- .../tools/lldb-vscode/stop-hooks/TestVSCode_stop_hooks.py | 2 -- .../API/tools/lldb-vscode/variables/TestVSCode_variables.py | 2 -- lldb/test/API/types/HideTestFailures.py | 2 -- lldb/test/API/types/TestCharType.py | 2 -- lldb/test/API/types/TestCharTypeExpr.py | 2 -- lldb/test/API/types/TestDoubleTypes.py | 2 -- lldb/test/API/types/TestDoubleTypesExpr.py | 2 -- lldb/test/API/types/TestFloatTypes.py | 2 -- lldb/test/API/types/TestFloatTypesExpr.py | 2 -- lldb/test/API/types/TestIntegerType.py | 2 -- lldb/test/API/types/TestIntegerTypeExpr.py | 2 -- lldb/test/API/types/TestLongTypes.py | 2 -- lldb/test/API/types/TestLongTypesExpr.py | 2 -- lldb/test/API/types/TestRecursiveTypes.py | 2 -- lldb/test/API/types/TestShortType.py | 2 -- lldb/test/API/types/TestShortTypeExpr.py | 2 -- lldb/tools/intel-features/intel-mpx/test/TestMPXTable.py | 2 -- 958 files changed, 4 insertions(+), 1862 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/README-TestSuite b/lldb/packages/Python/lldbsuite/test/README-TestSuite index b29b5a3..4e1a8c0 100644 --- a/lldb/packages/Python/lldbsuite/test/README-TestSuite +++ b/lldb/packages/Python/lldbsuite/test/README-TestSuite @@ -33,9 +33,7 @@ to the Python test suite under the current 'test' directory. ./command_source/TestCommandSource.py provides a simple example of test case which overrides lldbtest.TestBase to exercise the lldb's 'command source' - command. The subclass should override the attribute 'mydir' in order for the - runtime to locate the individual test cases when running as part of a large - test suite or when running each test case as a separate Python invocation. + command. The doc string provides more details about the setup required for running a test case on its own. To run the whole test suite, 'dotest.py' is all you diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index c3dc2a9..2285173 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -4,10 +4,6 @@ LLDB module which provides the abstract base class of lldb test case. The concrete subclass can override lldbtest.TestBase in order to inherit the common behavior for unitest.TestCase.setUp/tearDown implemented in this file. -The subclass should override the attribute mydir in order for the python runtime -to locate the individual test cases when running as part of a large test suite -or when running each test case as a separate python invocation. - ./dotest.py provides a test driver which sets up the environment to run the entire of part of the test suite . Example: @@ -539,7 +535,9 @@ class Base(unittest2.TestCase): Do current directory manipulation. """ # Fail fast if 'mydir' attribute is not overridden. - if not cls.mydir or len(cls.mydir) == 0: + if not cls.mydir: + cls.mydir = Base.compute_mydir(sys.modules[cls.__module__].__file__) + if not cls.mydir: raise Exception("Subclasses must override the 'mydir' attribute.") # Save old working directory. @@ -1703,11 +1701,6 @@ class TestBase(Base): Important things for test class writers: - - Overwrite the mydir class attribute, otherwise your test class won't - run. It specifies the relative directory to the top level 'test' so - the test harness can change to the correct working directory before - running your test. - - The setUp method sets up things to facilitate subsequent interactions with the debugger as part of the test. These include: - populate the test method name diff --git a/lldb/test/API/android/platform/TestDefaultCacheLineSize.py b/lldb/test/API/android/platform/TestDefaultCacheLineSize.py index 875d1e5..7e8f88e 100644 --- a/lldb/test/API/android/platform/TestDefaultCacheLineSize.py +++ b/lldb/test/API/android/platform/TestDefaultCacheLineSize.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class DefaultCacheLineSizeTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipUnlessTargetAndroid diff --git a/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py b/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py index 6f95cd7..2c871ac 100644 --- a/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py +++ b/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SBDirCheckerCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py b/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py index 1de460a..7ae7462 100644 --- a/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py +++ b/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestSBCommandReturnObject(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfNoSBHeaders diff --git a/lldb/test/API/api/listeners/TestListener.py b/lldb/test/API/api/listeners/TestListener.py index 2f77ea2..a8c3657 100644 --- a/lldb/test/API/api/listeners/TestListener.py +++ b/lldb/test/API/api/listeners/TestListener.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil import six class ListenToModuleLoadedEvents (TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_clearing_listener(self): diff --git a/lldb/test/API/api/log/TestAPILog.py b/lldb/test/API/api/log/TestAPILog.py index 3c340f1..831b1aa 100644 --- a/lldb/test/API/api/log/TestAPILog.py +++ b/lldb/test/API/api/log/TestAPILog.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class APILogTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_api_log(self): diff --git a/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py b/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py index d3a69a1..40065ce 100644 --- a/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py +++ b/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TestMultipleSimultaneousDebuggers(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfNoSBHeaders diff --git a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py index 02b231f..1d5b1cd 100644 --- a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py +++ b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestMultipleTargets(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) diff --git a/lldb/test/API/api/multithreaded/TestMultithreaded.py b/lldb/test/API/api/multithreaded/TestMultithreaded.py index 71bc5db..f8681dd 100644 --- a/lldb/test/API/api/multithreaded/TestMultithreaded.py +++ b/lldb/test/API/api/multithreaded/TestMultithreaded.py @@ -25,8 +25,6 @@ class SBBreakpointCallbackCase(TestBase): self.generateSource('test_listener_resume.cpp') self.generateSource('test_stop-hook.cpp') - mydir = TestBase.compute_mydir(__file__) - @skipIfRemote @skipIfNoSBHeaders # clang-cl does not support throw or catch (llvm.org/pr24538) diff --git a/lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py b/lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py index 35ea3ae..7d8da02 100644 --- a/lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py +++ b/lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestBreakpointIt(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIf(archs=no_match(["arm"])) diff --git a/lldb/test/API/arm/breakpoint-thumb-codesection/TestBreakpointThumbCodesection.py b/lldb/test/API/arm/breakpoint-thumb-codesection/TestBreakpointThumbCodesection.py index d472b79..c318f74 100644 --- a/lldb/test/API/arm/breakpoint-thumb-codesection/TestBreakpointThumbCodesection.py +++ b/lldb/test/API/arm/breakpoint-thumb-codesection/TestBreakpointThumbCodesection.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestBreakpointThumbCodesection(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(archs=no_match(["arm"])) @skipIf(archs=["arm64"]) @skipIfDarwinEmbedded # codegen on darwin always defaults to thumb for armv7/armv7k targets diff --git a/lldb/test/API/arm/emulation/TestEmulations.py b/lldb/test/API/arm/emulation/TestEmulations.py index 9613edc..800ac8b 100644 --- a/lldb/test/API/arm/emulation/TestEmulations.py +++ b/lldb/test/API/arm/emulation/TestEmulations.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class ARMEmulationTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_thumb_emulations(self): test_dir = os.path.join(self.getSourceDir(), "new-test-files") diff --git a/lldb/test/API/assert_messages_test/TestAssertMessages.py b/lldb/test/API/assert_messages_test/TestAssertMessages.py index 7127311..6d7a54c 100644 --- a/lldb/test/API/assert_messages_test/TestAssertMessages.py +++ b/lldb/test/API/assert_messages_test/TestAssertMessages.py @@ -11,8 +11,6 @@ from textwrap import dedent class AssertMessagesTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def assert_expect_fails_with(self, cmd, expect_args, expected_msg): diff --git a/lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py b/lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py index 7863481..9338e46 100644 --- a/lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py +++ b/lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestBenchmarkContinue(BenchBase): - mydir = TestBase.compute_mydir(__file__) - @benchmarks_test def test_run_command(self): """Benchmark different ways to continue a process""" diff --git a/lldb/test/API/benchmarks/expression/TestExpressionCmd.py b/lldb/test/API/benchmarks/expression/TestExpressionCmd.py index 9e5b0ec..19dfcb6 100644 --- a/lldb/test/API/benchmarks/expression/TestExpressionCmd.py +++ b/lldb/test/API/benchmarks/expression/TestExpressionCmd.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class ExpressionEvaluationCase(BenchBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): BenchBase.setUp(self) self.source = 'main.cpp' diff --git a/lldb/test/API/benchmarks/expression/TestRepeatedExprs.py b/lldb/test/API/benchmarks/expression/TestRepeatedExprs.py index 438a1fd..9ce1ab4 100644 --- a/lldb/test/API/benchmarks/expression/TestRepeatedExprs.py +++ b/lldb/test/API/benchmarks/expression/TestRepeatedExprs.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class RepeatedExprsCase(BenchBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): BenchBase.setUp(self) self.source = 'main.cpp' diff --git a/lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py b/lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py index 5261204..87d3eb13 100644 --- a/lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py +++ b/lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py @@ -13,8 +13,6 @@ from lldbsuite.test.lldbbench import * class FrameVariableResponseBench(BenchBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): BenchBase.setUp(self) self.exe = lldbtest_config.lldbExec diff --git a/lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py b/lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py index 5ad59f3..11585eb 100644 --- a/lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py +++ b/lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestBenchmarkLibcxxList(BenchBase): - mydir = TestBase.compute_mydir(__file__) - @benchmarks_test def test_run_command(self): """Benchmark the std::list data formatter (libc++)""" diff --git a/lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py b/lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py index ba5ba08..4fcbcb1 100644 --- a/lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py +++ b/lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestBenchmarkLibcxxMap(BenchBase): - mydir = TestBase.compute_mydir(__file__) - @benchmarks_test def test_run_command(self): """Benchmark the std::map data formatter (libc++)""" diff --git a/lldb/test/API/benchmarks/startup/TestStartupDelays.py b/lldb/test/API/benchmarks/startup/TestStartupDelays.py index 104b5d7..b6533b8 100644 --- a/lldb/test/API/benchmarks/startup/TestStartupDelays.py +++ b/lldb/test/API/benchmarks/startup/TestStartupDelays.py @@ -13,8 +13,6 @@ from lldbsuite.test.lldbbench import * class StartupDelaysBench(BenchBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): BenchBase.setUp(self) # Create self.stopwatch2 for measuring "set first breakpoint". diff --git a/lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py b/lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py index 60e4a421..dbaf898 100644 --- a/lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py +++ b/lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class SteppingSpeedBench(BenchBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): BenchBase.setUp(self) self.exe = lldbtest_config.lldbExec diff --git a/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py b/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py index 88fc745..dbd05db 100644 --- a/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py +++ b/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class CompileRunToBreakpointBench(BenchBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): BenchBase.setUp(self) self.exe = lldbtest_config.lldbExec diff --git a/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py b/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py index 803f44a..65439bb 100644 --- a/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py +++ b/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil @skipUnlessDarwin class AddDsymCommandCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.template = 'main.cpp.template' diff --git a/lldb/test/API/commands/apropos/basic/TestApropos.py b/lldb/test/API/commands/apropos/basic/TestApropos.py index 920f0dd..fa8bc9c 100644 --- a/lldb/test/API/commands/apropos/basic/TestApropos.py +++ b/lldb/test/API/commands/apropos/basic/TestApropos.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class AproposTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_apropos(self): self.expect("apropos", error=True, diff --git a/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py b/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py index e2cf10e..d819212 100644 --- a/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py +++ b/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class AproposWithProcessTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/breakpoint/command/list/TestBreakpointCommandList.py b/lldb/test/API/commands/breakpoint/command/list/TestBreakpointCommandList.py index f1a8656..8d613ab 100644 --- a/lldb/test/API/commands/breakpoint/command/list/TestBreakpointCommandList.py +++ b/lldb/test/API/commands/breakpoint/command/list/TestBreakpointCommandList.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_list_commands(self): src_dir = self.getSourceDir() diff --git a/lldb/test/API/commands/breakpoint/set/func-regex/TestBreakpointRegexError.py b/lldb/test/API/commands/breakpoint/set/func-regex/TestBreakpointRegexError.py index 1eedb26..b6b98d8 100644 --- a/lldb/test/API/commands/breakpoint/set/func-regex/TestBreakpointRegexError.py +++ b/lldb/test/API/commands/breakpoint/set/func-regex/TestBreakpointRegexError.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_error(self): self.expect("breakpoint set --func-regex (", error=True, diff --git a/lldb/test/API/commands/command/container/TestContainerCommands.py b/lldb/test/API/commands/command/container/TestContainerCommands.py index 7fcb361..2267b35 100644 --- a/lldb/test/API/commands/command/container/TestContainerCommands.py +++ b/lldb/test/API/commands/command/container/TestContainerCommands.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestCmdContainer(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_container_add(self): diff --git a/lldb/test/API/commands/command/delete/TestCommandDelete.py b/lldb/test/API/commands/command/delete/TestCommandDelete.py index 3fa654d..902716c 100644 --- a/lldb/test/API/commands/command/delete/TestCommandDelete.py +++ b/lldb/test/API/commands/command/delete/TestCommandDelete.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class DeleteCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_delete_builtin(self): self.expect("command delete settings", error=True, diff --git a/lldb/test/API/commands/command/invalid-args/TestInvalidArgsCommand.py b/lldb/test/API/commands/command/invalid-args/TestInvalidArgsCommand.py index 3a9a4a3..2a914c0 100644 --- a/lldb/test/API/commands/command/invalid-args/TestInvalidArgsCommand.py +++ b/lldb/test/API/commands/command/invalid-args/TestInvalidArgsCommand.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class InvalidArgsCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_script_add(self): self.expect("command script add 1 2", error=True, diff --git a/lldb/test/API/commands/command/nested_alias/TestNestedAlias.py b/lldb/test/API/commands/command/nested_alias/TestNestedAlias.py index bbe9c14..29b4af3 100644 --- a/lldb/test/API/commands/command/nested_alias/TestNestedAlias.py +++ b/lldb/test/API/commands/command/nested_alias/TestNestedAlias.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class NestedAliasTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/command/regex/TestRegexCommand.py b/lldb/test/API/commands/command/regex/TestRegexCommand.py index 5a70dc9..085622c 100644 --- a/lldb/test/API/commands/command/regex/TestRegexCommand.py +++ b/lldb/test/API/commands/command/regex/TestRegexCommand.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestCommandRegexParsing(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_sample_rename_this(self): diff --git a/lldb/test/API/commands/command/script/TestCommandScript.py b/lldb/test/API/commands/command/script/TestCommandScript.py index eed36c9..6f36947 100644 --- a/lldb/test/API/commands/command/script/TestCommandScript.py +++ b/lldb/test/API/commands/command/script/TestCommandScript.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class CmdPythonTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/commands/command/script/import/TestImport.py b/lldb/test/API/commands/command/script/import/TestImport.py index a10c23ba..ff1fd14 100644 --- a/lldb/test/API/commands/command/script/import/TestImport.py +++ b/lldb/test/API/commands/command/script/import/TestImport.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ImportTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(['pyapi']) @no_debug_info_test def test_import_command(self): diff --git a/lldb/test/API/commands/command/script/import/rdar-12586188/TestRdar12586188.py b/lldb/test/API/commands/command/script/import/rdar-12586188/TestRdar12586188.py index 478cfa38..7fff135 100644 --- a/lldb/test/API/commands/command/script/import/rdar-12586188/TestRdar12586188.py +++ b/lldb/test/API/commands/command/script/import/rdar-12586188/TestRdar12586188.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class Rdar12586188TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(['pyapi']) @no_debug_info_test def test_rdar12586188_command(self): diff --git a/lldb/test/API/commands/command/script_alias/TestCommandScriptAlias.py b/lldb/test/API/commands/command/script_alias/TestCommandScriptAlias.py index 3f2e8cc..0d80fb9 100644 --- a/lldb/test/API/commands/command/script_alias/TestCommandScriptAlias.py +++ b/lldb/test/API/commands/command/script_alias/TestCommandScriptAlias.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import * class CommandScriptAliasTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_pycmd(self): diff --git a/lldb/test/API/commands/command/source/TestCommandSource.py b/lldb/test/API/commands/command/source/TestCommandSource.py index dc32e20..f75ab5a 100644 --- a/lldb/test/API/commands/command/source/TestCommandSource.py +++ b/lldb/test/API/commands/command/source/TestCommandSource.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CommandSourceTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_command_source(self): """Test that lldb command "command source" works correctly.""" diff --git a/lldb/test/API/commands/disassemble/basic/TestDisassembleBreakpoint.py b/lldb/test/API/commands/disassemble/basic/TestDisassembleBreakpoint.py index 4130aae..da8beb8 100644 --- a/lldb/test/API/commands/disassemble/basic/TestDisassembleBreakpoint.py +++ b/lldb/test/API/commands/disassemble/basic/TestDisassembleBreakpoint.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class DisassemblyTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/commands/disassemble/basic/TestFrameDisassemble.py b/lldb/test/API/commands/disassemble/basic/TestFrameDisassemble.py index e76cbd8..23de46e 100644 --- a/lldb/test/API/commands/disassemble/basic/TestFrameDisassemble.py +++ b/lldb/test/API/commands/disassemble/basic/TestFrameDisassemble.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class FrameDisassembleTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_frame_disassemble(self): diff --git a/lldb/test/API/commands/expression/anonymous-struct/TestCallUserAnonTypedef.py b/lldb/test/API/commands/expression/anonymous-struct/TestCallUserAnonTypedef.py index 1a4e166..12c2bdf 100644 --- a/lldb/test/API/commands/expression/anonymous-struct/TestCallUserAnonTypedef.py +++ b/lldb/test/API/commands/expression/anonymous-struct/TestCallUserAnonTypedef.py @@ -13,7 +13,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestExprLookupAnonStructTypedef(TestBase): - mydir = TestBase.compute_mydir(__file__) @expectedFailureAll( oslist=['linux'], diff --git a/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py b/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py index 1e2fa1b..f34a698 100644 --- a/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py +++ b/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py @@ -17,8 +17,6 @@ from lldbsuite.test import lldbutil class TestArgumentPassingRestrictions(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(compiler="clang", compiler_version=['<', '7.0']) def test_argument_passing_restrictions(self): self.build() diff --git a/lldb/test/API/commands/expression/calculator_mode/TestCalculatorMode.py b/lldb/test/API/commands/expression/calculator_mode/TestCalculatorMode.py index 9cd3c81..e66c199 100644 --- a/lldb/test/API/commands/expression/calculator_mode/TestCalculatorMode.py +++ b/lldb/test/API/commands/expression/calculator_mode/TestCalculatorMode.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestCalculatorMode(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test__calculator_mode(self): diff --git a/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py b/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py index 4fd5cd6..2af1e3e2 100644 --- a/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py +++ b/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ExprCommandCallBuiltinFunction(TestBase): - mydir = TestBase.compute_mydir(__file__) - # Builtins are expanded by Clang, so debug info shouldn't matter. NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py b/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py index b3a6119..2aaaa55 100644 --- a/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py +++ b/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class ExprCommandCallFunctionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( compiler="icc", bugnumber="llvm.org/pr14437, fails with ICC 13.1") diff --git a/lldb/test/API/commands/expression/call-function/TestCallStopAndContinue.py b/lldb/test/API/commands/expression/call-function/TestCallStopAndContinue.py index 1191176..2687cb3 100644 --- a/lldb/test/API/commands/expression/call-function/TestCallStopAndContinue.py +++ b/lldb/test/API/commands/expression/call-function/TestCallStopAndContinue.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class ExprCommandCallStopContinueTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/call-function/TestCallUserDefinedFunction.py b/lldb/test/API/commands/expression/call-function/TestCallUserDefinedFunction.py index 8ea7744..c818913 100644 --- a/lldb/test/API/commands/expression/call-function/TestCallUserDefinedFunction.py +++ b/lldb/test/API/commands/expression/call-function/TestCallUserDefinedFunction.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class ExprCommandCallUserDefinedFunction(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test return values of user defined function calls.""" self.build() diff --git a/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py b/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py index c910b4d..487c55f 100644 --- a/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py +++ b/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class ExprCommandThatRestartsTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py b/lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py index 2ee8bfd..40a7f23 100644 --- a/lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py +++ b/lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ExprCommandWithThrowTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/cast_int_to_anonymous_enum/TestCastIntToAnonymousEnum.py b/lldb/test/API/commands/expression/cast_int_to_anonymous_enum/TestCastIntToAnonymousEnum.py index 7c1a4e8..4c1875c 100644 --- a/lldb/test/API/commands/expression/cast_int_to_anonymous_enum/TestCastIntToAnonymousEnum.py +++ b/lldb/test/API/commands/expression/cast_int_to_anonymous_enum/TestCastIntToAnonymousEnum.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestCastIntToAnonymousEnum(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_cast_int_to_anonymous_enum(self): self.build() diff --git a/lldb/test/API/commands/expression/char/TestExprsChar.py b/lldb/test/API/commands/expression/char/TestExprsChar.py index ab3d4f4..cd9c55b 100644 --- a/lldb/test/API/commands/expression/char/TestExprsChar.py +++ b/lldb/test/API/commands/expression/char/TestExprsChar.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class ExprCharTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def do_test(self, dictionary=None): """These basic expression commands should work as expected.""" self.build(dictionary=dictionary) diff --git a/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py b/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py index 50bba10..e7ad9a9 100644 --- a/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py +++ b/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestClassTemplateSpecializationParametersHandling(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_class_template_specialization(self): self.build() diff --git a/lldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/TestImportDefinitionArrayType.py b/lldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/TestImportDefinitionArrayType.py index a485b94..652df83 100644 --- a/lldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/TestImportDefinitionArrayType.py +++ b/lldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/TestImportDefinitionArrayType.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestImportDefinitionArrayType(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.cpp")) diff --git a/lldb/test/API/commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py b/lldb/test/API/commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py index 18897e5..2a86ad1 100644 --- a/lldb/test/API/commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py +++ b/lldb/test/API/commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf # rdar://problem/53931074 def test(self): self.build() diff --git a/lldb/test/API/commands/expression/completion/TestExprCompletion.py b/lldb/test/API/commands/expression/completion/TestExprCompletion.py index 7c5fb4c..d1d39c6 100644 --- a/lldb/test/API/commands/expression/completion/TestExprCompletion.py +++ b/lldb/test/API/commands/expression/completion/TestExprCompletion.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class CommandLineExprCompletionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_expr_completion(self): diff --git a/lldb/test/API/commands/expression/context-object-objc/TestContextObjectObjc.py b/lldb/test/API/commands/expression/context-object-objc/TestContextObjectObjc.py index eb43a59..a5f01f3 100644 --- a/lldb/test/API/commands/expression/context-object-objc/TestContextObjectObjc.py +++ b/lldb/test/API/commands/expression/context-object-objc/TestContextObjectObjc.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import * class ContextObjectObjcTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["objc"]) def test_context_object_objc(self): """Tests expression evaluation in context of an objc class.""" diff --git a/lldb/test/API/commands/expression/context-object/TestContextObject.py b/lldb/test/API/commands/expression/context-object/TestContextObject.py index b7dc6d5..a53cbac 100644 --- a/lldb/test/API/commands/expression/context-object/TestContextObject.py +++ b/lldb/test/API/commands/expression/context-object/TestContextObject.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbtest import * class ContextObjectTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_context_object(self): """Tests expression evaluation in context of an object.""" self.build() diff --git a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py index c7b7596..4f867a6 100644 --- a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py +++ b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class ExprDiagnosticsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/dollar-in-variable/TestDollarInVariable.py b/lldb/test/API/commands/expression/dollar-in-variable/TestDollarInVariable.py index d15eae3..7000073 100644 --- a/lldb/test/API/commands/expression/dollar-in-variable/TestDollarInVariable.py +++ b/lldb/test/API/commands/expression/dollar-in-variable/TestDollarInVariable.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"]) def test(self): self.build() diff --git a/lldb/test/API/commands/expression/dont_allow_jit/TestAllowJIT.py b/lldb/test/API/commands/expression/dont_allow_jit/TestAllowJIT.py index bd62e30..54e2a6b 100644 --- a/lldb/test/API/commands/expression/dont_allow_jit/TestAllowJIT.py +++ b/lldb/test/API/commands/expression/dont_allow_jit/TestAllowJIT.py @@ -11,8 +11,6 @@ from lldbsuite.test.decorators import * class TestAllowJIT(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/commands/expression/entry-bp/TestExprEntryBP.py b/lldb/test/API/commands/expression/entry-bp/TestExprEntryBP.py index fe3fd85..8c376cf 100644 --- a/lldb/test/API/commands/expression/entry-bp/TestExprEntryBP.py +++ b/lldb/test/API/commands/expression/entry-bp/TestExprEntryBP.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbtest import * class ExprEntryBPTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_expr_entry_bp(self): diff --git a/lldb/test/API/commands/expression/error-limit/TestExprErrorLimit.py b/lldb/test/API/commands/expression/error-limit/TestExprErrorLimit.py index c940edb..e7391d2 100644 --- a/lldb/test/API/commands/expression/error-limit/TestExprErrorLimit.py +++ b/lldb/test/API/commands/expression/error-limit/TestExprErrorLimit.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): # FIXME: The only reason this test needs to create a real target is because diff --git a/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py b/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py index d433e2e..4c20c7f 100644 --- a/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py +++ b/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class ExprSyscallTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr21765, getpid() does not exist on Windows") diff --git a/lldb/test/API/commands/expression/fixits/TestFixIts.py b/lldb/test/API/commands/expression/fixits/TestFixIts.py index 686f56a..bf4118d 100644 --- a/lldb/test/API/commands/expression/fixits/TestFixIts.py +++ b/lldb/test/API/commands/expression/fixits/TestFixIts.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ExprCommandWithFixits(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_dummy_target(self): """Test calling expressions in the dummy target with errors that can be fixed by the FixIts.""" diff --git a/lldb/test/API/commands/expression/formatters/TestFormatters.py b/lldb/test/API/commands/expression/formatters/TestFormatters.py index dda773e..f6eeeb2 100644 --- a/lldb/test/API/commands/expression/formatters/TestFormatters.py +++ b/lldb/test/API/commands/expression/formatters/TestFormatters.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ExprFormattersTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py b/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py index ecbc7ea..5bbed6e 100644 --- a/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py +++ b/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestFunctionTemplateSpecializationTempArgs(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_function_template_specialization_temp_args(self): self.build() diff --git a/lldb/test/API/commands/expression/import-std-module/array/TestArrayFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/array/TestArrayFromStdModule.py index ba9a785..fdf96b3 100644 --- a/lldb/test/API/commands/expression/import-std-module/array/TestArrayFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/array/TestArrayFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/basic/TestImportStdModule.py b/lldb/test/API/commands/expression/import-std-module/basic/TestImportStdModule.py index 695d00b..47021d7 100644 --- a/lldb/test/API/commands/expression/import-std-module/basic/TestImportStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/basic/TestImportStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class ImportStdModule(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/conflicts/TestStdModuleWithConflicts.py b/lldb/test/API/commands/expression/import-std-module/conflicts/TestStdModuleWithConflicts.py index bfc1851..d5b6451 100644 --- a/lldb/test/API/commands/expression/import-std-module/conflicts/TestStdModuleWithConflicts.py +++ b/lldb/test/API/commands/expression/import-std-module/conflicts/TestStdModuleWithConflicts.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestImportStdModuleConflicts(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py index 0eaa50a..26b3dbf 100644 --- a/lldb/test/API/commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestBasicDeque(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py index 5a1f1fc..b66477c 100644 --- a/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestDbgInfoContentDeque(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py b/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py index 289420a..5c7c5a1 100644 --- a/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py @@ -10,8 +10,6 @@ import os class ImportStdModule(TestBase): - mydir = TestBase.compute_mydir(__file__) - # We only emulate a fake libc++ in this test and don't use the real libc++, # but we still add the libc++ category so that this test is only run in # test configurations where libc++ is actually supposed to be tested. diff --git a/lldb/test/API/commands/expression/import-std-module/forward_decl_from_module/TestForwardDeclFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/forward_decl_from_module/TestForwardDeclFromStdModule.py index e3b3705..943aa5b 100644 --- a/lldb/test/API/commands/expression/import-std-module/forward_decl_from_module/TestForwardDeclFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/forward_decl_from_module/TestForwardDeclFromStdModule.py @@ -10,8 +10,6 @@ import os class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # We only emulate a fake libc++ in this test and don't use the real libc++, # but we still add the libc++ category so that this test is only run in # test configurations where libc++ is actually supposed to be tested. diff --git a/lldb/test/API/commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py index b1f206d..1f66452 100644 --- a/lldb/test/API/commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestDbgInfoContentForwardList(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py index 9c4bf83..08a680d 100644 --- a/lldb/test/API/commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestBasicForwardList(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py index b040b37..33c08fb 100644 --- a/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py index 94d9ca7..b4740d2 100644 --- a/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestDbgInfoContentList(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/list/TestListFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/list/TestListFromStdModule.py index 0d7d915..9f1fc37 100644 --- a/lldb/test/API/commands/expression/import-std-module/list/TestListFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/list/TestListFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestBasicList(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/missing-module-sources/TestStdModuleSourcesMissing.py b/lldb/test/API/commands/expression/import-std-module/missing-module-sources/TestStdModuleSourcesMissing.py index 9e11ec6..41fb4b5 100644 --- a/lldb/test/API/commands/expression/import-std-module/missing-module-sources/TestStdModuleSourcesMissing.py +++ b/lldb/test/API/commands/expression/import-std-module/missing-module-sources/TestStdModuleSourcesMissing.py @@ -11,8 +11,6 @@ import shutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # We only emulate a fake libc++ in this test and don't use the real libc++, # but we still add the libc++ category so that this test is only run in # test configurations where libc++ is actually supposed to be tested. diff --git a/lldb/test/API/commands/expression/import-std-module/module-build-errors/TestStdModuleBuildErrors.py b/lldb/test/API/commands/expression/import-std-module/module-build-errors/TestStdModuleBuildErrors.py index 55e6d42..73d50a7 100644 --- a/lldb/test/API/commands/expression/import-std-module/module-build-errors/TestStdModuleBuildErrors.py +++ b/lldb/test/API/commands/expression/import-std-module/module-build-errors/TestStdModuleBuildErrors.py @@ -14,8 +14,6 @@ import os class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # We only emulate a fake libc++ in this test and don't use the real libc++, # but we still add the libc++ category so that this test is only run in # test configurations where libc++ is actually supposed to be tested. diff --git a/lldb/test/API/commands/expression/import-std-module/no-std-module/TestMissingStdModule.py b/lldb/test/API/commands/expression/import-std-module/no-std-module/TestMissingStdModule.py index 50aaf10..a6e664f 100644 --- a/lldb/test/API/commands/expression/import-std-module/no-std-module/TestMissingStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/no-std-module/TestMissingStdModule.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class STLTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/non-module-type-separation/TestNonModuleTypeSeparation.py b/lldb/test/API/commands/expression/import-std-module/non-module-type-separation/TestNonModuleTypeSeparation.py index 0296b73..8f40e92 100644 --- a/lldb/test/API/commands/expression/import-std-module/non-module-type-separation/TestNonModuleTypeSeparation.py +++ b/lldb/test/API/commands/expression/import-std-module/non-module-type-separation/TestNonModuleTypeSeparation.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py index 121b6e7..debd80b 100644 --- a/lldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) # FIXME: This regressed in 69d5a6662115499198ebfa07a081e98a6ce4b915 diff --git a/lldb/test/API/commands/expression/import-std-module/queue/TestQueueFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/queue/TestQueueFromStdModule.py index 06f77ba5..59df9cf 100644 --- a/lldb/test/API/commands/expression/import-std-module/queue/TestQueueFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/queue/TestQueueFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestQueue(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/retry-with-std-module/TestRetryWithStdModule.py b/lldb/test/API/commands/expression/import-std-module/retry-with-std-module/TestRetryWithStdModule.py index 1ba80ca..e102939 100644 --- a/lldb/test/API/commands/expression/import-std-module/retry-with-std-module/TestRetryWithStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/retry-with-std-module/TestRetryWithStdModule.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py index 46a796f..6991324 100644 --- a/lldb/test/API/commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestSharedPtrDbgInfoContent(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py index 0d0f300..0f7e1a2 100644 --- a/lldb/test/API/commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestSharedPtr(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/stack/TestStackFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/stack/TestStackFromStdModule.py index 4486768e..ab3b0c7 100644 --- a/lldb/test/API/commands/expression/import-std-module/stack/TestStackFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/stack/TestStackFromStdModule.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestStack(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) @skipIfLinux # Declaration in some Linux headers causes LLDB to crash. diff --git a/lldb/test/API/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py b/lldb/test/API/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py index d26eccf..014a354 100644 --- a/lldb/test/API/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py +++ b/lldb/test/API/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py @@ -10,8 +10,6 @@ import os class ImportStdModule(TestBase): - mydir = TestBase.compute_mydir(__file__) - # We only emulate a fake libc++ in this test and don't use the real libc++, # but we still add the libc++ category so that this test is only run in # test configurations where libc++ is actually supposed to be tested. diff --git a/lldb/test/API/commands/expression/import-std-module/unique_ptr-dbg-info-content/TestUniquePtrDbgInfoContent.py b/lldb/test/API/commands/expression/import-std-module/unique_ptr-dbg-info-content/TestUniquePtrDbgInfoContent.py index 5fba71d..c32c971 100644 --- a/lldb/test/API/commands/expression/import-std-module/unique_ptr-dbg-info-content/TestUniquePtrDbgInfoContent.py +++ b/lldb/test/API/commands/expression/import-std-module/unique_ptr-dbg-info-content/TestUniquePtrDbgInfoContent.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestUniquePtrDbgInfoContent(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) @skipIf(compiler="clang", compiler_version=['<', '9.0']) diff --git a/lldb/test/API/commands/expression/import-std-module/unique_ptr/TestUniquePtrFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/unique_ptr/TestUniquePtrFromStdModule.py index f8e1aa7..6775a53e 100644 --- a/lldb/test/API/commands/expression/import-std-module/unique_ptr/TestUniquePtrFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/unique_ptr/TestUniquePtrFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestUniquePtr(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) @skipIf(compiler="clang", compiler_version=['<', '9.0']) diff --git a/lldb/test/API/commands/expression/import-std-module/vector-bool/TestVectorBoolFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/vector-bool/TestVectorBoolFromStdModule.py index 79e7478..024b61e 100644 --- a/lldb/test/API/commands/expression/import-std-module/vector-bool/TestVectorBoolFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/vector-bool/TestVectorBoolFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestBoolVector(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py index d53a9bf..92dfa02 100644 --- a/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestDbgInfoContentVector(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py index 46633ca..8a98900 100644 --- a/lldb/test/API/commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestVectorOfVectors(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/vector/TestVectorFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/vector/TestVectorFromStdModule.py index 1b93fa2..b83e50d 100644 --- a/lldb/test/API/commands/expression/import-std-module/vector/TestVectorFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/vector/TestVectorFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestBasicVector(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py index d99d5ce..5eebed7 100644 --- a/lldb/test/API/commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestDbgInfoContentWeakPtr(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py index 6e1b133..8d1c721 100644 --- a/lldb/test/API/commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestSharedPtr(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) def test(self): diff --git a/lldb/test/API/commands/expression/import_builtin_fileid/TestImportBuiltinFileID.py b/lldb/test/API/commands/expression/import_builtin_fileid/TestImportBuiltinFileID.py index 1de1103..b7e25b5 100644 --- a/lldb/test/API/commands/expression/import_builtin_fileid/TestImportBuiltinFileID.py +++ b/lldb/test/API/commands/expression/import_builtin_fileid/TestImportBuiltinFileID.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestImportBuiltinFileID(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfDarwinEmbedded @add_test_categories(["gmodules", "objc"]) def test_import_builtin_fileid(self): diff --git a/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py b/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py index fea92c6..1772d61 100644 --- a/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py +++ b/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestInlineNamespace(TestBase): - mydir = TestBase.compute_mydir(__file__) def test(self): self.build() diff --git a/lldb/test/API/commands/expression/invalid-args/TestInvalidArgsExpression.py b/lldb/test/API/commands/expression/invalid-args/TestInvalidArgsExpression.py index e0ede0a..859b823 100644 --- a/lldb/test/API/commands/expression/invalid-args/TestInvalidArgsExpression.py +++ b/lldb/test/API/commands/expression/invalid-args/TestInvalidArgsExpression.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class InvalidArgsExpressionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_invalid_lang(self): self.expect("expression -l foo --", error=True, diff --git a/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py b/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py index 20a9477..0f7237c 100644 --- a/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py +++ b/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py @@ -9,7 +9,6 @@ import lldbsuite.test.lldbutil as lldbutil class IRInterpreterPHINodesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) def test_phi_node_support(self): """Test support for PHI nodes in the IR interpreter.""" diff --git a/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py b/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py index 16c88c5..5dbc53e 100644 --- a/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py +++ b/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class IRInterpreterTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/expression/issue_11588/Test11588.py b/lldb/test/API/commands/expression/issue_11588/Test11588.py index 9f743fb..3385f86 100644 --- a/lldb/test/API/commands/expression/issue_11588/Test11588.py +++ b/lldb/test/API/commands/expression/issue_11588/Test11588.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class Issue11581TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows #This test is now flaky on windows, see llvm.org/pr24778 def test_11581_commands(self): # This is the function to remove the custom commands in order to have a diff --git a/lldb/test/API/commands/expression/macros/TestMacros.py b/lldb/test/API/commands/expression/macros/TestMacros.py index aed83e2..3e5d720a 100644 --- a/lldb/test/API/commands/expression/macros/TestMacros.py +++ b/lldb/test/API/commands/expression/macros/TestMacros.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestMacros(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( compiler="clang", bugnumber="clang does not emit .debug_macro[.dwo] sections.") diff --git a/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py b/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py index d580d93..550e484 100644 --- a/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py +++ b/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class MultilineCompletionTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - def start_expression_editor(self): """ Starts the multiline expression editor. """ self.child.send("expression\n") diff --git a/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py b/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py index 1026de6..217550e 100644 --- a/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py +++ b/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestCase(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - arrow_up = "\033[A" arrow_down = "\033[B" diff --git a/lldb/test/API/commands/expression/namespace_local_var_same_name_cpp_and_c/TestNamespaceLocalVarSameNameCppAndC.py b/lldb/test/API/commands/expression/namespace_local_var_same_name_cpp_and_c/TestNamespaceLocalVarSameNameCppAndC.py index 8bf5df0..a446c78 100644 --- a/lldb/test/API/commands/expression/namespace_local_var_same_name_cpp_and_c/TestNamespaceLocalVarSameNameCppAndC.py +++ b/lldb/test/API/commands/expression/namespace_local_var_same_name_cpp_and_c/TestNamespaceLocalVarSameNameCppAndC.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestNamespaceLocalVarSameNameCppAndC(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @add_test_categories(["gmodules"]) def test_namespace_local_var_same_name_cpp_and_c(self): diff --git a/lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/TestNamespaceLocalVarSameNameObjC.py b/lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/TestNamespaceLocalVarSameNameObjC.py index 92efbdd..b0c6be4 100644 --- a/lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/TestNamespaceLocalVarSameNameObjC.py +++ b/lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/TestNamespaceLocalVarSameNameObjC.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestNamespaceLocalVarSameNameObjC(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["gmodules", "objc"]) def test_namespace_local_var_same_name_obj_c(self): self.build() diff --git a/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py b/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py index 2802366..96536d7 100644 --- a/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py +++ b/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ExprDoesntDeadlockTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["basic_process"]) def test_with_run_command(self): """Test that expr will time out and allow other threads to run if it blocks.""" diff --git a/lldb/test/API/commands/expression/options/TestExprOptions.py b/lldb/test/API/commands/expression/options/TestExprOptions.py index 1f56e5f..b557914 100644 --- a/lldb/test/API/commands/expression/options/TestExprOptions.py +++ b/lldb/test/API/commands/expression/options/TestExprOptions.py @@ -17,8 +17,6 @@ from lldbsuite.test.lldbtest import * class ExprOptionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/persist_objc_pointeetype/TestPersistObjCPointeeType.py b/lldb/test/API/commands/expression/persist_objc_pointeetype/TestPersistObjCPointeeType.py index 8562a4f..4113e9d 100644 --- a/lldb/test/API/commands/expression/persist_objc_pointeetype/TestPersistObjCPointeeType.py +++ b/lldb/test/API/commands/expression/persist_objc_pointeetype/TestPersistObjCPointeeType.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class PersistObjCPointeeType(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/persistent_ptr_update/TestPersistentPtrUpdate.py b/lldb/test/API/commands/expression/persistent_ptr_update/TestPersistentPtrUpdate.py index 5660113..61687a0 100644 --- a/lldb/test/API/commands/expression/persistent_ptr_update/TestPersistentPtrUpdate.py +++ b/lldb/test/API/commands/expression/persistent_ptr_update/TestPersistentPtrUpdate.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class PersistentPtrUpdateTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test that we can have persistent pointer variables""" self.build() diff --git a/lldb/test/API/commands/expression/persistent_types/TestNestedPersistentTypes.py b/lldb/test/API/commands/expression/persistent_types/TestNestedPersistentTypes.py index 973eade..2ecac03 100644 --- a/lldb/test/API/commands/expression/persistent_types/TestNestedPersistentTypes.py +++ b/lldb/test/API/commands/expression/persistent_types/TestNestedPersistentTypes.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class NestedPersistentTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_persistent_types(self): """Test that nested persistent types work.""" self.build() diff --git a/lldb/test/API/commands/expression/persistent_types/TestPersistentTypes.py b/lldb/test/API/commands/expression/persistent_types/TestPersistentTypes.py index e60a768..d9a2694 100644 --- a/lldb/test/API/commands/expression/persistent_types/TestPersistentTypes.py +++ b/lldb/test/API/commands/expression/persistent_types/TestPersistentTypes.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class PersistenttypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_persistent_types(self): """Test that lldb persistent types works correctly.""" self.build() diff --git a/lldb/test/API/commands/expression/persistent_variables/TestPersistentVariables.py b/lldb/test/API/commands/expression/persistent_variables/TestPersistentVariables.py index bdd1ccc..1624573 100644 --- a/lldb/test/API/commands/expression/persistent_variables/TestPersistentVariables.py +++ b/lldb/test/API/commands/expression/persistent_variables/TestPersistentVariables.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class PersistentVariablesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_persistent_variables(self): """Test that lldb persistent variables works correctly.""" self.build() diff --git a/lldb/test/API/commands/expression/po_verbosity/TestPoVerbosity.py b/lldb/test/API/commands/expression/po_verbosity/TestPoVerbosity.py index a4c632d..a913136 100644 --- a/lldb/test/API/commands/expression/po_verbosity/TestPoVerbosity.py +++ b/lldb/test/API/commands/expression/po_verbosity/TestPoVerbosity.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class PoVerbosityTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py b/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py index a9987ce..faa59ab 100644 --- a/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py +++ b/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class ExprBug35310(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/pr52257/TestExprCrash.py b/lldb/test/API/commands/expression/pr52257/TestExprCrash.py index 68e5323..c5b6fea 100644 --- a/lldb/test/API/commands/expression/pr52257/TestExprCrash.py +++ b/lldb/test/API/commands/expression/pr52257/TestExprCrash.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ExprCrashTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_pr52257(self): self.build() self.createTestTarget() diff --git a/lldb/test/API/commands/expression/radar_8638051/Test8638051.py b/lldb/test/API/commands/expression/radar_8638051/Test8638051.py index 8a38a66..23e9fe9 100644 --- a/lldb/test/API/commands/expression/radar_8638051/Test8638051.py +++ b/lldb/test/API/commands/expression/radar_8638051/Test8638051.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class Radar8638051TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_expr_commands(self): """The following expression commands should not crash.""" self.build() diff --git a/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py b/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py index 857110c..0b6507e 100644 --- a/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py +++ b/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class Radar9531204TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # rdar://problem/9531204 def test_expr_commands(self): """The evaluating printf(...) after break stop and then up a stack frame.""" diff --git a/lldb/test/API/commands/expression/radar_9673664/TestExprHelpExamples.py b/lldb/test/API/commands/expression/radar_9673664/TestExprHelpExamples.py index 3eb3a86..135009b 100644 --- a/lldb/test/API/commands/expression/radar_9673664/TestExprHelpExamples.py +++ b/lldb/test/API/commands/expression/radar_9673664/TestExprHelpExamples.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class Radar9673644TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/result_numbering/TestResultNumbering.py b/lldb/test/API/commands/expression/result_numbering/TestResultNumbering.py index 1142951..296faf5 100644 --- a/lldb/test/API/commands/expression/result_numbering/TestResultNumbering.py +++ b/lldb/test/API/commands/expression/result_numbering/TestResultNumbering.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * class TestExpressionResultNumbering(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_sample_rename_this(self): diff --git a/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py b/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py index 381527c..157bed4 100644 --- a/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py +++ b/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py @@ -10,7 +10,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class SaveJITObjectsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) def enumerateJITFiles(self): return [f for f in os.listdir(self.getBuildDir()) if f.startswith("jit")] diff --git a/lldb/test/API/commands/expression/scoped_enums/TestScopedEnumType.py b/lldb/test/API/commands/expression/scoped_enums/TestScopedEnumType.py index 2c45d21..3a53e8f 100644 --- a/lldb/test/API/commands/expression/scoped_enums/TestScopedEnumType.py +++ b/lldb/test/API/commands/expression/scoped_enums/TestScopedEnumType.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class ScopedEnumType(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(dwarf_version=['<', '4']) def test(self): self.build() diff --git a/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py b/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py index 38470bb..e704c44 100644 --- a/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py +++ b/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class StaticInitializers(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(archs="aarch64", oslist=["freebsd", "linux"], bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44053") def test(self): diff --git a/lldb/test/API/commands/expression/test/TestExprs.py b/lldb/test/API/commands/expression/test/TestExprs.py index caa1d66..5150ff0 100644 --- a/lldb/test/API/commands/expression/test/TestExprs.py +++ b/lldb/test/API/commands/expression/test/TestExprs.py @@ -23,8 +23,6 @@ from lldbsuite.test import lldbutil class BasicExprCommandsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/test/TestExprs2.py b/lldb/test/API/commands/expression/test/TestExprs2.py index cd02f89..827c138 100644 --- a/lldb/test/API/commands/expression/test/TestExprs2.py +++ b/lldb/test/API/commands/expression/test/TestExprs2.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ExprCommands2TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py b/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py index e6dcec3..b3a3aac 100644 --- a/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py +++ b/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ExprCommandWithTimeoutsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/top-level/TestTopLevelExprs.py b/lldb/test/API/commands/expression/top-level/TestTopLevelExprs.py index 2203327..97547df 100644 --- a/lldb/test/API/commands/expression/top-level/TestTopLevelExprs.py +++ b/lldb/test/API/commands/expression/top-level/TestTopLevelExprs.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TopLevelExpressionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/two-files/TestObjCTypeQueryFromOtherCompileUnit.py b/lldb/test/API/commands/expression/two-files/TestObjCTypeQueryFromOtherCompileUnit.py index 8df489a..a40eb12 100644 --- a/lldb/test/API/commands/expression/two-files/TestObjCTypeQueryFromOtherCompileUnit.py +++ b/lldb/test/API/commands/expression/two-files/TestObjCTypeQueryFromOtherCompileUnit.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class ObjCTypeQueryTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py b/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py index e21edef..1211e86 100644 --- a/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py +++ b/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class UnwindFromExpressionTest(TestBase): - - mydir = TestBase.compute_mydir(__file__) main_spec = lldb.SBFileSpec("main.cpp", False) def build_and_run_to_bkpt(self): diff --git a/lldb/test/API/commands/expression/vector_of_enums/TestVectorOfEnums.py b/lldb/test/API/commands/expression/vector_of_enums/TestVectorOfEnums.py index 2da9546..0edc12d 100644 --- a/lldb/test/API/commands/expression/vector_of_enums/TestVectorOfEnums.py +++ b/lldb/test/API/commands/expression/vector_of_enums/TestVectorOfEnums.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestVectorOfEnums(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) def test_vector_of_enums(self): self.build() diff --git a/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py b/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py index 09d998b..911a97f 100644 --- a/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py +++ b/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py @@ -14,8 +14,6 @@ from lldbsuite.test.lldbtest import * class TestWeakSymbolsInExpressions(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipUnlessDarwin diff --git a/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py b/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py index 69308a5..8ef0654 100644 --- a/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py +++ b/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class ExprXValuePrintingTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], archs=["i[3-6]86", "x86_64"], bugnumber="llvm.org/pr21765") def test(self): """Printing an xvalue should work.""" diff --git a/lldb/test/API/commands/frame/diagnose/array/TestArray.py b/lldb/test/API/commands/frame/diagnose/array/TestArray.py index 5788cac..0a2ecb2 100644 --- a/lldb/test/API/commands/frame/diagnose/array/TestArray.py +++ b/lldb/test/API/commands/frame/diagnose/array/TestArray.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestArray(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/bad-reference/TestBadReference.py b/lldb/test/API/commands/frame/diagnose/bad-reference/TestBadReference.py index 2ed417b..89f021e 100644 --- a/lldb/test/API/commands/frame/diagnose/bad-reference/TestBadReference.py +++ b/lldb/test/API/commands/frame/diagnose/bad-reference/TestBadReference.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestBadReference(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/complicated-expression/TestComplicatedExpression.py b/lldb/test/API/commands/frame/diagnose/complicated-expression/TestComplicatedExpression.py index c1b0a0b..4aa205e 100644 --- a/lldb/test/API/commands/frame/diagnose/complicated-expression/TestComplicatedExpression.py +++ b/lldb/test/API/commands/frame/diagnose/complicated-expression/TestComplicatedExpression.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestDiagnoseDereferenceArgument(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py b/lldb/test/API/commands/frame/diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py index e6f222a..9fc56ee 100644 --- a/lldb/test/API/commands/frame/diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py +++ b/lldb/test/API/commands/frame/diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestDiagnoseDereferenceArgument(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py b/lldb/test/API/commands/frame/diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py index 25d7519..bf77406 100644 --- a/lldb/test/API/commands/frame/diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py +++ b/lldb/test/API/commands/frame/diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestDiagnoseDereferenceFunctionReturn(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/dereference-this/TestDiagnoseDereferenceThis.py b/lldb/test/API/commands/frame/diagnose/dereference-this/TestDiagnoseDereferenceThis.py index e5d528f..2038afb 100644 --- a/lldb/test/API/commands/frame/diagnose/dereference-this/TestDiagnoseDereferenceThis.py +++ b/lldb/test/API/commands/frame/diagnose/dereference-this/TestDiagnoseDereferenceThis.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestDiagnoseDereferenceThis(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/inheritance/TestDiagnoseInheritance.py b/lldb/test/API/commands/frame/diagnose/inheritance/TestDiagnoseInheritance.py index f006db52..fbd999f 100644 --- a/lldb/test/API/commands/frame/diagnose/inheritance/TestDiagnoseInheritance.py +++ b/lldb/test/API/commands/frame/diagnose/inheritance/TestDiagnoseInheritance.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestDiagnoseInheritance(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/local-variable/TestLocalVariable.py b/lldb/test/API/commands/frame/diagnose/local-variable/TestLocalVariable.py index 4fcfa77..41cade7 100644 --- a/lldb/test/API/commands/frame/diagnose/local-variable/TestLocalVariable.py +++ b/lldb/test/API/commands/frame/diagnose/local-variable/TestLocalVariable.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestLocalVariable(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py b/lldb/test/API/commands/frame/diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py index d29d69d..3672c50 100644 --- a/lldb/test/API/commands/frame/diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py +++ b/lldb/test/API/commands/frame/diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestDiagnoseVirtualMethodCall(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIf(archs=no_match(['x86_64'])) # frame diagnose doesn't work for armv7 or arm64 diff --git a/lldb/test/API/commands/frame/language/TestGuessLanguage.py b/lldb/test/API/commands/frame/language/TestGuessLanguage.py index 231f1d4..576061e 100644 --- a/lldb/test/API/commands/frame/language/TestGuessLanguage.py +++ b/lldb/test/API/commands/frame/language/TestGuessLanguage.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * class TestFrameGuessLanguage(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py b/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py index 284aeed..40942c9 100644 --- a/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py +++ b/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil import recognizer class FrameRecognizerTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipUnlessDarwin diff --git a/lldb/test/API/commands/frame/select/TestFrameSelect.py b/lldb/test/API/commands/frame/select/TestFrameSelect.py index 2f2dd5a..3fcc2d0 100644 --- a/lldb/test/API/commands/frame/select/TestFrameSelect.py +++ b/lldb/test/API/commands/frame/select/TestFrameSelect.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestFrameSelect(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfWindows def test_relative(self): diff --git a/lldb/test/API/commands/frame/var/TestFrameVar.py b/lldb/test/API/commands/frame/var/TestFrameVar.py index d142e35..d6a1a14 100644 --- a/lldb/test/API/commands/frame/var/TestFrameVar.py +++ b/lldb/test/API/commands/frame/var/TestFrameVar.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class TestFrameVar(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/commands/gui/basic/TestGuiBasic.py b/lldb/test/API/commands/gui/basic/TestGuiBasic.py index a287544..20a2527 100644 --- a/lldb/test/API/commands/gui/basic/TestGuiBasic.py +++ b/lldb/test/API/commands/gui/basic/TestGuiBasic.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class BasicGuiCommandTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py b/lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py index ee5a74c..c82e1f1 100644 --- a/lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py +++ b/lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestGuiBasicDebugCommandTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py b/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py index 627fa7a..c470155 100644 --- a/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py +++ b/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestGuiBasicDebugCommandTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py b/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py index 34a6bf3..099bf3b 100644 --- a/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py +++ b/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestGuiExpandThreadsTree(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/commands/gui/invalid-args/TestInvalidArgsGui.py b/lldb/test/API/commands/gui/invalid-args/TestInvalidArgsGui.py index 11fdc92..587a002 100644 --- a/lldb/test/API/commands/gui/invalid-args/TestInvalidArgsGui.py +++ b/lldb/test/API/commands/gui/invalid-args/TestInvalidArgsGui.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class GuiTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfCursesSupportMissing def test_reproducer_generate_invalid_invocation(self): diff --git a/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py b/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py index 633aa1f..177b327 100644 --- a/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py +++ b/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class GuiViewLargeCommandTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/commands/help/TestHelp.py b/lldb/test/API/commands/help/TestHelp.py index 09e7a32..6e0cfe4 100644 --- a/lldb/test/API/commands/help/TestHelp.py +++ b/lldb/test/API/commands/help/TestHelp.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class HelpCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_simplehelp(self): """A simple test of 'help' command and its output.""" diff --git a/lldb/test/API/commands/log/basic/TestLogging.py b/lldb/test/API/commands/log/basic/TestLogging.py index 21d92fe..b062da5 100644 --- a/lldb/test/API/commands/log/basic/TestLogging.py +++ b/lldb/test/API/commands/log/basic/TestLogging.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LogTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py b/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py index dfbd4b7..894fb24 100644 --- a/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py +++ b/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class InvalidArgsLogTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_enable_empty(self): self.expect("log enable", error=True, diff --git a/lldb/test/API/commands/memory/read/TestMemoryRead.py b/lldb/test/API/commands/memory/read/TestMemoryRead.py index a1b8839..aa3c0f8 100644 --- a/lldb/test/API/commands/memory/read/TestMemoryRead.py +++ b/lldb/test/API/commands/memory/read/TestMemoryRead.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class MemoryReadTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def build_run_stop(self): diff --git a/lldb/test/API/commands/memory/write/TestMemoryWrite.py b/lldb/test/API/commands/memory/write/TestMemoryWrite.py index 852edf9..26e8781 100644 --- a/lldb/test/API/commands/memory/write/TestMemoryWrite.py +++ b/lldb/test/API/commands/memory/write/TestMemoryWrite.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class MemoryWriteTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/platform/basic/TestPlatformCommand.py b/lldb/test/API/commands/platform/basic/TestPlatformCommand.py index bc4825a..d21a79b 100644 --- a/lldb/test/API/commands/platform/basic/TestPlatformCommand.py +++ b/lldb/test/API/commands/platform/basic/TestPlatformCommand.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class PlatformCommandTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @no_debug_info_test diff --git a/lldb/test/API/commands/platform/basic/TestPlatformPython.py b/lldb/test/API/commands/platform/basic/TestPlatformPython.py index 46f0d0c..b7a570a 100644 --- a/lldb/test/API/commands/platform/basic/TestPlatformPython.py +++ b/lldb/test/API/commands/platform/basic/TestPlatformPython.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class PlatformPythonTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(['pyapi']) @no_debug_info_test def test_platform_list(self): diff --git a/lldb/test/API/commands/platform/connect/TestPlatformConnect.py b/lldb/test/API/commands/platform/connect/TestPlatformConnect.py index a7a3f3a..cc955f5 100644 --- a/lldb/test/API/commands/platform/connect/TestPlatformConnect.py +++ b/lldb/test/API/commands/platform/connect/TestPlatformConnect.py @@ -6,7 +6,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestPlatformProcessConnect(TestBase): - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/commands/platform/file/close/TestPlatformFileClose.py b/lldb/test/API/commands/platform/file/close/TestPlatformFileClose.py index f440b67..056b4e3 100644 --- a/lldb/test/API/commands/platform/file/close/TestPlatformFileClose.py +++ b/lldb/test/API/commands/platform/file/close/TestPlatformFileClose.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_file_close_invalid_arg(self): self.expect("platform file close y", error=True, diff --git a/lldb/test/API/commands/platform/file/read/TestPlatformFileRead.py b/lldb/test/API/commands/platform/file/read/TestPlatformFileRead.py index a1f963a..e5bffe6 100644 --- a/lldb/test/API/commands/platform/file/read/TestPlatformFileRead.py +++ b/lldb/test/API/commands/platform/file/read/TestPlatformFileRead.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_file_close_invalid_arg(self): self.expect("platform file read y", error=True, diff --git a/lldb/test/API/commands/platform/process/list/TestProcessList.py b/lldb/test/API/commands/platform/process/list/TestProcessList.py index 5d83512..5daf5dc 100644 --- a/lldb/test/API/commands/platform/process/list/TestProcessList.py +++ b/lldb/test/API/commands/platform/process/list/TestProcessList.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ProcessListTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfWindows # https://bugs.llvm.org/show_bug.cgi?id=43702 diff --git a/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py b/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py index 06c780d..93c4a7b7 100644 --- a/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py +++ b/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py @@ -13,8 +13,6 @@ import socket class PlatformSDKTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # The port used by debugserver. diff --git a/lldb/test/API/commands/process/attach-resume/TestAttachResume.py b/lldb/test/API/commands/process/attach-resume/TestAttachResume.py index 11d9ab2..7858fa2 100644 --- a/lldb/test/API/commands/process/attach-resume/TestAttachResume.py +++ b/lldb/test/API/commands/process/attach-resume/TestAttachResume.py @@ -13,8 +13,6 @@ exe_name = "AttachResume" # Must match Makefile class AttachResumeTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/commands/process/attach/TestProcessAttach.py b/lldb/test/API/commands/process/attach/TestProcessAttach.py index b2d6878..546730f 100644 --- a/lldb/test/API/commands/process/attach/TestProcessAttach.py +++ b/lldb/test/API/commands/process/attach/TestProcessAttach.py @@ -16,8 +16,6 @@ exe_name = "ProcessAttach" # Must match Makefile class ProcessAttachTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py b/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py index 1072529..a958ec3 100644 --- a/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py +++ b/lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py @@ -14,8 +14,6 @@ exe_name = 'AttachDenied' # Must match Makefile class AttachDeniedTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfWindows diff --git a/lldb/test/API/commands/process/handle/TestProcessHandle.py b/lldb/test/API/commands/process/handle/TestProcessHandle.py index e026d4b..14e118b 100644 --- a/lldb/test/API/commands/process/handle/TestProcessHandle.py +++ b/lldb/test/API/commands/process/handle/TestProcessHandle.py @@ -5,8 +5,6 @@ from lldbsuite.test.decorators import * class TestProcessHandle(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfWindows def test_process_handle(self): diff --git a/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py b/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py index 956070f..f873379 100644 --- a/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py +++ b/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class LaunchWithShellExpandTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @expectedFailureAll( diff --git a/lldb/test/API/commands/process/launch/TestProcessLaunch.py b/lldb/test/API/commands/process/launch/TestProcessLaunch.py index 3f0791a..e03cc6e 100644 --- a/lldb/test/API/commands/process/launch/TestProcessLaunch.py +++ b/lldb/test/API/commands/process/launch/TestProcessLaunch.py @@ -15,8 +15,6 @@ import six class ProcessLaunchTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/process/signal/TestProcessSignal.py b/lldb/test/API/commands/process/signal/TestProcessSignal.py index 3897323..17321dc 100644 --- a/lldb/test/API/commands/process/signal/TestProcessSignal.py +++ b/lldb/test/API/commands/process/signal/TestProcessSignal.py @@ -5,8 +5,6 @@ from lldbsuite.test.decorators import * class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_invalid_arg(self): self.build() diff --git a/lldb/test/API/commands/quit/TestQuit.py b/lldb/test/API/commands/quit/TestQuit.py index d4dbd16..adebeb6 100644 --- a/lldb/test/API/commands/quit/TestQuit.py +++ b/lldb/test/API/commands/quit/TestQuit.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class QuitCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_quit_exit_code_disallow(self): self.ci.AllowExitCodeOnQuit(False) diff --git a/lldb/test/API/commands/register/register/aarch64_dynamic_regset/TestArm64DynamicRegsets.py b/lldb/test/API/commands/register/register/aarch64_dynamic_regset/TestArm64DynamicRegsets.py index ecaefb0..423e52b 100644 --- a/lldb/test/API/commands/register/register/aarch64_dynamic_regset/TestArm64DynamicRegsets.py +++ b/lldb/test/API/commands/register/register/aarch64_dynamic_regset/TestArm64DynamicRegsets.py @@ -64,8 +64,6 @@ class RegisterCommandsTestCase(TestBase): self.runCmd('register write ffr ' + "'" + p_regs_value + "'") self.expect('register read ffr', substrs=[p_regs_value]) - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIf(archs=no_match(["aarch64"])) @skipIf(oslist=no_match(['linux'])) diff --git a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py index 4d9cb68..5fb24fd 100644 --- a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py +++ b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py @@ -49,8 +49,6 @@ class RegisterCommandsTestCase(TestBase): self.expect("register read ffr", substrs=[p_regs_value]) - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIf(archs=no_match(["aarch64"])) @skipIf(oslist=no_match(['linux'])) diff --git a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py index dd2277b..2330efc 100644 --- a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py +++ b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py @@ -62,8 +62,6 @@ class RegisterCommandsTestCase(TestBase): self.expect("register read " + 'ffr', substrs=[p_regs_value]) - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIf(archs=no_match(["aarch64"])) @skipIf(oslist=no_match(['linux'])) diff --git a/lldb/test/API/commands/register/register/register_command/TestRegisters.py b/lldb/test/API/commands/register/register/register_command/TestRegisters.py index 0fd90dc..c3b26da 100644 --- a/lldb/test/API/commands/register/register/register_command/TestRegisters.py +++ b/lldb/test/API/commands/register/register/register_command/TestRegisters.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class RegisterCommandsTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py b/lldb/test/API/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py index 74db2fc..03626c5 100644 --- a/lldb/test/API/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py +++ b/lldb/test/API/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class ReproducerTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_reproducer_generate_invalid_invocation(self): self.expect("reproducer generate f", error=True, diff --git a/lldb/test/API/commands/session/history/TestSessionHistory.py b/lldb/test/API/commands/session/history/TestSessionHistory.py index 56e7336..3b49cc6 100644 --- a/lldb/test/API/commands/session/history/TestSessionHistory.py +++ b/lldb/test/API/commands/session/history/TestSessionHistory.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SessionHistoryTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_history(self): self.runCmd('session history --clear', inHistory=False) diff --git a/lldb/test/API/commands/session/save/TestSessionSave.py b/lldb/test/API/commands/session/save/TestSessionSave.py index 04dddc5..5474cb3 100644 --- a/lldb/test/API/commands/session/save/TestSessionSave.py +++ b/lldb/test/API/commands/session/save/TestSessionSave.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SessionSaveTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def raw_transcript_builder(self, cmd, res): raw = "(lldb) " + cmd + "\n" if res.GetOutputSize(): diff --git a/lldb/test/API/commands/settings/TestSettings.py b/lldb/test/API/commands/settings/TestSettings.py index 9ba5a5d..0ea1e7b 100644 --- a/lldb/test/API/commands/settings/TestSettings.py +++ b/lldb/test/API/commands/settings/TestSettings.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class SettingsCommandTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_apropos_should_also_search_settings_description(self): diff --git a/lldb/test/API/commands/settings/quoting/TestQuoting.py b/lldb/test/API/commands/settings/quoting/TestQuoting.py index b070d26..1caf6dd 100644 --- a/lldb/test/API/commands/settings/quoting/TestQuoting.py +++ b/lldb/test/API/commands/settings/quoting/TestQuoting.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class SettingsCommandTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) output_file_name = "output.txt" @classmethod diff --git a/lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py b/lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py index bd26868..b6b279a 100644 --- a/lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py +++ b/lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil from shutil import copy class SettingsUseSourceCacheTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_set_use_source_cache_false(self): diff --git a/lldb/test/API/commands/statistics/basic/TestStats.py b/lldb/test/API/commands/statistics/basic/TestStats.py index 77df1cda..471872a 100644 --- a/lldb/test/API/commands/statistics/basic/TestStats.py +++ b/lldb/test/API/commands/statistics/basic/TestStats.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_enable_disable(self): diff --git a/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py b/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py index 2bc9a05..78d0235 100644 --- a/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py +++ b/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py @@ -12,7 +12,6 @@ from lldbsuite.test import lldbutil class TestAutoInstallMainExecutable(TestBase): - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/commands/target/basic/TestTargetCommand.py b/lldb/test/API/commands/target/basic/TestTargetCommand.py index 0f153fc..91adc98 100644 --- a/lldb/test/API/commands/target/basic/TestTargetCommand.py +++ b/lldb/test/API/commands/target/basic/TestTargetCommand.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class targetCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/target/create-deps/TestTargetCreateDeps.py b/lldb/test/API/commands/target/create-deps/TestTargetCreateDeps.py index 4e6f3ff..ed00bbc 100644 --- a/lldb/test/API/commands/target/create-deps/TestTargetCreateDeps.py +++ b/lldb/test/API/commands/target/create-deps/TestTargetCreateDeps.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil @skipIfWindows # Windows deals differently with shared libs. class TargetDependentsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/target/create-no-such-arch/TestNoSuchArch.py b/lldb/test/API/commands/target/create-no-such-arch/TestNoSuchArch.py index 622a813..f7f3c0e 100644 --- a/lldb/test/API/commands/target/create-no-such-arch/TestNoSuchArch.py +++ b/lldb/test/API/commands/target/create-no-such-arch/TestNoSuchArch.py @@ -9,8 +9,6 @@ import lldbsuite.test.lldbutil as lldbutil class NoSuchArchTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/commands/target/dump-symtab-demangle/TestDumpSymtabDemangle.py b/lldb/test/API/commands/target/dump-symtab-demangle/TestDumpSymtabDemangle.py index 9f95a11..5f36c19 100644 --- a/lldb/test/API/commands/target/dump-symtab-demangle/TestDumpSymtabDemangle.py +++ b/lldb/test/API/commands/target/dump-symtab-demangle/TestDumpSymtabDemangle.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): src_dir = self.getSourceDir() diff --git a/lldb/test/API/commands/target/dump/TestTargetDumpTypeSystem.py b/lldb/test/API/commands/target/dump/TestTargetDumpTypeSystem.py index c9a20b8..e1a7caf 100644 --- a/lldb/test/API/commands/target/dump/TestTargetDumpTypeSystem.py +++ b/lldb/test/API/commands/target/dump/TestTargetDumpTypeSystem.py @@ -5,8 +5,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_dumping(self): """ Tests dumping an empty and non-empty scratch AST. """ diff --git a/lldb/test/API/commands/target/modules/search-paths/insert/TestTargetModulesSearchpathsInsert.py b/lldb/test/API/commands/target/modules/search-paths/insert/TestTargetModulesSearchpathsInsert.py index 169b32b..a68da5f 100644 --- a/lldb/test/API/commands/target/modules/search-paths/insert/TestTargetModulesSearchpathsInsert.py +++ b/lldb/test/API/commands/target/modules/search-paths/insert/TestTargetModulesSearchpathsInsert.py @@ -5,8 +5,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_invalid_arg(self): self.build() diff --git a/lldb/test/API/commands/target/select/TestTargetSelect.py b/lldb/test/API/commands/target/select/TestTargetSelect.py index e53745e..4336e501 100644 --- a/lldb/test/API/commands/target/select/TestTargetSelect.py +++ b/lldb/test/API/commands/target/select/TestTargetSelect.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_invalid_arg(self): self.expect("target select -1", error=True, diff --git a/lldb/test/API/commands/target/stop-hook/delete/TestTargetStopHookDelete.py b/lldb/test/API/commands/target/stop-hook/delete/TestTargetStopHookDelete.py index 35b718b..48f81b6 100644 --- a/lldb/test/API/commands/target/stop-hook/delete/TestTargetStopHookDelete.py +++ b/lldb/test/API/commands/target/stop-hook/delete/TestTargetStopHookDelete.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_invalid_arg(self): self.expect("target stop-hook delete -1", error=True, diff --git a/lldb/test/API/commands/target/stop-hook/disable/TestTargetStopHookDisable.py b/lldb/test/API/commands/target/stop-hook/disable/TestTargetStopHookDisable.py index 5e665a8..2cb8963 100644 --- a/lldb/test/API/commands/target/stop-hook/disable/TestTargetStopHookDisable.py +++ b/lldb/test/API/commands/target/stop-hook/disable/TestTargetStopHookDisable.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_invalid_arg(self): self.expect("target stop-hook disable -1", error=True, diff --git a/lldb/test/API/commands/target/stop-hook/enable/TestTargetStopHookEnable.py b/lldb/test/API/commands/target/stop-hook/enable/TestTargetStopHookEnable.py index 5c1dcf4..571040e 100644 --- a/lldb/test/API/commands/target/stop-hook/enable/TestTargetStopHookEnable.py +++ b/lldb/test/API/commands/target/stop-hook/enable/TestTargetStopHookEnable.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_invalid_arg(self): self.expect("target stop-hook enable -1", error=True, diff --git a/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py b/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py index 017aee9..a2c9397 100644 --- a/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py +++ b/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py @@ -11,8 +11,6 @@ from lldbsuite.test.decorators import * class TestStopHooks(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/commands/target/stop-hooks/TestStopHooks.py b/lldb/test/API/commands/target/stop-hooks/TestStopHooks.py index b9a6e53..38bb174 100644 --- a/lldb/test/API/commands/target/stop-hooks/TestStopHooks.py +++ b/lldb/test/API/commands/target/stop-hooks/TestStopHooks.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class TestStopHooks(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py b/lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py index b1a1c4f..a9546da 100644 --- a/lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py +++ b/lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestThreadBacktracePage(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_thread_backtrace_one_thread(self): diff --git a/lldb/test/API/commands/thread/select/TestThreadSelect.py b/lldb/test/API/commands/thread/select/TestThreadSelect.py index 4650fae..ff86826 100644 --- a/lldb/test/API/commands/thread/select/TestThreadSelect.py +++ b/lldb/test/API/commands/thread/select/TestThreadSelect.py @@ -5,8 +5,6 @@ from lldbsuite.test.decorators import * class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_invalid_arg(self): self.build() diff --git a/lldb/test/API/commands/trace/TestTraceDumpInfo.py b/lldb/test/API/commands/trace/TestTraceDumpInfo.py index efe5fb5..f54d5e3 100644 --- a/lldb/test/API/commands/trace/TestTraceDumpInfo.py +++ b/lldb/test/API/commands/trace/TestTraceDumpInfo.py @@ -5,7 +5,6 @@ from lldbsuite.test import lldbutil from lldbsuite.test.decorators import * class TestTraceDumpInfo(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) def testErrorMessages(self): # We first check the output when there are no targets diff --git a/lldb/test/API/commands/trace/TestTraceDumpInstructions.py b/lldb/test/API/commands/trace/TestTraceDumpInstructions.py index bbcee69..7bf3c10 100644 --- a/lldb/test/API/commands/trace/TestTraceDumpInstructions.py +++ b/lldb/test/API/commands/trace/TestTraceDumpInstructions.py @@ -6,8 +6,6 @@ from lldbsuite.test.decorators import * class TestTraceDumpInstructions(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def testErrorMessages(self): # We first check the output when there are no targets self.expect("thread trace dump instructions", diff --git a/lldb/test/API/commands/trace/TestTraceEvents.py b/lldb/test/API/commands/trace/TestTraceEvents.py index d8c8e6e..472805f 100644 --- a/lldb/test/API/commands/trace/TestTraceEvents.py +++ b/lldb/test/API/commands/trace/TestTraceEvents.py @@ -6,8 +6,6 @@ from lldbsuite.test.decorators import * class TestTraceEvents(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @testSBAPIAndCommands def testPauseEvents(self): ''' diff --git a/lldb/test/API/commands/trace/TestTraceExport.py b/lldb/test/API/commands/trace/TestTraceExport.py index 7126424..5fdb48e 100644 --- a/lldb/test/API/commands/trace/TestTraceExport.py +++ b/lldb/test/API/commands/trace/TestTraceExport.py @@ -9,8 +9,6 @@ import os class TestTraceExport(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def testErrorMessages(self): ctf_test_file = self.getBuildArtifact("ctf-test.json") # We first check the output when there are no targets diff --git a/lldb/test/API/commands/trace/TestTraceLoad.py b/lldb/test/API/commands/trace/TestTraceLoad.py index 3dfcc88..e574698 100644 --- a/lldb/test/API/commands/trace/TestTraceLoad.py +++ b/lldb/test/API/commands/trace/TestTraceLoad.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil from lldbsuite.test.decorators import * class TestTraceLoad(TraceIntelPTTestCaseBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def testLoadMultiCoreTrace(self): diff --git a/lldb/test/API/commands/trace/TestTraceSave.py b/lldb/test/API/commands/trace/TestTraceSave.py index f7752ab..b5212ef 100644 --- a/lldb/test/API/commands/trace/TestTraceSave.py +++ b/lldb/test/API/commands/trace/TestTraceSave.py @@ -11,7 +11,6 @@ def find(predicate, seq): return item class TestTraceSave(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) def testErrorMessages(self): # We first check the output when there are no targets diff --git a/lldb/test/API/commands/trace/TestTraceSchema.py b/lldb/test/API/commands/trace/TestTraceSchema.py index 368fd6a..b26b8f5 100644 --- a/lldb/test/API/commands/trace/TestTraceSchema.py +++ b/lldb/test/API/commands/trace/TestTraceSchema.py @@ -6,8 +6,6 @@ from lldbsuite.test.decorators import * class TestTraceLoad(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def testSchema(self): self.expect("trace schema intel-pt", substrs=["triple", "threads", "iptTrace"]) diff --git a/lldb/test/API/commands/trace/TestTraceStartStop.py b/lldb/test/API/commands/trace/TestTraceStartStop.py index f4b5c09..0f7c924 100644 --- a/lldb/test/API/commands/trace/TestTraceStartStop.py +++ b/lldb/test/API/commands/trace/TestTraceStartStop.py @@ -6,8 +6,6 @@ from lldbsuite.test.decorators import * class TestTraceStartStop(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def expectGenericHelpMessageForStartCommand(self): self.expect("help thread trace start", substrs=["Syntax: thread trace start []"]) diff --git a/lldb/test/API/commands/trace/TestTraceTSC.py b/lldb/test/API/commands/trace/TestTraceTSC.py index 4aefe0f..a50363e 100644 --- a/lldb/test/API/commands/trace/TestTraceTSC.py +++ b/lldb/test/API/commands/trace/TestTraceTSC.py @@ -6,8 +6,6 @@ from lldbsuite.test.decorators import * class TestTraceTimestampCounters(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @testSBAPIAndCommands @skipIf(oslist=no_match(['linux']), archs=no_match(['i386', 'x86_64'])) def testTscPerThread(self): diff --git a/lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py b/lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py index 7c90c9a..3276a6e 100644 --- a/lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py +++ b/lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py @@ -7,8 +7,6 @@ from lldbsuite.test.decorators import * class TestTraceStartStopMultipleThreads(TraceIntelPTTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(oslist=no_match(['linux']), archs=no_match(['i386', 'x86_64'])) @testSBAPIAndCommands def testStartMultipleLiveThreads(self): diff --git a/lldb/test/API/commands/version/TestVersion.py b/lldb/test/API/commands/version/TestVersion.py index 48b46f6..c6e91e3 100644 --- a/lldb/test/API/commands/version/TestVersion.py +++ b/lldb/test/API/commands/version/TestVersion.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * class VersionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_version(self): # Should work even when people patch the output, diff --git a/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py b/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py index 2859df3..660b7a3 100644 --- a/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py +++ b/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class HelloWatchLocationTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py b/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py index d51565b..ac1a6dd 100644 --- a/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py +++ b/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class HelloWatchpointTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py b/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py index 843a2ac..edb7a6b 100644 --- a/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py +++ b/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class WatchpointSlotsTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py b/lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py index 86f896d..9267637 100644 --- a/lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py +++ b/lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class MultipleHitsTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIf(bugnumber="llvm.org/pr30758", oslist=["linux"], archs=["arm", "aarch64", "powerpc64le"]) diff --git a/lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py b/lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py index 996353d..e66a1f3 100644 --- a/lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py +++ b/lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class WatchpointForMultipleThreadsTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True main_spec = lldb.SBFileSpec("main.cpp", False) diff --git a/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py b/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py index 14871a9..775d80d 100644 --- a/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py +++ b/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestStepOverWatchpoint(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @expectedFailureAll( diff --git a/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py b/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py index eee8913..fadd3f2 100644 --- a/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py +++ b/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py @@ -12,8 +12,6 @@ from lldbsuite.test.decorators import * class WatchedVariableHitWhenInScopeTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # This test depends on not tracking watchpoint expression hits if we have diff --git a/lldb/test/API/commands/watchpoints/watch_tagged_addr/TestWatchTaggedAddress.py b/lldb/test/API/commands/watchpoints/watch_tagged_addr/TestWatchTaggedAddress.py index 34fe68a..a43dde2 100644 --- a/lldb/test/API/commands/watchpoints/watch_tagged_addr/TestWatchTaggedAddress.py +++ b/lldb/test/API/commands/watchpoints/watch_tagged_addr/TestWatchTaggedAddress.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestWatchTaggedAddresses(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py index 50f7881..e9ea7d9 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class WatchpointCommandsTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py index 432bd0d..584ed49 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class WatchpointLLDBCommandTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py index c99c44d..b6e11d6 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class WatchpointPythonCommandTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py index f53da3a..b3b0e10 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class WatchpointConditionCmdTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py index f290c58..a940e00 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py @@ -4,7 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestWatchpointCount(TestBase): - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py b/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py index 9ba3cf3..e582d54 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py @@ -9,7 +9,6 @@ from lldbsuite.test import lldbplatform, lldbplatformutil class TestWatchpointSetEnable(TestBase): - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_disable_works (self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py b/lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py index 4698716..1d6266a 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestWatchpointEvents (TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py b/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py index 81b44c0..8c4c0bf 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestValueOfVectorVariableTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_value_of_vector_variable_using_watchpoint_set(self): diff --git a/lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py b/lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py index 23c4b30..aceb8f2 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class WatchLocationUsingWatchpointSetTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # on arm64 targets, lldb has incorrect hit-count / ignore-counts diff --git a/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py b/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py index e6634f1..7856222 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class WatchpointSizeTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/driver/batch_mode/TestBatchMode.py b/lldb/test/API/driver/batch_mode/TestBatchMode.py index d9d75f7..6626de2 100644 --- a/lldb/test/API/driver/batch_mode/TestBatchMode.py +++ b/lldb/test/API/driver/batch_mode/TestBatchMode.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class DriverBatchModeTest(PExpectTest): - - mydir = TestBase.compute_mydir(__file__) source = 'main.c' @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot diff --git a/lldb/test/API/driver/job_control/TestJobControl.py b/lldb/test/API/driver/job_control/TestJobControl.py index 9469382..de50c20 100644 --- a/lldb/test/API/driver/job_control/TestJobControl.py +++ b/lldb/test/API/driver/job_control/TestJobControl.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class JobControlTest(PExpectTest): - - mydir = TestBase.compute_mydir(__file__) @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) def test_job_control(self): diff --git a/lldb/test/API/functionalities/abbreviation/TestAbbreviations.py b/lldb/test/API/functionalities/abbreviation/TestAbbreviations.py index 4a129bb..7653380 100644 --- a/lldb/test/API/functionalities/abbreviation/TestAbbreviations.py +++ b/lldb/test/API/functionalities/abbreviation/TestAbbreviations.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class AbbreviationsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_command_abbreviations_and_aliases(self): command_interpreter = self.dbg.GetCommandInterpreter() diff --git a/lldb/test/API/functionalities/abbreviation/TestCommonShortSpellings.py b/lldb/test/API/functionalities/abbreviation/TestCommonShortSpellings.py index 9e4b3bb..c89ba29 100644 --- a/lldb/test/API/functionalities/abbreviation/TestCommonShortSpellings.py +++ b/lldb/test/API/functionalities/abbreviation/TestCommonShortSpellings.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class CommonShortSpellingsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_abbrevs2(self): command_interpreter = self.dbg.GetCommandInterpreter() diff --git a/lldb/test/API/functionalities/archives/TestBSDArchives.py b/lldb/test/API/functionalities/archives/TestBSDArchives.py index bb4b469..c79e618 100644 --- a/lldb/test/API/functionalities/archives/TestBSDArchives.py +++ b/lldb/test/API/functionalities/archives/TestBSDArchives.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class BSDArchivesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/asan/TestMemoryHistory.py b/lldb/test/API/functionalities/asan/TestMemoryHistory.py index 185b3ec..a7ddd38 100644 --- a/lldb/test/API/functionalities/asan/TestMemoryHistory.py +++ b/lldb/test/API/functionalities/asan/TestMemoryHistory.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class AsanTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfFreeBSD # llvm.org/pr21136 runtimes not yet available by default @expectedFailureNetBSD @skipUnlessAddressSanitizer diff --git a/lldb/test/API/functionalities/asan/TestReportData.py b/lldb/test/API/functionalities/asan/TestReportData.py index de51fb1..2ffeb1d 100644 --- a/lldb/test/API/functionalities/asan/TestReportData.py +++ b/lldb/test/API/functionalities/asan/TestReportData.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class AsanTestReportDataCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfFreeBSD # llvm.org/pr21136 runtimes not yet available by default @expectedFailureNetBSD @skipUnlessAddressSanitizer diff --git a/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py b/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py index 36570fc..018892f 100644 --- a/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py +++ b/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py @@ -14,8 +14,6 @@ class AvoidsFdLeakTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - # The check for descriptor leakage needs to be implemented differently # here. @skipIfWindows diff --git a/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py b/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py index fdef89c..c2367d7 100644 --- a/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py +++ b/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class BackticksWithNoTargetTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_backticks_no_target(self): """A simple test of backticks without a target.""" diff --git a/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py b/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py index 7684267..e2369be 100644 --- a/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class AddressBreakpointTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_address_breakpoints(self): diff --git a/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py b/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py index cd33ba8..49ffbd3 100644 --- a/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class BadAddressBreakpointTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_bad_address_breakpoints(self): diff --git a/lldb/test/API/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py b/lldb/test/API/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py index 62807b8..5100a9b 100644 --- a/lldb/test/API/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py +++ b/lldb/test/API/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class BreakpointAutoContinue(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_breakpoint_auto_continue(self): diff --git a/lldb/test/API/functionalities/breakpoint/break_in_loaded_dylib/TestBreakInLoadedDylib.py b/lldb/test/API/functionalities/breakpoint/break_in_loaded_dylib/TestBreakInLoadedDylib.py index e203511..336b410 100644 --- a/lldb/test/API/functionalities/breakpoint/break_in_loaded_dylib/TestBreakInLoadedDylib.py +++ b/lldb/test/API/functionalities/breakpoint/break_in_loaded_dylib/TestBreakInLoadedDylib.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestBreakInLoadedDylib(TestBase): """ Test that we can set a source regex breakpoint that will take in a dlopened library that hasn't loaded when we set the breakpoint.""" - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_by_file_colon_line/TestBreakpointByFileColonLine.py b/lldb/test/API/functionalities/breakpoint/breakpoint_by_file_colon_line/TestBreakpointByFileColonLine.py index fa32a4d..46a11e0 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_by_file_colon_line/TestBreakpointByFileColonLine.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_by_file_colon_line/TestBreakpointByFileColonLine.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class BreakpointByLineAndColumnTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def testBreakpointSpecWithLine(self): self.build() target = self.createTestTarget() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py index a419e5d..576a476 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class BreakpointByLineAndColumnTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - ## Skip gcc version less 7.1 since it doesn't support -gcolumn-info @skipIf(compiler="gcc", compiler_version=['<', '7.1']) def testBreakpointByLineAndColumn(self): diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py b/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py index d504c98..c35691b 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class BreakpointCallbackCommandSource(PExpectTest): - - mydir = TestBase.compute_mydir(__file__) file_to_source = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'source.lldb') # PExpect uses many timeouts internally and doesn't play well diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py index 7a47062..5bd7b43 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py @@ -14,7 +14,6 @@ import side_effect class BreakpointCommandTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528") def test_breakpoint_command_sequence(self): diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py index f9c9554..fa9197b 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py @@ -13,8 +13,6 @@ import side_effect class PythonBreakpointCommandSettingTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @add_test_categories(['pyapi']) diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py index ed46265..aee32e8 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class RegexpBreakCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test _regexp-break command.""" self.build() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py b/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py index 00da4a8..59bf391 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class BreakpointConditionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_breakpoint_condition_and_run_command(self): """Exercise breakpoint condition with 'breakpoint modify -c id'.""" self.build() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py index 3c635b2..3c8dd11 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py @@ -13,8 +13,6 @@ class BreakpointHitCountTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(['pyapi']) def test_breakpoint_location_hit_count(self): """Use Python APIs to check breakpoint hit count.""" diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py b/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py index 8924db0..cfe3d44 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class BreakpointIDTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py b/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py index b217538..a61f5c3 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class BreakpointIgnoreCountTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows # This test will hang on windows llvm.org/pr21753 def test_with_run_command(self): """Exercise breakpoint ignore count with 'breakpoint set -i '.""" diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py b/lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py index fa0a20f..b95ea83 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class AvoidBreakpointInDelaySlotAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(archs=no_match(re.compile('mips*'))) def test(self): self.build() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py b/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py index 87b1b93..8815a37 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestBreakpointLanguage(TestBase): - mydir = TestBase.compute_mydir(__file__) - def check_location_file(self, bp, loc, test_name): bp_loc = bp.GetLocationAtIndex(loc) addr = bp_loc.GetAddress() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py b/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py index 1fc96b3..85c55a4 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class BreakpointLocationsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528") def test_enable(self): """Test breakpoint enable/disable for a breakpoint ID with multiple locations.""" diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py b/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py index aee8d05..03ede5a 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class BreakpointNames(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @add_test_categories(['pyapi']) diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_on_overload/TestBreakOnOverload.py b/lldb/test/API/functionalities/breakpoint/breakpoint_on_overload/TestBreakOnOverload.py index 30124f8..8650712 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_on_overload/TestBreakOnOverload.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_on_overload/TestBreakOnOverload.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestBreakpointOnOverload(TestBase): - mydir = TestBase.compute_mydir(__file__) - def check_breakpoint(self, name): bkpt = self.target.BreakpointCreateByName(name) self.assertEqual(bkpt.num_locations, 1, "Got one location") diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py b/lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py index 0419b4d..bb4f33c 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class BreakpointOptionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test breakpoint command for different options.""" self.build() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py b/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py index aafa43f..36eeb34 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbtest import * class BreakpointSetRestart(TestBase): - - mydir = TestBase.compute_mydir(__file__) BREAKPOINT_TEXT = 'Set a breakpoint here' @skipIfNetBSD diff --git a/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py b/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py index a5605ae..aada4d4 100644 --- a/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py +++ b/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py @@ -17,8 +17,6 @@ _COMP_DIR_SYM_LINK_PROP = 'symbols.debug-info-symlink-paths' class CompDirSymLinkTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py b/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py index 0bab92f..6476aae 100644 --- a/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ConsecutiveBreakpointsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def prepare_test(self): self.build() diff --git a/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py b/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py index 8edd852..d4da4dd 100644 --- a/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py +++ b/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TestCPPBreakpointLocations(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764") def test(self): self.build() diff --git a/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py b/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py index a695301..45afa13 100644 --- a/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestCPPExceptionBreakpoint (TestBase): - - mydir = TestBase.compute_mydir(__file__) my_var = 10 @add_test_categories(['pyapi']) diff --git a/lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py b/lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py index 9c02347..3d8dcc9 100644 --- a/lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py +++ b/lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class DebugBreakTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(archs=no_match(["i386", "i686", "x86_64"])) @no_debug_info_test def test_asm_int_3(self): diff --git a/lldb/test/API/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py b/lldb/test/API/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py index e3f293a4..feb9bc9 100644 --- a/lldb/test/API/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py +++ b/lldb/test/API/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class BreakpointInDummyTarget (TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test breakpoint set before we have a target. """ self.build() diff --git a/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py b/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py index d5b8d34..a85f8f9 100644 --- a/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py +++ b/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestBreakpointInGlobalConstructors(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py index 01bf336..c39f486 100644 --- a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py +++ b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py @@ -12,7 +12,6 @@ from lldbsuite.test import lldbutil from functionalities.breakpoint.hardware_breakpoints.base import * class HardwareBreakpointMultiThreadTestCase(HardwareBreakpointTestBase): - mydir = TestBase.compute_mydir(__file__) def does_not_support_hw_breakpoints(self): return not super().supports_hw_breakpoints() diff --git a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py index b27b53b..246d7d8 100644 --- a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py @@ -11,7 +11,6 @@ from lldbsuite.test import lldbutil from functionalities.breakpoint.hardware_breakpoints.base import * class BreakpointLocationsTestCase(HardwareBreakpointTestBase): - mydir = TestBase.compute_mydir(__file__) @skipIf(oslist=["linux"], archs=["arm"]) def supports_hw_breakpoints(self): diff --git a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/write_memory_with_hw_breakpoint/TestWriteMemoryWithHWBreakpoint.py b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/write_memory_with_hw_breakpoint/TestWriteMemoryWithHWBreakpoint.py index 842519b..af2d422 100644 --- a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/write_memory_with_hw_breakpoint/TestWriteMemoryWithHWBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/write_memory_with_hw_breakpoint/TestWriteMemoryWithHWBreakpoint.py @@ -12,7 +12,6 @@ from lldbsuite.test import lldbutil from functionalities.breakpoint.hardware_breakpoints.base import * class WriteMemoryWithHWBreakpoint(HardwareBreakpointTestBase): - mydir = TestBase.compute_mydir(__file__) def does_not_support_hw_breakpoints(self): return not super().supports_hw_breakpoints() diff --git a/lldb/test/API/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py b/lldb/test/API/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py index 506a9d2..33a4fbc 100644 --- a/lldb/test/API/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py @@ -13,8 +13,6 @@ import lldbsuite.test.lldbutil as lldbutil class InlinedBreakpointsTestCase(TestBase): """Bug fixed: rdar://problem/8464339""" - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test 'b basic_types.cpp:176' does break (where int.cpp includes basic_type.cpp).""" self.build() diff --git a/lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py b/lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py index 05f77cf..16d3f1c 100644 --- a/lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py +++ b/lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py @@ -8,8 +8,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestMoveNearest(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py b/lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py index 3a6d663..fd693e7 100644 --- a/lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class TestObjCBreakpoints(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["objc"]) def test_break(self): """Test setting Objective-C specific breakpoints (DWARF in .o files).""" diff --git a/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py b/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py index 533054d..8a143bd 100644 --- a/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py +++ b/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class TestScriptedResolver(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528") diff --git a/lldb/test/API/functionalities/breakpoint/serialize/TestBreakpointSerialization.py b/lldb/test/API/functionalities/breakpoint/serialize/TestBreakpointSerialization.py index 3493d40..8b09cbc 100644 --- a/lldb/test/API/functionalities/breakpoint/serialize/TestBreakpointSerialization.py +++ b/lldb/test/API/functionalities/breakpoint/serialize/TestBreakpointSerialization.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class BreakpointSerialization(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @add_test_categories(['pyapi']) diff --git a/lldb/test/API/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py b/lldb/test/API/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py index 3423c6d..7880d40 100644 --- a/lldb/test/API/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestSourceRegexBreakpoints(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_location(self): self.build() self.source_regex_locations() diff --git a/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py b/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py index 90da4c0..0953f0b 100644 --- a/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class StepOverBreakpointsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py index 90e2ff2..f91049e 100644 --- a/lldb/test/API/functionalities/completion/TestCompletion.py +++ b/lldb/test/API/functionalities/completion/TestCompletion.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class CommandLineCompletionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @classmethod diff --git a/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py b/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py index cb3d32e..9033d60 100644 --- a/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py +++ b/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py @@ -18,8 +18,6 @@ from lldbsuite.test import lldbutil class ConditionalBreakTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(['pyapi']) def test_with_python(self): """Exercise some thread and frame APIs to break if c() is called by a().""" diff --git a/lldb/test/API/functionalities/data-formatter/array_typedef/TestArrayTypedef.py b/lldb/test/API/functionalities/data-formatter/array_typedef/TestArrayTypedef.py index 1f2914a..9f956f3 100644 --- a/lldb/test/API/functionalities/data-formatter/array_typedef/TestArrayTypedef.py +++ b/lldb/test/API/functionalities/data-formatter/array_typedef/TestArrayTypedef.py @@ -4,8 +4,6 @@ import lldbsuite.test.lldbutil as lldbutil class ArrayTypedefTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_array_typedef(self): diff --git a/lldb/test/API/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py b/lldb/test/API/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py index 95b3b5c..53f339f 100644 --- a/lldb/test/API/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py +++ b/lldb/test/API/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DataFormatterBoolRefPtr(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin def test_boolrefptr_with_run_command(self): """Test the formatters we use for BOOL& and BOOL* in Objective-C.""" diff --git a/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py b/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py index ee5c772..10b626b 100644 --- a/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py +++ b/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def getFormatted(self, format, expr): """ Evaluates the expression and formats the result with the given format. diff --git a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py index d7d5579..63a63a4 100644 --- a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py +++ b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CompactVectorsFormattingTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/cstring-utf8-summary/TestCstringUnicode.py b/lldb/test/API/functionalities/data-formatter/cstring-utf8-summary/TestCstringUnicode.py index c05e9e9..e60e672 100644 --- a/lldb/test/API/functionalities/data-formatter/cstring-utf8-summary/TestCstringUnicode.py +++ b/lldb/test/API/functionalities/data-formatter/cstring-utf8-summary/TestCstringUnicode.py @@ -6,8 +6,6 @@ import lldbsuite.test.lldbutil as lldbutil class CstringUnicodeTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_cstring_unicode(self): diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py b/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py index f089038..7d5d597 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class AdvDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py b/lldb/test/API/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py index 881913b..cd049bc 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py @@ -6,8 +6,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestDataFormatterCaching(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """ Test that hardcoded summary formatter matches aren't improperly cached. diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py b/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py index 07f7a53..6a4c50a 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class CategoriesDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py b/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py index e6b1d43..d4d6d24 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CppDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py b/lldb/test/API/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py index 3df6027..2ddb11a 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DataFormatterDisablingTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py b/lldb/test/API/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py index ca57442..5c8500e 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class EnumFormatTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py b/lldb/test/API/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py index fe9a17e..755535fa 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class GlobalsDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py b/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py index 4e4c196..f491077 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class NamedSummariesDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py index db7f823..a1f393c 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def appkit_tester_impl(self, commands, use_constant_classes): if use_constant_classes: self.build() diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/TestDataFormatterCMTime.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/TestDataFormatterCMTime.py index d08ab16..0d1de62 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/TestDataFormatterCMTime.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/TestDataFormatterCMTime.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class CMTimeDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin def test_nsindexpath_with_run_command(self): """Test formatters for CMTime.""" diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py index 12461ab..a404ad1 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class NSIndexPathDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def appkit_tester_impl(self, commands): self.build() self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py index 5b323f5..64ba72c 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class NSStringDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def appkit_tester_impl(self, commands): self.build() self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py b/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py index 4611e16..27daef8 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DataFormatterOneIsSingularTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin def test_one_is_singular_with_run_command(self): """Test that 1 item is not as reported as 1 items.""" diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py b/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py index 84fcc42..e1f10e4 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class PtrToArrayDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test that LLDB handles the clang typeclass Paren correctly.""" self.build() diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py b/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py index c6805e4..e2cde96 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class PythonSynthDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test data formatter commands.""" self.build() diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py b/lldb/test/API/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py index 14387cd..35b619a 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class ScriptDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test data formatter commands.""" self.build() diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py b/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py index cafd51c..809a6ed 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class SkipSummaryDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24462, Data formatters have problems on Windows") diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py b/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py index 13953e4..77757e0 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SmartArrayDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test data formatter commands.""" self.build() diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py index 94efbc5..9cf0aa4 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py @@ -17,8 +17,6 @@ POINTER = "POINTER" class GenericBitsetDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) primes = [1]*1000 diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py index a995d84..9aabd87f 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py @@ -8,8 +8,6 @@ USE_LIBCPP = "USE_LIBCPP" class GenericDequeDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def findVariable(self, name): var = self.frame().FindVariable(name) self.assertTrue(var.IsValid()) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py index 8870c4c..8a677aa 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py @@ -14,8 +14,6 @@ USE_LIBCPP = "USE_LIBCPP" class TestDataFormatterGenericForwardList(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.line = line_number('main.cpp', '// break here') diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py index 74269ef..ef909e8 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py @@ -14,8 +14,6 @@ USE_LIBCPP = "USE_LIBCPP" class GenericListDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py index 9786b6f..0577e02 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py @@ -14,8 +14,6 @@ USE_LIBSTDCPP = "USE_LIBSTDCPP" USE_LIBCPP = "USE_LIBCPP" class GenericListDataFormatterTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def do_test_with_run_command(self, stdlib_type): diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py index 6a6ad26..c0a21de 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py @@ -15,8 +15,6 @@ USE_LIBCPP = "USE_LIBCPP" class GenericMultiMapDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.namespace = 'std' diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py index 9b9a324..55712a8 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py @@ -14,8 +14,6 @@ USE_LIBCPP = "USE_LIBCPP" class GenericMultiSetDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.namespace = 'std' diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py index b95abf2..e82d4e0 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py @@ -8,8 +8,6 @@ USE_LIBCPP = "USE_LIBCPP" class GenericOptionalDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def do_test_with_run_command(self, stdlib_type): """Test that that file and class static variables display correctly.""" # This is the function to remove the custom formats in order to have a diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py index 5c8cabc..280670d 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py @@ -14,8 +14,6 @@ USE_LIBCPP = "USE_LIBCPP" class GenericSetDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.namespace = 'std' diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py index 6468366..6bb1441 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py @@ -6,7 +6,6 @@ USE_LIBSTDCPP = "USE_LIBSTDCPP" USE_LIBCPP = "USE_LIBCPP" class GenericUnorderedDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py index 78394c9..89a2b5f 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class LibCxxAtomicTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def get_variable(self, name): var = self.frame().FindVariable(name) var.SetPreferDynamicValue(lldb.eDynamicCanRunTarget) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py index c99a4b0..ecd808d 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LibCxxFunctionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # Run frame var for a variable twice. Verify we do not hit the cache # the first time but do the second time. def run_frame_var_check_cache_use(self, variable, result_to_match, skip_find_function=False): diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py index 16b6421..1d6bab5 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class InitializerListTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) def test(self): """Test that that file and class static variables display correctly.""" diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py index 9081edc..55db9c2 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LibcxxIteratorDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py index 87173c9..e0111ea 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LibcxxMapDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) ns = 'ndk' if lldbplatformutil.target_is_android() else '' diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py index e2b882e..1d67db8 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestDataFormatterLibcxxQueue(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.namespace = 'std' diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py index 8e77d53..663058e 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) def test_shared_ptr_variables(self): """Test `frame variable` output for `std::shared_ptr` types.""" diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/TestDataFormatterLibcxxSpan.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/TestDataFormatterLibcxxSpan.py index 207e745..3236544 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/TestDataFormatterLibcxxSpan.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/TestDataFormatterLibcxxSpan.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class LibcxxSpanDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def findVariable(self, name): var = self.frame().FindVariable(name) self.assertTrue(var.IsValid()) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py index 168297c..07b1aff 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class LibcxxStringDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string_view/TestDataFormatterLibcxxStringView.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string_view/TestDataFormatterLibcxxStringView.py index 955743c..db82e7c 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string_view/TestDataFormatterLibcxxStringView.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string_view/TestDataFormatterLibcxxStringView.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class LibcxxStringViewDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py index 171f9a8..62de084 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestDataFormatterLibcxxTuple(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.line = line_number('main.cpp', '// break here') diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/TestDataFormatterLibcxxUniquePtr.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/TestDataFormatterLibcxxUniquePtr.py index 825513a..70efdd8 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/TestDataFormatterLibcxxUniquePtr.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/TestDataFormatterLibcxxUniquePtr.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) def test_unique_ptr_variables(self): """Test `frame variable` output for `std::unique_ptr` types.""" diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py index 181dca7..27724b2 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class LibcxxVariantDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["libc++"]) ## Clang 7.0 is the oldest Clang that can reliably parse newer libc++ versions ## with -std=c++17. diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py index 67e0629..309c693 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LibcxxVBoolDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py index 45dffda..f478421 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LibcxxVectorDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def check_numbers(self, var_name): self.expect("frame variable " + var_name, substrs=[var_name + ' = size=7', diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py index cac5411..fc7ec96 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class StdIteratorDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py index e3e2e1b..abd1043 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class StdMapDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py index 6876dee..3d37af3 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class StdSmartPtrDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) @add_test_categories(["libstdcxx"]) @expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc") diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py index 1325f49..6ce7235 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class StdStringDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py index 7d1ac7c..15a9f1a 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class StdTupleDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) @add_test_categories(["libstdcxx"]) @expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc") diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py index a91d9f7..474a992 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class StdUniquePtrDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) @add_test_categories(["libstdcxx"]) @expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc") diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py index 5a767b3..b7d112b 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class StdVBoolDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py index 8d46a08..d40a96a 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class StdVectorDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py b/lldb/test/API/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py index 51d42fc..7a2ea73 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class SynthDataFormatterTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py b/lldb/test/API/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py index be40cd7..c7bed39 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DataFormatterSynthTypeTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py b/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py index 0deaf79..e479529 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class DataFormatterSynthValueTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/format-propagation/TestFormatPropagation.py b/lldb/test/API/functionalities/data-formatter/format-propagation/TestFormatPropagation.py index 0537c5c..9e77f51 100644 --- a/lldb/test/API/functionalities/data-formatter/format-propagation/TestFormatPropagation.py +++ b/lldb/test/API/functionalities/data-formatter/format-propagation/TestFormatPropagation.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class FormatPropagationTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py b/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py index a6a61f1..21c3089 100644 --- a/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py +++ b/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class FrameFormatSmallStructTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py b/lldb/test/API/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py index 80a02d0..d7fd5a4 100644 --- a/lldb/test/API/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py +++ b/lldb/test/API/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class DataFormatterHexCapsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py b/lldb/test/API/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py index 62bd058..d2b1333 100644 --- a/lldb/test/API/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py +++ b/lldb/test/API/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class LanguageCategoryUpdatesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py b/lldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py index a9b96bb..15ad88f 100644 --- a/lldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py +++ b/lldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class NSArraySyntheticTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py index eb54f53..fc6755f 100644 --- a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py +++ b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class NSDictionarySyntheticTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py b/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py index 219ed2c..e34b25c 100644 --- a/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py +++ b/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class NSSetSyntheticTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py b/lldb/test/API/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py index c418008..ccfc302 100644 --- a/lldb/test/API/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py +++ b/lldb/test/API/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DataFormatterOSTypeTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/parray/TestPrintArray.py b/lldb/test/API/functionalities/data-formatter/parray/TestPrintArray.py index c306264..04ad8e2 100644 --- a/lldb/test/API/functionalities/data-formatter/parray/TestPrintArray.py +++ b/lldb/test/API/functionalities/data-formatter/parray/TestPrintArray.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class PrintArrayTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_print_array(self): """Test that expr -Z works""" self.build() diff --git a/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py b/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py index 3fcb279..3f1190a 100644 --- a/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py +++ b/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class PrintObjectArrayTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin def test_print_array(self): """Test that expr -O -Z works""" diff --git a/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py b/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py index b0f7002..7c0eafb 100644 --- a/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py +++ b/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class PtrRef2TypedefTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py b/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py index 22ce744..889ac6d 100644 --- a/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py +++ b/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class PyObjectSynthProviderTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_print_array(self): diff --git a/lldb/test/API/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py b/lldb/test/API/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py index 1dc37c6..4ffb595 100644 --- a/lldb/test/API/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py +++ b/lldb/test/API/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class DataFormatterRefPtrRecursionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py b/lldb/test/API/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py index 88ec1ff..38cc051 100644 --- a/lldb/test/API/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py +++ b/lldb/test/API/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py @@ -12,7 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class Radar9974002DataFormatterTestCase(TestBase): # test for rdar://problem/9974002 () - mydir = TestBase.compute_mydir(__file__) def setUp(self): # Call super's setUp(). diff --git a/lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py b/lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py index c1d308b..06d767d 100644 --- a/lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py +++ b/lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SyntheticCappingTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py b/lldb/test/API/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py index 307a269..9743ce5 100644 --- a/lldb/test/API/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py +++ b/lldb/test/API/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SyntheticFilterRecomputingTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py b/lldb/test/API/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py index a47d914..f97a4ae 100644 --- a/lldb/test/API/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py +++ b/lldb/test/API/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TypeSummaryListArgumentTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_type_summary_list_with_arg(self): """Test that the 'type summary list' command handles command line arguments properly""" diff --git a/lldb/test/API/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py b/lldb/test/API/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py index 7d70ad3..d361498 100644 --- a/lldb/test/API/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py +++ b/lldb/test/API/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TypeSummaryListScriptTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_typesummarylist_script(self): """Test data formatter commands.""" self.build() diff --git a/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py b/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py index ad4db01..adcf898 100644 --- a/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py +++ b/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class UserFormatVSSummaryTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py b/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py index c1ec60e..4a6b479 100644 --- a/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py +++ b/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class VarInAggregateMisuseTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py b/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py index e5b1945..b23a29b 100644 --- a/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py +++ b/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DataFormatterVarScriptFormatting(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py b/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py index ab3499e..2eb34a8 100644 --- a/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py +++ b/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class VectorTypesFormattingTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/dead-strip/TestDeadStrip.py b/lldb/test/API/functionalities/dead-strip/TestDeadStrip.py index fc3e36e..f28cd95 100644 --- a/lldb/test/API/functionalities/dead-strip/TestDeadStrip.py +++ b/lldb/test/API/functionalities/dead-strip/TestDeadStrip.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DeadStripTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr44429") def test(self): """Test breakpoint works correctly with dead-code stripping.""" diff --git a/lldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py b/lldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py index 0de7645..248ea14 100644 --- a/lldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py +++ b/lldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestDeletedExecutable(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfWindows # cannot delete a running executable diff --git a/lldb/test/API/functionalities/diagnostic_reporting/TestDiagnosticReporting.py b/lldb/test/API/functionalities/diagnostic_reporting/TestDiagnosticReporting.py index 0e0bea1..17cefd5 100644 --- a/lldb/test/API/functionalities/diagnostic_reporting/TestDiagnosticReporting.py +++ b/lldb/test/API/functionalities/diagnostic_reporting/TestDiagnosticReporting.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import * class TestDiagnosticReporting(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py b/lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py index c5b9921..421aa94 100644 --- a/lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py +++ b/lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestAArch64AdrpAdd(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfLLVMTargetMissing("AArch64") def test_arm64(self): diff --git a/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py b/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py index 1b9135a..4047a37 100644 --- a/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py +++ b/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfRemote @skipIfWindows # glibc's dlopen doesn't support opening executables. diff --git a/lldb/test/API/functionalities/dyld-exec-linux/TestDyldExecLinux.py b/lldb/test/API/functionalities/dyld-exec-linux/TestDyldExecLinux.py index 889a124..7f5e0b1 100644 --- a/lldb/test/API/functionalities/dyld-exec-linux/TestDyldExecLinux.py +++ b/lldb/test/API/functionalities/dyld-exec-linux/TestDyldExecLinux.py @@ -11,7 +11,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestLinux64ExecViaDynamicLoader(TestBase): - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfXmlSupportMissing diff --git a/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py b/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py index ceaae3a..8795286 100644 --- a/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py +++ b/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py @@ -9,7 +9,6 @@ from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * class TestLinux64LaunchingViaDynamicLoader(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIf(oslist=no_match(['linux'])) @no_debug_info_test diff --git a/lldb/test/API/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py b/lldb/test/API/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py index ead18af..5df4492 100644 --- a/lldb/test/API/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py +++ b/lldb/test/API/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DynamicValueChildCountTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/exec/TestExec.py b/lldb/test/API/functionalities/exec/TestExec.py index 91dc72d..1eb8c5d 100644 --- a/lldb/test/API/functionalities/exec/TestExec.py +++ b/lldb/test/API/functionalities/exec/TestExec.py @@ -14,8 +14,6 @@ class ExecTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(archs=['i386'], oslist=no_match(["freebsd"]), bugnumber="rdar://28656532") diff --git a/lldb/test/API/functionalities/fat_archives/TestFatArchives.py b/lldb/test/API/functionalities/fat_archives/TestFatArchives.py index 5fa52d3..11b3edd 100644 --- a/lldb/test/API/functionalities/fat_archives/TestFatArchives.py +++ b/lldb/test/API/functionalities/fat_archives/TestFatArchives.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class FatArchiveTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipUnlessDarwin diff --git a/lldb/test/API/functionalities/find-line-entry/TestFindLineEntry.py b/lldb/test/API/functionalities/find-line-entry/TestFindLineEntry.py index 4597121..9fc9631 100644 --- a/lldb/test/API/functionalities/find-line-entry/TestFindLineEntry.py +++ b/lldb/test/API/functionalities/find-line-entry/TestFindLineEntry.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbtest import * class FindLineEntry(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_compile_unit_find_line_entry_index(self): """ Test the CompileUnit LineEntryIndex lookup API """ self.build() diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py b/lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py index 422d814..aeaac0b 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py @@ -93,8 +93,6 @@ class MyResponder(MockGDBServerResponder): class TestAArch64XMLRegOffsets(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote @skipIfLLVMTargetMissing("AArch64") diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py b/lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py index fd74325..6d816bf 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestArmRegisterDefinition(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote def test(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestFork.py b/lldb/test/API/functionalities/gdb_remote_client/TestFork.py index 0a2750d..79fa520 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestFork.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestFork.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestMultiprocess(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - def base_test(self, variant): class MyResponder(MockGDBServerResponder): def __init__(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py index 8412215..e99192a 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestGDBRemoteClient(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - class gPacketResponder(MockGDBServerResponder): registers = [ "name:rax;bitsize:64;offset:0;encoding:uint;format:hex;set:General Purpose Registers;ehframe:0;dwarf:0;", diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteDiskFileCompletion.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteDiskFileCompletion.py index 46a3df4..97941fe 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteDiskFileCompletion.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteDiskFileCompletion.py @@ -3,8 +3,6 @@ from lldbsuite.test.lldbgdbclient import GDBPlatformClientTestBase class TestGDBRemoteDiskFileCompletion(GDBPlatformClientTestBase): - mydir = GDBPlatformClientTestBase.compute_mydir(__file__) - def test_autocomplete_request(self): """Test remote disk completion on remote-gdb-server plugin""" diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py index 6a09e17..7b74c17 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestGDBRemoteLoad(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"], bugnumber="llvm.org/pr49414") def test_module_load_address(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py index 9fc2e25..8d354b1 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py @@ -4,8 +4,6 @@ from lldbsuite.test.lldbgdbclient import GDBPlatformClientTestBase class TestGDBRemotePlatformFile(GDBPlatformClientTestBase): - mydir = GDBPlatformClientTestBase.compute_mydir(__file__) - def test_file(self): """Test mock operations on a remote file""" diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py index 3fa750c..09a72f3 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py @@ -10,8 +10,6 @@ import binascii class TestGDBServerTargetXML(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @staticmethod def filecheck_to_blob(fc): for l in fc.strip().splitlines(): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py index 3bec4b5..f39bdee 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestGDBServerTargetXML(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote @skipIfLLVMTargetMissing("X86") diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGdbClientModuleLoad.py b/lldb/test/API/functionalities/gdb_remote_client/TestGdbClientModuleLoad.py index 9a4c4cd..8fb2d7f 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGdbClientModuleLoad.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGdbClientModuleLoad.py @@ -80,8 +80,6 @@ class MyResponder(MockGDBServerResponder): class TestGdbClientModuleLoad(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing def test_android_app_process(self): """ diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py b/lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py index 59fcdf7..d143c6f 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py @@ -6,8 +6,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestIOSSimulator(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - """ Test that an ios simulator process is recognized as such. """ diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py b/lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py index e1998fb..4c071ba 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestJLink6Armv7RegisterDefinition(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote def test(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestMemoryRegionDirtyPages.py b/lldb/test/API/functionalities/gdb_remote_client/TestMemoryRegionDirtyPages.py index 88bc300..2671f8c 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestMemoryRegionDirtyPages.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestMemoryRegionDirtyPages.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestMemoryRegionDirtyPages(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing def test(self): class MyResponder(MockGDBServerResponder): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py b/lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py index b2b3605..be9d46f 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestMultiprocess(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - def test_qfThreadInfo(self): class MyResponder(MockGDBServerResponder): def qfThreadInfo(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py b/lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py index 564fd56..4880b53 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestNestedRegDefinitions(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote def test(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py b/lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py index 5efe110..87a4240 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py @@ -23,8 +23,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestNoGPacketSupported(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing def test(self): class MyResponder(MockGDBServerResponder): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestNoLocalFile.py b/lldb/test/API/functionalities/gdb_remote_client/TestNoLocalFile.py index 969b535..76ad4fb 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNoLocalFile.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNoLocalFile.py @@ -8,8 +8,6 @@ class TestNoLocalFile(GDBRemoteTestBase): """ Test the case where there is NO local copy of the file being debugged. We shouldn't immediately error out, but rather lldb should ask debugserver if it knows about the file. """ - - mydir = TestBase.compute_mydir(__file__) @skipIfXmlSupportMissing def test_with_python(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py b/lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py index 114e76d..6333fa3 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestNoWatchpointSupportInfo(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote def test(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py b/lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py index bfd7326..744fff3 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestPartialGPacket(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote def test(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py index 7dec787..e59b54e 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py @@ -12,8 +12,6 @@ def hexlify(string): class TestPlatformClient(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - def test_process_list_with_all_users(self): """Test connecting to a remote linux platform""" diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py index 2a701b4..66a69a4 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestPlatformKill(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfRemote @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr52451") def test_kill_different_platform(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py index 3d3de0a9..a31f995 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestPlatformMacOSX(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - class MyResponder(MockGDBServerResponder): def __init__(self, host): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py b/lldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py index d6d5a96..1e0a519 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase @skipIfRemote class TestProcessConnect(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_gdb_remote_sync(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPty.py b/lldb/test/API/functionalities/gdb_remote_client/TestPty.py index fe9d98f..69044b6 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPty.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPty.py @@ -7,7 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase @skipIfWindows class TestPty(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) server_socket_class = PtyServerSocket def get_term_attrs(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestQemuAArch64TargetXml.py b/lldb/test/API/functionalities/gdb_remote_client/TestQemuAArch64TargetXml.py index 2ad9a2c..9d8f6f47 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestQemuAArch64TargetXml.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestQemuAArch64TargetXml.py @@ -53,8 +53,6 @@ class MyResponder(MockGDBServerResponder): class TestQemuAarch64TargetXml(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote @skipIfLLVMTargetMissing("AArch64") diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestRecognizeBreakpoint.py b/lldb/test/API/functionalities/gdb_remote_client/TestRecognizeBreakpoint.py index 9d32514..ce57da1 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRecognizeBreakpoint.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRecognizeBreakpoint.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestRecognizeBreakpoint(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - """ This tests the case where the gdb-remote server doesn't support any of the thread-info packets, and just tells which thread got the stop signal with: diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py b/lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py index 6186ec3..3b80d98 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestRegDefinitionInParts(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @skipIfRemote def test(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py b/lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py index 5721946..1e7da3e 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py @@ -17,8 +17,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestRemoteRegNums(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing def test(self): class MyResponder(MockGDBServerResponder): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py b/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py index 853e113..99fdda1 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestRestartBug(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(bugnumber="llvm.org/pr24530") def test(self): """ diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestStopPCs.py b/lldb/test/API/functionalities/gdb_remote_client/TestStopPCs.py index 1bbd447..932b1f9 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestStopPCs.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestStopPCs.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestStopPCs(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing def test(self): class MyResponder(MockGDBServerResponder): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py b/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py index f788545..c3e6b5c 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py @@ -102,8 +102,6 @@ class MyResponder(MockGDBServerResponder): class TestTargetXMLArch(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfXmlSupportMissing @expectedFailureAll(archs=["i386"]) @skipIfRemote diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestThreadInfoTrailingComma.py b/lldb/test/API/functionalities/gdb_remote_client/TestThreadInfoTrailingComma.py index 08de888..afa41e2 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestThreadInfoTrailingComma.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestThreadInfoTrailingComma.py @@ -6,8 +6,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestThreadInfoTrailingComma(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): class MyResponder(MockGDBServerResponder): def haltReason(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestThreadSelectionBug.py b/lldb/test/API/functionalities/gdb_remote_client/TestThreadSelectionBug.py index d05e687..98cd404 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestThreadSelectionBug.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestThreadSelectionBug.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestThreadSelectionBug(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): class MyResponder(MockGDBServerResponder): def cont(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py b/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py index 0d94e78..e379c3a 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestWasm.py @@ -85,8 +85,6 @@ class MyResponder(MockGDBServerResponder): class TestWasm(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfAsan @skipIfXmlSupportMissing def test_load_module_with_embedded_symbols_from_remote(self): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestWriteMemory.py b/lldb/test/API/functionalities/gdb_remote_client/TestWriteMemory.py index f5cd25a..165b9cb 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestWriteMemory.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestWriteMemory.py @@ -6,8 +6,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestWriteMemory(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): class MyResponder(MockGDBServerResponder): diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py b/lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py index 9fdc25a..c9aa021 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py @@ -6,8 +6,6 @@ from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestqOffsets(GDBRemoteTestBase): - mydir = TestBase.compute_mydir(__file__) - class Responder(MockGDBServerResponder): def qOffsets(self): return 'Text=470000;Data=470000' diff --git a/lldb/test/API/functionalities/history/TestHistoryRecall.py b/lldb/test/API/functionalities/history/TestHistoryRecall.py index 2c17fd3..3ce7435 100644 --- a/lldb/test/API/functionalities/history/TestHistoryRecall.py +++ b/lldb/test/API/functionalities/history/TestHistoryRecall.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class TestHistoryRecall(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py index 5ac4eeb..235ed94 100644 --- a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py +++ b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * class AssertingInferiorTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") diff --git a/lldb/test/API/functionalities/inferior-changed/TestInferiorChanged.py b/lldb/test/API/functionalities/inferior-changed/TestInferiorChanged.py index 95cdfb5..1af7a75 100644 --- a/lldb/test/API/functionalities/inferior-changed/TestInferiorChanged.py +++ b/lldb/test/API/functionalities/inferior-changed/TestInferiorChanged.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ChangedInferiorTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(hostoslist=["windows"]) @no_debug_info_test def test_inferior_crashing(self): diff --git a/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py index 4a5cf85..5c4abff 100644 --- a/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py +++ b/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class CrashingInferiorTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") @expectedFailureNetBSD def test_inferior_crashing(self): diff --git a/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashingStep.py b/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashingStep.py index d03543d..0d992b6 100644 --- a/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashingStep.py +++ b/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashingStep.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class CrashingInferiorStepTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") @expectedFailureNetBSD def test_inferior_crashing(self): diff --git a/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py b/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py index 915d47f..0b4dd18 100644 --- a/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py +++ b/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class CrashingRecursiveInferiorTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") @expectedFailureNetBSD def test_recursive_inferior_crashing(self): diff --git a/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py b/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py index 8b02633..4d3c23f 100644 --- a/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py +++ b/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class CrashingRecursiveInferiorStepTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_recursive_inferior_crashing_step(self): """Test that stepping after a crash behaves correctly.""" self.build() diff --git a/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py b/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py index 44b8683..6404573 100644 --- a/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py +++ b/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestInlineStepping(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(['pyapi']) @expectedFailureAll( compiler="icc", diff --git a/lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py b/lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py index d7f4f83..a857e28 100644 --- a/lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py +++ b/lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class JITLoaderGDBTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipTestIfFn( lambda: "Skipped because the test crashes the test runner", bugnumber="llvm.org/pr24702") diff --git a/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py b/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py index 79e66c7..93c721a 100644 --- a/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py +++ b/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py @@ -13,8 +13,6 @@ import socket class TestStopAtEntry(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # The port used by debugserver. diff --git a/lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py b/lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py index 326315c..f47c1c5 100644 --- a/lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py +++ b/lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py @@ -15,7 +15,6 @@ All tests in this file behave like this: class TestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py b/lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py index 60dd7cf..fc768df 100644 --- a/lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py +++ b/lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class LimitDebugInfoTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def _check_type(self, target, name): exe = target.FindModule(lldb.SBFileSpec("a.out")) type_ = exe.FindFirstType(name) diff --git a/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py b/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py index de691e6..6ab8220 100644 --- a/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py +++ b/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py @@ -4,8 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py b/lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py index 3578914..d7e6e18 100644 --- a/lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py +++ b/lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class LoadUsingLazyBind(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/functionalities/load_unload/TestLoadUnload.py b/lldb/test/API/functionalities/load_unload/TestLoadUnload.py index 15e602cc7..eb5c559 100644 --- a/lldb/test/API/functionalities/load_unload/TestLoadUnload.py +++ b/lldb/test/API/functionalities/load_unload/TestLoadUnload.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class LoadUnloadTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py b/lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py index f0c9441..80f852c 100644 --- a/lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py +++ b/lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil @skipIfWindows # The Windows platform doesn't implement DoLoadImage. class LoadUsingPathsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py b/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py index 122d1a4..4e36013 100644 --- a/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py +++ b/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class LocationListLookupTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/longjmp/TestLongjmp.py b/lldb/test/API/functionalities/longjmp/TestLongjmp.py index 9e51a98..22e4cb1 100644 --- a/lldb/test/API/functionalities/longjmp/TestLongjmp.py +++ b/lldb/test/API/functionalities/longjmp/TestLongjmp.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LongjmpTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfDarwin # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp @expectedFailureAll(oslist=["freebsd", "linux"], bugnumber="llvm.org/pr20231") @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") diff --git a/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py b/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py index cad54c8..d84e0bc 100644 --- a/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py +++ b/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class MemoryCommandRegion(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/memory/cache/TestMemoryCache.py b/lldb/test/API/functionalities/memory/cache/TestMemoryCache.py index 7eb5b05..97cd701 100644 --- a/lldb/test/API/functionalities/memory/cache/TestMemoryCache.py +++ b/lldb/test/API/functionalities/memory/cache/TestMemoryCache.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class MemoryCacheTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/memory/find/TestMemoryFind.py b/lldb/test/API/functionalities/memory/find/TestMemoryFind.py index 7b97689..02146d1 100644 --- a/lldb/test/API/functionalities/memory/find/TestMemoryFind.py +++ b/lldb/test/API/functionalities/memory/find/TestMemoryFind.py @@ -12,8 +12,6 @@ from lldbsuite.test.decorators import * class MemoryFindTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py b/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py index f54e184..c9af1ab 100644 --- a/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py +++ b/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class MemoryTagTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_memory_tag_read_unsupported(self): diff --git a/lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py b/lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py index fdd7d79..e4513bc 100644 --- a/lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py +++ b/lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py @@ -11,8 +11,6 @@ import time class ModuleCacheTestcaseBSD(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py b/lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py index 9a77309..6ae5db1 100644 --- a/lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py +++ b/lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py @@ -10,8 +10,6 @@ import time class DebugIndexCacheTestcase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py b/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py index 6180203..daf5f92 100644 --- a/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py +++ b/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py @@ -11,8 +11,6 @@ import time class ModuleCacheTestcaseSimple(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py b/lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py index 0762bd8..3509859 100644 --- a/lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py +++ b/lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py @@ -11,8 +11,6 @@ import time class ModuleCacheTestcaseUniversal(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/mtc/simple/TestMTCSimple.py b/lldb/test/API/functionalities/mtc/simple/TestMTCSimple.py index a4deb96..863afe1 100644 --- a/lldb/test/API/functionalities/mtc/simple/TestMTCSimple.py +++ b/lldb/test/API/functionalities/mtc/simple/TestMTCSimple.py @@ -12,8 +12,6 @@ import json class MTCSimpleTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @skipIf(compiler="clang", compiler_version=['<', '9.0']) def test(self): diff --git a/lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py b/lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py index 8459507..6df914a 100644 --- a/lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py +++ b/lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class MultipleDebuggersCommandsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_multipledebuggers_commands(self): """Test that commands do not try and hold on to stale CommandInterpreters in a multiple debuggers scenario""" diff --git a/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py b/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py index 00c711b..e8b14d1 100644 --- a/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py +++ b/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbtest import * class MultiwordCommandsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_ambiguous_subcommand(self): self.expect("platform s", error=True, diff --git a/lldb/test/API/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py b/lldb/test/API/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py index d5424c0..22eff4a 100644 --- a/lldb/test/API/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py +++ b/lldb/test/API/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class NonOverlappingIndexVariableCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.source = 'main.cpp' diff --git a/lldb/test/API/functionalities/object-file/TestImageListMultiArchitecture.py b/lldb/test/API/functionalities/object-file/TestImageListMultiArchitecture.py index 1ad90e4..1955397 100644 --- a/lldb/test/API/functionalities/object-file/TestImageListMultiArchitecture.py +++ b/lldb/test/API/functionalities/object-file/TestImageListMultiArchitecture.py @@ -17,8 +17,6 @@ from lldbsuite.test import lldbutil class TestImageListMultiArchitecture(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfRemote def test_image_list_shows_multiple_architectures(self): diff --git a/lldb/test/API/functionalities/paths/TestPaths.py b/lldb/test/API/functionalities/paths/TestPaths.py index 5e9a79b..4a4a7d5 100644 --- a/lldb/test/API/functionalities/paths/TestPaths.py +++ b/lldb/test/API/functionalities/paths/TestPaths.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbplatformutil class TestPaths(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_paths(self): '''Test to make sure no file names are set in the lldb.SBFileSpec objects returned by lldb.SBHostOS.GetLLDBPath() for paths that are directories''' diff --git a/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py b/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py index b688bd4..d644927 100644 --- a/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py +++ b/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class PluginCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.generateSource('plugin.cpp') diff --git a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py index d1a3875..c778a55 100644 --- a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py +++ b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class PluginPythonOSPlugin(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_python_os_plugin(self): diff --git a/lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py b/lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py index f711b36..17c5d9c 100644 --- a/lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py +++ b/lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py @@ -14,8 +14,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestOSPluginStepping(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfWindows diff --git a/lldb/test/API/functionalities/pointer_num_children/TestPointerNumChildren.py b/lldb/test/API/functionalities/pointer_num_children/TestPointerNumChildren.py index aaeaef7..7f5b7e0 100644 --- a/lldb/test/API/functionalities/pointer_num_children/TestPointerNumChildren.py +++ b/lldb/test/API/functionalities/pointer_num_children/TestPointerNumChildren.py @@ -9,7 +9,6 @@ from lldbsuite.test import lldbutil class TestPointerNumChilden(TestBase): - mydir = TestBase.compute_mydir(__file__) def test_pointer_num_children(self): self.build() diff --git a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py index 98c8746..d571462 100644 --- a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py +++ b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class FreeBSDKernelVMCoreTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def test_mem(self): kernel_exec = "/boot/kernel/kernel" mem_device = "/dev/mem" diff --git a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py index 0cbf43f..a20a4b9 100644 --- a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py +++ b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py @@ -13,8 +13,6 @@ class FreeBSDKernelVMCoreTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True maxDiff = None - mydir = TestBase.compute_mydir(__file__) - def make_target(self, src_filename): src = self.getSourcePath(src_filename) dest = self.getBuildArtifact("kernel") diff --git a/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py b/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py index d1948b6..0ac0d92 100644 --- a/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py +++ b/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py @@ -17,8 +17,6 @@ from lldbsuite.test import lldbutil class LinuxCoreTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - _aarch64_pid = 37688 _aarch64_pac_pid = 387 _i386_pid = 32306 diff --git a/lldb/test/API/functionalities/postmortem/elf-core/gcore/TestGCore.py b/lldb/test/API/functionalities/postmortem/elf-core/gcore/TestGCore.py index 6e16ce3..0f3f484 100644 --- a/lldb/test/API/functionalities/postmortem/elf-core/gcore/TestGCore.py +++ b/lldb/test/API/functionalities/postmortem/elf-core/gcore/TestGCore.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class GCoreTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - _i386_pid = 5586 _x86_64_pid = 5669 diff --git a/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/TestLinuxCoreThreads.py b/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/TestLinuxCoreThreads.py index 6e34c91..398af86 100644 --- a/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/TestLinuxCoreThreads.py +++ b/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/TestLinuxCoreThreads.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class LinuxCoreThreadsTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - _i386_pid = 5193 _x86_64_pid = 5222 diff --git a/lldb/test/API/functionalities/postmortem/mach-core/TestMachCore.py b/lldb/test/API/functionalities/postmortem/mach-core/TestMachCore.py index 0caefd0..abc37c6 100644 --- a/lldb/test/API/functionalities/postmortem/mach-core/TestMachCore.py +++ b/lldb/test/API/functionalities/postmortem/mach-core/TestMachCore.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class MachCoreTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - # This was originally marked as expected failure on Windows, but it has # started timing out instead, so the expectedFailure attribute no longer # correctly tracks it: llvm.org/pr37371 diff --git a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py index 7ada036..286ff07 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py +++ b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class MiniDumpNewTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True _linux_x86_64_pid = 29917 diff --git a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py index bb4e61b..98a4464 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py +++ b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class MiniDumpUUIDTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def verify_module(self, module, verify_path, verify_uuid): diff --git a/lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py b/lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py index d14959a..4d08efc 100644 --- a/lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py +++ b/lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class MiniDumpTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_process_info_in_mini_dump(self): diff --git a/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py b/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py index f967a57..fb02016 100644 --- a/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py +++ b/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py @@ -16,8 +16,6 @@ from lldbsuite.test import lldbutil class NetBSDCoreCommonTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def check_memory_regions(self, process, region_count): region_list = process.GetMemoryRegions() self.assertEqual(region_list.GetSize(), region_count) diff --git a/lldb/test/API/functionalities/postmortem/wow64_minidump/TestWow64MiniDump.py b/lldb/test/API/functionalities/postmortem/wow64_minidump/TestWow64MiniDump.py index cbfc852..d057856 100644 --- a/lldb/test/API/functionalities/postmortem/wow64_minidump/TestWow64MiniDump.py +++ b/lldb/test/API/functionalities/postmortem/wow64_minidump/TestWow64MiniDump.py @@ -17,8 +17,6 @@ from lldbsuite.test import lldbutil class Wow64MiniDumpTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_wow64_mini_dump(self): diff --git a/lldb/test/API/functionalities/pre_run_dylibs/TestPreRunDylibs.py b/lldb/test/API/functionalities/pre_run_dylibs/TestPreRunDylibs.py index 1ac18a7..c9f7a3e 100644 --- a/lldb/test/API/functionalities/pre_run_dylibs/TestPreRunDylibs.py +++ b/lldb/test/API/functionalities/pre_run_dylibs/TestPreRunDylibs.py @@ -6,8 +6,6 @@ import lldbsuite.test.lldbutil as lldbutil from lldbsuite.test.decorators import * class TestPreRunLibraries(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIf(oslist=no_match(['darwin','macos'])) diff --git a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py index 0681a3f8..30190e7 100644 --- a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py +++ b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbtest class PlatformProcessCrashInfoTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.runCmd("settings set auto-confirm true") diff --git a/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py b/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py index dc75d4f..8a63cb3 100644 --- a/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py +++ b/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ChangeProcessGroupTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py b/lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py index 7da3884..c9ef698 100644 --- a/lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py +++ b/lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ProcessSaveCoreTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfRemote @skipUnlessWindows def test_cannot_save_core_unless_process_stopped(self): diff --git a/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py b/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py index f2ea380..a19a86d 100644 --- a/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py +++ b/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ProcessSaveCoreMinidumpTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessArch("x86_64") @skipUnlessPlatform(["linux"]) def test_save_linux_mini_dump(self): diff --git a/lldb/test/API/functionalities/progress_reporting/TestProgressReporting.py b/lldb/test/API/functionalities/progress_reporting/TestProgressReporting.py index 02c0618..164ccbf 100644 --- a/lldb/test/API/functionalities/progress_reporting/TestProgressReporting.py +++ b/lldb/test/API/functionalities/progress_reporting/TestProgressReporting.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestProgressReporting(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.broadcaster = self.dbg.GetBroadcaster() diff --git a/lldb/test/API/functionalities/progress_reporting/TestTrimmedProgressReporting.py b/lldb/test/API/functionalities/progress_reporting/TestTrimmedProgressReporting.py index 53765b0..3f76102 100644 --- a/lldb/test/API/functionalities/progress_reporting/TestTrimmedProgressReporting.py +++ b/lldb/test/API/functionalities/progress_reporting/TestTrimmedProgressReporting.py @@ -14,8 +14,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestTrimmedProgressReporting(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - def do_test(self, term_width, pattern_list): self.build() # Start with a small window diff --git a/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py b/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py index 96073ea..a1dd08d 100644 --- a/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py +++ b/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestPtrRefs(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfAsan # The output looks different under ASAN. @skipUnlessDarwin def test_ptr_refs(self): diff --git a/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py b/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py index 1653fe3..0965125 100644 --- a/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py +++ b/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py @@ -13,8 +13,6 @@ import lldbsuite.test.lldbutil as lldbutil class ValueObjectRecursionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py b/lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py index 75372d3..9df70f1 100644 --- a/lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py +++ b/lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class ReproducerAttachTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfNetBSD diff --git a/lldb/test/API/functionalities/reproducers/fs-case-sensitivity/TestReproducerFSCaseSensitivity.py b/lldb/test/API/functionalities/reproducers/fs-case-sensitivity/TestReproducerFSCaseSensitivity.py index e6bcd44..d23070d 100644 --- a/lldb/test/API/functionalities/reproducers/fs-case-sensitivity/TestReproducerFSCaseSensitivity.py +++ b/lldb/test/API/functionalities/reproducers/fs-case-sensitivity/TestReproducerFSCaseSensitivity.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class ReproducerFileSystemSensitivityTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfNetBSD diff --git a/lldb/test/API/functionalities/rerun/TestRerun.py b/lldb/test/API/functionalities/rerun/TestRerun.py index d2e5701..366272f 100644 --- a/lldb/test/API/functionalities/rerun/TestRerun.py +++ b/lldb/test/API/functionalities/rerun/TestRerun.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestRerun(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() exe = self.getBuildArtifact("a.out") diff --git a/lldb/test/API/functionalities/return-value/TestReturnValue.py b/lldb/test/API/functionalities/return-value/TestReturnValue.py index 8670c44..67a268a 100644 --- a/lldb/test/API/functionalities/return-value/TestReturnValue.py +++ b/lldb/test/API/functionalities/return-value/TestReturnValue.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ReturnValueTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def affected_by_pr33042(self): return ("clang" in self.getCompiler() and self.isAArch64() and self.getPlatform() == "linux") diff --git a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py index 822a9bf..d1e75cd 100644 --- a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py +++ b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py @@ -14,8 +14,6 @@ class ScriptedProcesTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py b/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py index 5556c9a..773c34c 100644 --- a/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py +++ b/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py @@ -14,8 +14,6 @@ class StackCoreScriptedProcesTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/set-data/TestSetData.py b/lldb/test/API/functionalities/set-data/TestSetData.py index 08477f3..c2d4ebc 100644 --- a/lldb/test/API/functionalities/set-data/TestSetData.py +++ b/lldb/test/API/functionalities/set-data/TestSetData.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SetDataTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["objc"]) def test_set_data(self): """Test setting the contents of variables and registers using raw data.""" diff --git a/lldb/test/API/functionalities/show_location/TestShowLocationDwarf5.py b/lldb/test/API/functionalities/show_location/TestShowLocationDwarf5.py index 76d24d5..5ddbfb6 100644 --- a/lldb/test/API/functionalities/show_location/TestShowLocationDwarf5.py +++ b/lldb/test/API/functionalities/show_location/TestShowLocationDwarf5.py @@ -7,8 +7,6 @@ from lldbsuite.test.decorators import * class TestTargetSourceMap(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(archs="aarch64", oslist="linux", bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44180") def test_source_map(self): diff --git a/lldb/test/API/functionalities/signal/TestSendSignal.py b/lldb/test/API/functionalities/signal/TestSendSignal.py index 88caa2d..5808ca1 100644 --- a/lldb/test/API/functionalities/signal/TestSendSignal.py +++ b/lldb/test/API/functionalities/signal/TestSendSignal.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class SendSignalTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py b/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py index d4b377b..fd35e1d 100644 --- a/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py +++ b/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class HandleAbortTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfWindows # signals do not exist on Windows diff --git a/lldb/test/API/functionalities/signal/handle-segv/TestHandleSegv.py b/lldb/test/API/functionalities/signal/handle-segv/TestHandleSegv.py index 3cd7cbb..9802c4e 100644 --- a/lldb/test/API/functionalities/signal/handle-segv/TestHandleSegv.py +++ b/lldb/test/API/functionalities/signal/handle-segv/TestHandleSegv.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class HandleSegvTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows # signals do not exist on Windows @skipIfDarwin @expectedFailureNetBSD diff --git a/lldb/test/API/functionalities/signal/raise/TestRaise.py b/lldb/test/API/functionalities/signal/raise/TestRaise.py index dd7e9af..eea97fa 100644 --- a/lldb/test/API/functionalities/signal/raise/TestRaise.py +++ b/lldb/test/API/functionalities/signal/raise/TestRaise.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil @skipIfWindows # signals do not exist on Windows class RaiseTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfNetBSD # Hangs on NetBSD diff --git a/lldb/test/API/functionalities/source-map/TestTargetSourceMap.py b/lldb/test/API/functionalities/source-map/TestTargetSourceMap.py index fcec6c8..129365a 100644 --- a/lldb/test/API/functionalities/source-map/TestTargetSourceMap.py +++ b/lldb/test/API/functionalities/source-map/TestTargetSourceMap.py @@ -6,8 +6,6 @@ import os class TestTargetSourceMap(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_source_map(self): """Test target.source-map' functionality.""" diff --git a/lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py b/lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py index 80e5a4e..bfc0186 100644 --- a/lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py +++ b/lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py @@ -8,7 +8,6 @@ from lldbsuite.test import lldbutil class TestStatsAPI(TestBase): - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py b/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py index e8a9530..9c72b0f 100644 --- a/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py +++ b/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class StepAvoidsNoDebugTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(['pyapi']) def test_step_out_with_python(self): """Test stepping out using avoid-no-debug with dsyms.""" diff --git a/lldb/test/API/functionalities/step-vrs-interrupt/TestStepVrsInterruptTimeout.py b/lldb/test/API/functionalities/step-vrs-interrupt/TestStepVrsInterruptTimeout.py index b3f8b3d..ee2dc620 100644 --- a/lldb/test/API/functionalities/step-vrs-interrupt/TestStepVrsInterruptTimeout.py +++ b/lldb/test/API/functionalities/step-vrs-interrupt/TestStepVrsInterruptTimeout.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestStepVrsInterruptTimeout(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_step_vrs_interrupt(self): diff --git a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py index 3aab76e..189c792 100644 --- a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py +++ b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import * class StepScriptedTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py b/lldb/test/API/functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py index 878e869..b6af635 100644 --- a/lldb/test/API/functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py +++ b/lldb/test/API/functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestStopOnSharedlibraryEvents(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfRemote @skipIfWindows @no_debug_info_test diff --git a/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py b/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py index 45346a4..ee87f5f 100644 --- a/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py +++ b/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestCrossDSOTailCalls(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py b/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py index 48e1c86..0249a04 100644 --- a/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py +++ b/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestCrossObjectTailCalls(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py b/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py index 456c059..34abff8 100644 --- a/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py +++ b/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py @@ -8,7 +8,6 @@ from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * class TestTailCallFrameSBAPI(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIf(compiler="clang", compiler_version=['<', '10.0']) @skipIf(dwarf_version=['<', '4']) diff --git a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py index ec89fa7..987de0b 100644 --- a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py +++ b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py @@ -8,7 +8,6 @@ from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * class TestArtificialFrameThreadStepOut1(TestBase): - mydir = TestBase.compute_mydir(__file__) # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for diff --git a/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py b/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py index cda0d28..06169b0 100644 --- a/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py +++ b/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class ModuleLoadedNotifysTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # At least DynamicLoaderDarwin and DynamicLoaderPOSIXDYLD should batch up diff --git a/lldb/test/API/functionalities/target_var/TestTargetVar.py b/lldb/test/API/functionalities/target_var/TestTargetVar.py index 4eee0e6..db8c92a 100644 --- a/lldb/test/API/functionalities/target_var/TestTargetVar.py +++ b/lldb/test/API/functionalities/target_var/TestTargetVar.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class targetCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @skipIfDarwinEmbedded # needs x86_64 @skipIf(debug_info="gmodules") # not relevant diff --git a/lldb/test/API/functionalities/target_var/no_vars/TestTargetVarNoVars.py b/lldb/test/API/functionalities/target_var/no_vars/TestTargetVarNoVars.py index 60ca8b1..0592cd5 100644 --- a/lldb/test/API/functionalities/target_var/no_vars/TestTargetVarNoVars.py +++ b/lldb/test/API/functionalities/target_var/no_vars/TestTargetVarNoVars.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestTargetVarNoVars(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_target_var_no_vars(self): diff --git a/lldb/test/API/functionalities/testid/TestTestId.py b/lldb/test/API/functionalities/testid/TestTestId.py index b3d3317..48d23e7 100644 --- a/lldb/test/API/functionalities/testid/TestTestId.py +++ b/lldb/test/API/functionalities/testid/TestTestId.py @@ -9,8 +9,6 @@ class TestIdTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def test_id_exists(self): self.assertIsNotNone(self.id(), "Test instance should have an id()") diff --git a/lldb/test/API/functionalities/thread/backtrace_limit/TestBacktraceLimit.py b/lldb/test/API/functionalities/thread/backtrace_limit/TestBacktraceLimit.py index 6dbb3e3..3f346a0 100644 --- a/lldb/test/API/functionalities/thread/backtrace_limit/TestBacktraceLimit.py +++ b/lldb/test/API/functionalities/thread/backtrace_limit/TestBacktraceLimit.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class BacktraceLimitSettingTest(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_backtrace_depth(self): diff --git a/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py b/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py index 4dc90cd..a9e9f09 100644 --- a/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py +++ b/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class BreakpointAfterJoinTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py index e265f09..18baa1b 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentBreakpointDelayBreakpointOneSignal(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') def test(self): diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointOneDelayBreakpointThreads.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointOneDelayBreakpointThreads.py index 422ac24..add8afe 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointOneDelayBreakpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointOneDelayBreakpointThreads.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentBreakpointOneDelayBreakpointThreads(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') def test(self): diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py index 68fc4a9..d3f0162 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import TestBase class ConcurrentBreakpointsDelayedBreakpointOneWatchpoint( ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithBreak.py index 6945629..141e332 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentCrashWithBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') def test(self): diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithSignal.py index 49aeb19..4cd961c 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithSignal.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentCrashWithSignal(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') def test(self): diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpoint.py index 424e62c..79557c6 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpoint.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentCrashWithWatchpoint(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpointBreakpointSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpointBreakpointSignal.py index c5e73bd..af07cf9 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpointBreakpointSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpointBreakpointSignal.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentCrashWithWatchpointBreakpointSignal(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalBreak.py index 58d06df..4f7d920 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentDelaySignalBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') def test(self): diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalWatch.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalWatch.py index ffb8e82..d17f828 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalWatch.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalWatch.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentDelaySignalWatch(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayWatchBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayWatchBreak.py index c4feb3b..ba648b8 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayWatchBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayWatchBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentDelayWatchBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIf( diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointSignal.py index 3de3433..00ed220 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointSignal.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentDelayedCrashWithBreakpointSignal(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') def test(self): diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py index dce6e93..bd04a24 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentDelayedCrashWithBreakpointWatchpoint(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py index 904c06c..5300492 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentManyBreakpoints(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIfOutOfTreeDebugserver diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py index a599092..f3f8974 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentManyCrash(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIfOutOfTreeDebugserver diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManySignals.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManySignals.py index 85e07fc..d5fe0ef 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManySignals.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManySignals.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentManySignals(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') # This test is flaky on Darwin. diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py index e466b17..cd82dab 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py @@ -8,8 +8,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentManyWatchpoints(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIf( diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py index d6848de..0dab665 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentNWatchNBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"], diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalBreak.py index 2ded954..f4ccd9e 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentSignalBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') def test(self): diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py index ed633e6..ece11b4 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentSignalDelayBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFlakeyNetBSD diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayWatch.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayWatch.py index 3207cb4..4629a7f 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayWatch.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayWatch.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentSignalDelayWatch(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFailureNetBSD diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py index 8409984..2478a49 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentSignalNWatchNBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFailureNetBSD diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py index ac9442c..2922070 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentSignalWatch(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIf( diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py index 2e18c15..3ca3a86 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentSignalWatchBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFailureNetBSD diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py index 70c4745..d56ce0c 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoBreakpointThreads(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"], diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py index 6375d79..789a788 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoBreakpointsOneDelaySignal(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFlakeyNetBSD diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py index 688d4de..fc7f80b 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoBreakpointsOneSignal(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFlakeyNetBSD diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py index 54a8e09..bbd0e90 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoBreakpointsOneWatchpoint(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py index 9a7088b..5cddeee 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoWatchpointThreads(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIf( diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py index 3eb9f30..c83862d 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoWatchpointsOneBreakpoint(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIf( diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py index c48e395..f1b65220 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoWatchpointsOneDelayBreakpoint(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @skipIf( diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py index 8aea699..acc08e1 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentTwoWatchpointsOneSignal(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @expectedFailureNetBSD diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py index 0de70ca..7d3a759 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentWatchBreak(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreakDelay.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreakDelay.py index 32c3f00..04ea969 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreakDelay.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreakDelay.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentWatchBreakDelay(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py index b3db954..ebee044 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentWatchpointDelayWatchpointOneBreakpoint(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointWithDelayWatchpointThreads.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointWithDelayWatchpointThreads.py index c3205d6c..f724fac 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointWithDelayWatchpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointWithDelayWatchpointThreads.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import TestBase @skipIfWindows class ConcurrentWatchpointWithDelayWatchpointThreads(ConcurrentEventsBase): - mydir = ConcurrentEventsBase.compute_mydir(__file__) - # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') @add_test_categories(["watchpoint"]) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/exit/TestConcurrentThreadExit.py b/lldb/test/API/functionalities/thread/concurrent_events/exit/TestConcurrentThreadExit.py index 63ff280..276c623 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/exit/TestConcurrentThreadExit.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/exit/TestConcurrentThreadExit.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class ConcurrentThreadExitTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIf(oslist=no_match(["linux"])) diff --git a/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py b/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py index e371cd7..4e259bd 100644 --- a/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py +++ b/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CrashDuringStepTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.breakpoint = line_number('main.cpp', '// Set breakpoint here') diff --git a/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py b/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py index efa3d93..39e7689 100644 --- a/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py +++ b/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CreateAfterAttachTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/thread/create_during_step/TestCreateDuringStep.py b/lldb/test/API/functionalities/thread/create_during_step/TestCreateDuringStep.py index dc67afc..372ac13 100644 --- a/lldb/test/API/functionalities/thread/create_during_step/TestCreateDuringStep.py +++ b/lldb/test/API/functionalities/thread/create_during_step/TestCreateDuringStep.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CreateDuringStepTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="llvm.org/pr15824 thread states not properly maintained") diff --git a/lldb/test/API/functionalities/thread/exit_during_break/TestExitDuringBreak.py b/lldb/test/API/functionalities/thread/exit_during_break/TestExitDuringBreak.py index 16baf15..ed72637 100644 --- a/lldb/test/API/functionalities/thread/exit_during_break/TestExitDuringBreak.py +++ b/lldb/test/API/functionalities/thread/exit_during_break/TestExitDuringBreak.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ExitDuringBreakpointTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py b/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py index 031ba14..5c8a21a 100644 --- a/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py +++ b/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestExitDuringExpression(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfWindows diff --git a/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py b/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py index a289777..b9be2c8 100644 --- a/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py +++ b/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ExitDuringStepTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows # This is flakey on Windows: llvm.org/pr38373 def test(self): """Test thread exit during step handling.""" diff --git a/lldb/test/API/functionalities/thread/ignore_suspended/TestIgnoreSuspendedThread.py b/lldb/test/API/functionalities/thread/ignore_suspended/TestIgnoreSuspendedThread.py index cf9be23..e16ae6a 100644 --- a/lldb/test/API/functionalities/thread/ignore_suspended/TestIgnoreSuspendedThread.py +++ b/lldb/test/API/functionalities/thread/ignore_suspended/TestIgnoreSuspendedThread.py @@ -9,8 +9,6 @@ import lldbsuite.test.lldbutil as lldbutil class IgnoreSuspendedThreadTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/thread/jump/TestThreadJump.py b/lldb/test/API/functionalities/thread/jump/TestThreadJump.py index 44bef6b..c9dc4ed 100644 --- a/lldb/test/API/functionalities/thread/jump/TestThreadJump.py +++ b/lldb/test/API/functionalities/thread/jump/TestThreadJump.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ThreadJumpTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test thread jump handling.""" self.build() diff --git a/lldb/test/API/functionalities/thread/main_thread_exit/TestMainThreadExit.py b/lldb/test/API/functionalities/thread/main_thread_exit/TestMainThreadExit.py index adee1af..50060dd 100644 --- a/lldb/test/API/functionalities/thread/main_thread_exit/TestMainThreadExit.py +++ b/lldb/test/API/functionalities/thread/main_thread_exit/TestMainThreadExit.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class ThreadExitTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # Needs os-specific implementation in the inferior diff --git a/lldb/test/API/functionalities/thread/multi_break/TestMultipleBreakpoints.py b/lldb/test/API/functionalities/thread/multi_break/TestMultipleBreakpoints.py index 61cdc88..e03b9a5 100644 --- a/lldb/test/API/functionalities/thread/multi_break/TestMultipleBreakpoints.py +++ b/lldb/test/API/functionalities/thread/multi_break/TestMultipleBreakpoints.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class MultipleBreakpointTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py b/lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py index ad476ad..7ddf6f2 100644 --- a/lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py +++ b/lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class NumberOfThreadsTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/functionalities/thread/state/TestThreadStates.py b/lldb/test/API/functionalities/thread/state/TestThreadStates.py index 18586c4..4c5ebcd 100644 --- a/lldb/test/API/functionalities/thread/state/TestThreadStates.py +++ b/lldb/test/API/functionalities/thread/state/TestThreadStates.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ThreadStateTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="llvm.org/pr15824 thread states not properly maintained") diff --git a/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py b/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py index a24058b..e26e066 100644 --- a/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py +++ b/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py @@ -12,8 +12,6 @@ from lldbsuite.test.decorators import * class TestStopReasonAfterExpression(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48415") @expectedFlakeyNetBSD diff --git a/lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py b/lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py index 7c18643..38608d7 100644 --- a/lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py +++ b/lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ThreadStepOutTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows # This test will hang on windows llvm.org/pr21753 @expectedFailureAll(oslist=["windows"]) @expectedFailureNetBSD diff --git a/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py b/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py index dd48eba..0145b34 100644 --- a/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py +++ b/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class StepUntilTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/thread/thread_exit/TestThreadExit.py b/lldb/test/API/functionalities/thread/thread_exit/TestThreadExit.py index dcc0928..4f8951f 100644 --- a/lldb/test/API/functionalities/thread/thread_exit/TestThreadExit.py +++ b/lldb/test/API/functionalities/thread/thread_exit/TestThreadExit.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class ThreadExitTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py b/lldb/test/API/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py index a8fa0a5..521e561 100644 --- a/lldb/test/API/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py +++ b/lldb/test/API/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py @@ -21,8 +21,6 @@ def set_thread_name(test, thread, breakpoint): breakpoint.SetThreadName("main-thread") class ThreadSpecificBreakTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @add_test_categories(['pyapi']) diff --git a/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py b/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py index 6971240..bf9703e 100644 --- a/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py +++ b/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ThreadSpecificBreakPlusConditionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # test frequently times out or hangs @skipIfDarwin # hits break in another thread in testrun diff --git a/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py b/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py index 2b713a9..8e38c5b 100644 --- a/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py +++ b/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * class TestThreadPlanCommands(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfWindows diff --git a/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py b/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py index 1768405..9f7e5e4 100644 --- a/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py +++ b/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py @@ -11,8 +11,6 @@ import json class TsanBasicTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="non-core functionality, need to reenable and fix later (DES 2014.11.07)") diff --git a/lldb/test/API/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py b/lldb/test/API/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py index 407126d..76f7046 100644 --- a/lldb/test/API/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py +++ b/lldb/test/API/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py @@ -11,8 +11,6 @@ import json class TsanCPPGlobalLocationTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="non-core functionality, need to reenable and fix later (DES 2014.11.07)") diff --git a/lldb/test/API/functionalities/tsan/global_location/TestTsanGlobalLocation.py b/lldb/test/API/functionalities/tsan/global_location/TestTsanGlobalLocation.py index 7bfd90b..793e2b1 100644 --- a/lldb/test/API/functionalities/tsan/global_location/TestTsanGlobalLocation.py +++ b/lldb/test/API/functionalities/tsan/global_location/TestTsanGlobalLocation.py @@ -11,8 +11,6 @@ import json class TsanGlobalLocationTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="non-core functionality, need to reenable and fix later (DES 2014.11.07)") diff --git a/lldb/test/API/functionalities/tsan/multiple/TestTsanMultiple.py b/lldb/test/API/functionalities/tsan/multiple/TestTsanMultiple.py index 1938dc6..1eefa48 100644 --- a/lldb/test/API/functionalities/tsan/multiple/TestTsanMultiple.py +++ b/lldb/test/API/functionalities/tsan/multiple/TestTsanMultiple.py @@ -11,8 +11,6 @@ import json class TsanMultipleTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="non-core functionality, need to reenable and fix later (DES 2014.11.07)") diff --git a/lldb/test/API/functionalities/tsan/thread_leak/TestTsanThreadLeak.py b/lldb/test/API/functionalities/tsan/thread_leak/TestTsanThreadLeak.py index 09704e4..0ff9e9a 100644 --- a/lldb/test/API/functionalities/tsan/thread_leak/TestTsanThreadLeak.py +++ b/lldb/test/API/functionalities/tsan/thread_leak/TestTsanThreadLeak.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class TsanThreadLeakTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="non-core functionality, need to reenable and fix later (DES 2014.11.07)") diff --git a/lldb/test/API/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py b/lldb/test/API/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py index 80108cb..29c85ab 100644 --- a/lldb/test/API/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py +++ b/lldb/test/API/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py @@ -11,8 +11,6 @@ import json class TsanThreadNumbersTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["linux"], bugnumber="non-core functionality, need to reenable and fix later (DES 2014.11.07)") diff --git a/lldb/test/API/functionalities/tty/TestTerminal.py b/lldb/test/API/functionalities/tty/TestTerminal.py index a89ef38..57da57f 100644 --- a/lldb/test/API/functionalities/tty/TestTerminal.py +++ b/lldb/test/API/functionalities/tty/TestTerminal.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class LaunchInTerminalTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # Darwin is the only platform that I know of that supports optionally launching # a program in a separate terminal window. It would be great if other platforms # added support for this. diff --git a/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py b/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py index 27fe5b5..b4ec209 100644 --- a/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py +++ b/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestTypeGetModule(TestBase): - mydir = TestBase.compute_mydir(__file__) - def find_module(self, target, name): num_modules = target.GetNumModules() index = 0 diff --git a/lldb/test/API/functionalities/type_lookup/TestTypeLookup.py b/lldb/test/API/functionalities/type_lookup/TestTypeLookup.py index 2257fd6..8f55393 100644 --- a/lldb/test/API/functionalities/type_lookup/TestTypeLookup.py +++ b/lldb/test/API/functionalities/type_lookup/TestTypeLookup.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TypeLookupTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py b/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py index 038b37b..4220a59 100644 --- a/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py +++ b/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py @@ -12,8 +12,6 @@ import json class UbsanBasicTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessUndefinedBehaviorSanitizer @no_debug_info_test def test(self): diff --git a/lldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py b/lldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py index bb1607d..81f4bdc 100644 --- a/lldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py +++ b/lldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class UbsanUserExpressionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessUndefinedBehaviorSanitizer def test(self): self.build() diff --git a/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py b/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py index 593773a..2b4cbf7 100644 --- a/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py +++ b/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py @@ -8,7 +8,6 @@ from lldbsuite.test import lldbutil class TestUnusedInlinedParameters(TestBase): - mydir = TestBase.compute_mydir(__file__) def test_unused_inlined_parameters(self): self.build() diff --git a/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py b/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py index 9b2faf7..e63467d 100644 --- a/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py +++ b/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py @@ -9,7 +9,6 @@ from lldbsuite.test import lldbutil class AArch64UnwindPAC(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIf(archs=no_match(["aarch64"])) @skipIf(oslist=no_match(['linux'])) diff --git a/lldb/test/API/functionalities/unwind/ehframe/TestEhFrameUnwind.py b/lldb/test/API/functionalities/unwind/ehframe/TestEhFrameUnwind.py index 905543f..db293a8 100644 --- a/lldb/test/API/functionalities/unwind/ehframe/TestEhFrameUnwind.py +++ b/lldb/test/API/functionalities/unwind/ehframe/TestEhFrameUnwind.py @@ -11,7 +11,6 @@ from lldbsuite.test import lldbutil class EHFrameBasedUnwind(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipUnlessPlatform(['linux']) @skipIf(archs=["aarch64", "arm", "i386", "i686"]) diff --git a/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py b/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py index 1cc45eb..1bcd75a 100644 --- a/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py +++ b/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py @@ -12,7 +12,6 @@ from lldbsuite.test import lldbutil class NoreturnUnwind(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIfWindows # clang-cl does not support gcc style attributes. # clang does not preserve LR in noreturn functions, making unwinding impossible diff --git a/lldb/test/API/functionalities/unwind/noreturn/module-end/TestNoReturnModuleEnd.py b/lldb/test/API/functionalities/unwind/noreturn/module-end/TestNoReturnModuleEnd.py index d242cb7..1b536e1 100644 --- a/lldb/test/API/functionalities/unwind/noreturn/module-end/TestNoReturnModuleEnd.py +++ b/lldb/test/API/functionalities/unwind/noreturn/module-end/TestNoReturnModuleEnd.py @@ -13,7 +13,6 @@ from lldbsuite.test import lldbutil class TestNoreturnModuleEnd(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) @skipIfLLVMTargetMissing("X86") def test(self): diff --git a/lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py b/lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py index 3ee86f7..e7d2296 100644 --- a/lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py +++ b/lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py @@ -12,7 +12,6 @@ from lldbsuite.test import lldbutil class SigtrampUnwind(TestBase): - mydir = TestBase.compute_mydir(__file__) # On different platforms the "_sigtramp" and "__kill" frames are likely to be different. # This test could probably be adapted to run on linux/*bsd easily enough. diff --git a/lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py b/lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py index b85a92e..23c336a 100644 --- a/lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py +++ b/lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py @@ -31,7 +31,6 @@ from lldbsuite.test import lldbutil class ZerothFrame(TestBase): - mydir = TestBase.compute_mydir(__file__) def test(self): """ diff --git a/lldb/test/API/functionalities/value_md5_crash/TestValueMD5Crash.py b/lldb/test/API/functionalities/value_md5_crash/TestValueMD5Crash.py index fb9fd15..103f9ad 100644 --- a/lldb/test/API/functionalities/value_md5_crash/TestValueMD5Crash.py +++ b/lldb/test/API/functionalities/value_md5_crash/TestValueMD5Crash.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ValueMD5CrashTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/functionalities/var_path/TestVarPath.py b/lldb/test/API/functionalities/var_path/TestVarPath.py index 672747a..a516e8c 100644 --- a/lldb/test/API/functionalities/var_path/TestVarPath.py +++ b/lldb/test/API/functionalities/var_path/TestVarPath.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class TestVarPath(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/functionalities/wrong_commands/TestWrongCommands.py b/lldb/test/API/functionalities/wrong_commands/TestWrongCommands.py index c722840..3a952c0 100644 --- a/lldb/test/API/functionalities/wrong_commands/TestWrongCommands.py +++ b/lldb/test/API/functionalities/wrong_commands/TestWrongCommands.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class UnknownCommandTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_ambiguous_command(self): command_interpreter = self.dbg.GetCommandInterpreter() diff --git a/lldb/test/API/iohandler/autosuggestion/TestAutosuggestion.py b/lldb/test/API/iohandler/autosuggestion/TestAutosuggestion.py index 7d29d95..830044e 100644 --- a/lldb/test/API/iohandler/autosuggestion/TestAutosuggestion.py +++ b/lldb/test/API/iohandler/autosuggestion/TestAutosuggestion.py @@ -14,8 +14,6 @@ def cursor_horizontal_abs(s): class TestCase(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - ANSI_FAINT = "\x1b[2m" ANSI_RESET = "\x1b[0m" ANSI_RED = "\x1b[31m" diff --git a/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py b/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py index 5d17031..650aae6 100644 --- a/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py +++ b/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class IOHandlerCompletionTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/iohandler/resize/TestIOHandlerResize.py b/lldb/test/API/iohandler/resize/TestIOHandlerResize.py index c1f3032..5d3b54b 100644 --- a/lldb/test/API/iohandler/resize/TestIOHandlerResize.py +++ b/lldb/test/API/iohandler/resize/TestIOHandlerResize.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class IOHandlerCompletionTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py b/lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py index 724a423..250a97f 100644 --- a/lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py +++ b/lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfWindows def test_resize_no_editline(self): diff --git a/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py b/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py index d98add7..24b99da 100644 --- a/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py +++ b/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestCase(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - def start_python_repl(self): """ Starts up the embedded Python REPL.""" self.launch() diff --git a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py index e4fe77d..1dcf171 100644 --- a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py +++ b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestCase(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - @skipIf(compiler="clang", compiler_version=['<', '11.0']) @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) def test(self): diff --git a/lldb/test/API/iohandler/stdio/TestIOHandlerProcessSTDIO.py b/lldb/test/API/iohandler/stdio/TestIOHandlerProcessSTDIO.py index cdfe173..078c124 100644 --- a/lldb/test/API/iohandler/stdio/TestIOHandlerProcessSTDIO.py +++ b/lldb/test/API/iohandler/stdio/TestIOHandlerProcessSTDIO.py @@ -4,8 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test.lldbpexpect import PExpectTest class TestIOHandlerProcessSTDIO(PExpectTest): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # PExpect uses many timeouts internally and doesn't play well diff --git a/lldb/test/API/iohandler/unicode/TestUnicode.py b/lldb/test/API/iohandler/unicode/TestUnicode.py index 7d23934..39e9226 100644 --- a/lldb/test/API/iohandler/unicode/TestUnicode.py +++ b/lldb/test/API/iohandler/unicode/TestUnicode.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestCase(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan diff --git a/lldb/test/API/lang/c/anonymous/TestAnonymous.py b/lldb/test/API/lang/c/anonymous/TestAnonymous.py index 42d280d..762459e 100644 --- a/lldb/test/API/lang/c/anonymous/TestAnonymous.py +++ b/lldb/test/API/lang/c/anonymous/TestAnonymous.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class AnonymousTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf( compiler="icc", bugnumber="llvm.org/pr15036: LLDB generates an incorrect AST layout for an anonymous struct when DWARF is generated by ICC") diff --git a/lldb/test/API/lang/c/array_types/TestArrayTypes.py b/lldb/test/API/lang/c/array_types/TestArrayTypes.py index 72eb5e1..1ceee68 100644 --- a/lldb/test/API/lang/c/array_types/TestArrayTypes.py +++ b/lldb/test/API/lang/c/array_types/TestArrayTypes.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ArrayTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/bitfields/TestBitfields.py b/lldb/test/API/lang/c/bitfields/TestBitfields.py index 4a144d5..dc54a45 100644 --- a/lldb/test/API/lang/c/bitfields/TestBitfields.py +++ b/lldb/test/API/lang/c/bitfields/TestBitfields.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def run_to_main(self): self.build() lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.c")) diff --git a/lldb/test/API/lang/c/blocks/TestBlocks.py b/lldb/test/API/lang/c/blocks/TestBlocks.py index 99ea22a..8bfc5650 100644 --- a/lldb/test/API/lang/c/blocks/TestBlocks.py +++ b/lldb/test/API/lang/c/blocks/TestBlocks.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class BlocksTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) lines = [] def setUp(self): diff --git a/lldb/test/API/lang/c/builtin-types/TestCBuiltinTypes.py b/lldb/test/API/lang/c/builtin-types/TestCBuiltinTypes.py index 6344411..f2be203 100644 --- a/lldb/test/API/lang/c/builtin-types/TestCBuiltinTypes.py +++ b/lldb/test/API/lang/c/builtin-types/TestCBuiltinTypes.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_FindTypes_on_scratch_AST(self): """ diff --git a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py index d12431d..a93cba9 100644 --- a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py +++ b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py @@ -6,8 +6,6 @@ from lldbsuite.test_event.build_exception import BuildError class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def build_and_run(self, test_file): diff --git a/lldb/test/API/lang/c/complex/TestComplexC99.py b/lldb/test/API/lang/c/complex/TestComplexC99.py index 93ad8f0..6ed1ae8 100644 --- a/lldb/test/API/lang/c/complex/TestComplexC99.py +++ b/lldb/test/API/lang/c/complex/TestComplexC99.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfWindows def test(self): diff --git a/lldb/test/API/lang/c/complex_int/TestComplexInt.py b/lldb/test/API/lang/c/complex_int/TestComplexInt.py index 86916ea..40e3c90 100644 --- a/lldb/test/API/lang/c/complex_int/TestComplexInt.py +++ b/lldb/test/API/lang/c/complex_int/TestComplexInt.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfWindows def test(self): diff --git a/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py b/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py index a66f3bb..3ba7990 100644 --- a/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py +++ b/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestConflictingSymbols(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/lang/c/const_variables/TestConstVariables.py b/lldb/test/API/lang/c/const_variables/TestConstVariables.py index 828bcf1..b700b95 100644 --- a/lldb/test/API/lang/c/const_variables/TestConstVariables.py +++ b/lldb/test/API/lang/c/const_variables/TestConstVariables.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ConstVariableTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["freebsd", "linux"], compiler="icc") @expectedFailureAll(archs=['mips', 'mipsel', 'mips64', 'mips64el']) @expectedFailureAll( diff --git a/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py b/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py index 54cb1c8..92023c7 100644 --- a/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py +++ b/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # FIXME: Clang on Windows somehow thinks static_assert is a C keyword. @skipIfWindows @no_debug_info_test diff --git a/lldb/test/API/lang/c/enum_types/TestEnumTypes.py b/lldb/test/API/lang/c/enum_types/TestEnumTypes.py index fca85ac..937c7202 100644 --- a/lldb/test/API/lang/c/enum_types/TestEnumTypes.py +++ b/lldb/test/API/lang/c/enum_types/TestEnumTypes.py @@ -10,8 +10,6 @@ from lldbsuite.test.decorators import * class EnumTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/find_struct_type/TestFindStructTypes.py b/lldb/test/API/lang/c/find_struct_type/TestFindStructTypes.py index dcde84b3..8ebe7f7 100644 --- a/lldb/test/API/lang/c/find_struct_type/TestFindStructTypes.py +++ b/lldb/test/API/lang/c/find_struct_type/TestFindStructTypes.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class TestFindTypesOnStructType(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/lang/c/flexible-array-members/TestCFlexibleArrayMembers.py b/lldb/test/API/lang/c/flexible-array-members/TestCFlexibleArrayMembers.py index b866786..459fcdd 100644 --- a/lldb/test/API/lang/c/flexible-array-members/TestCFlexibleArrayMembers.py +++ b/lldb/test/API/lang/c/flexible-array-members/TestCFlexibleArrayMembers.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/c/forward/TestForwardDeclaration.py b/lldb/test/API/lang/c/forward/TestForwardDeclaration.py index 70c60eb..ca5817b 100644 --- a/lldb/test/API/lang/c/forward/TestForwardDeclaration.py +++ b/lldb/test/API/lang/c/forward/TestForwardDeclaration.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class ForwardDeclarationTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def do_test(self, dictionary=None): """Display *bar_ptr when stopped on a function with forward declaration of struct bar.""" self.build(dictionary=dictionary) diff --git a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py index 9288c63..f378e44 100644 --- a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py +++ b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class FunctionTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py b/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py index cacdf18..f3668f9 100644 --- a/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py +++ b/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class GlobalVariablesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/local_types/TestUseClosestType.py b/lldb/test/API/lang/c/local_types/TestUseClosestType.py index 13a69a3..b9a84d3 100644 --- a/lldb/test/API/lang/c/local_types/TestUseClosestType.py +++ b/lldb/test/API/lang/c/local_types/TestUseClosestType.py @@ -15,8 +15,6 @@ from lldbsuite.test.lldbtest import * class TestUseClosestType(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @expectedFailureAll(bugnumber="") diff --git a/lldb/test/API/lang/c/local_variables/TestLocalVariables.py b/lldb/test/API/lang/c/local_variables/TestLocalVariables.py index 1d3c90e..6e9aa88 100644 --- a/lldb/test/API/lang/c/local_variables/TestLocalVariables.py +++ b/lldb/test/API/lang/c/local_variables/TestLocalVariables.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class LocalVariablesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/modules/TestCModules.py b/lldb/test/API/lang/c/modules/TestCModules.py index 2ec6e96..68e2b64 100644 --- a/lldb/test/API/lang/c/modules/TestCModules.py +++ b/lldb/test/API/lang/c/modules/TestCModules.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CModulesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["freebsd", "linux"], bugnumber="http://llvm.org/pr23456 'fopen' has unknown return type") diff --git a/lldb/test/API/lang/c/record_decl_in_expr/TestRecordDeclInExpr.py b/lldb/test/API/lang/c/record_decl_in_expr/TestRecordDeclInExpr.py index 16bf098..f1b3679 100644 --- a/lldb/test/API/lang/c/record_decl_in_expr/TestRecordDeclInExpr.py +++ b/lldb/test/API/lang/c/record_decl_in_expr/TestRecordDeclInExpr.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_fwd_decl(self): # Declare a forward decl and import it to the scratch AST. diff --git a/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py b/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py index c255056..568debd 100644 --- a/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py +++ b/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py @@ -14,8 +14,6 @@ def re_expr_equals(val_type, val): class RegisterVariableTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(compiler="clang", compiler_version=['<', '3.5']) @expectedFailureAll(compiler="gcc", compiler_version=[ '>=', '4.8.2'], archs=["i386"]) diff --git a/lldb/test/API/lang/c/set_values/TestSetValues.py b/lldb/test/API/lang/c/set_values/TestSetValues.py index b468eaf..8febb08 100644 --- a/lldb/test/API/lang/c/set_values/TestSetValues.py +++ b/lldb/test/API/lang/c/set_values/TestSetValues.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class SetValuesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/shared_lib/TestSharedLib.py b/lldb/test/API/lang/c/shared_lib/TestSharedLib.py index 36fbbb7..e7cbf1c 100644 --- a/lldb/test/API/lang/c/shared_lib/TestSharedLib.py +++ b/lldb/test/API/lang/c/shared_lib/TestSharedLib.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class SharedLibTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def common_test_expr(self, preload_symbols): if "clang" in self.getCompiler() and "3.4" in self.getCompilerVersion(): self.skipTest( diff --git a/lldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py b/lldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py index 3919f40..8a0a7e3 100644 --- a/lldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py +++ b/lldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class SharedLibStrippedTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"]) def test_expr(self): """Test that types work when defined in a shared library and forwa/d-declared in the main executable""" diff --git a/lldb/test/API/lang/c/sizeof/TestCSizeof.py b/lldb/test/API/lang/c/sizeof/TestCSizeof.py index 6776683..255025f 100644 --- a/lldb/test/API/lang/c/sizeof/TestCSizeof.py +++ b/lldb/test/API/lang/c/sizeof/TestCSizeof.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() self.createTestTarget() diff --git a/lldb/test/API/lang/c/step-target/TestStepTarget.py b/lldb/test/API/lang/c/step-target/TestStepTarget.py index 0b97f40..3521870 100644 --- a/lldb/test/API/lang/c/step-target/TestStepTarget.py +++ b/lldb/test/API/lang/c/step-target/TestStepTarget.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestStepTarget(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py b/lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py index ad63ba8..a3321fc 100644 --- a/lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py +++ b/lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class StepOverDoesntDeadlockTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_step_over(self): """Test that when step over steps over a function it lets other threads run.""" self.build() diff --git a/lldb/test/API/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/test/API/lang/c/stepping/TestStepAndBreakpoints.py index b5dbb05..62cce71 100644 --- a/lldb/test/API/lang/c/stepping/TestStepAndBreakpoints.py +++ b/lldb/test/API/lang/c/stepping/TestStepAndBreakpoints.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestCStepping(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/stepping/TestThreadStepInAvoidRegexp.py b/lldb/test/API/lang/c/stepping/TestThreadStepInAvoidRegexp.py index 3658860..a0f9c54 100644 --- a/lldb/test/API/lang/c/stepping/TestThreadStepInAvoidRegexp.py +++ b/lldb/test/API/lang/c/stepping/TestThreadStepInAvoidRegexp.py @@ -12,8 +12,6 @@ from lldbsuite.test.decorators import * class ThreadStepInAvoidRegexTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.line2 = line_number('main.c', '// assignment to B2') diff --git a/lldb/test/API/lang/c/stepping/TestThreadStepping.py b/lldb/test/API/lang/c/stepping/TestThreadStepping.py index c134c95..a1320b6 100644 --- a/lldb/test/API/lang/c/stepping/TestThreadStepping.py +++ b/lldb/test/API/lang/c/stepping/TestThreadStepping.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class ThreadSteppingTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/strings/TestCStrings.py b/lldb/test/API/lang/c/strings/TestCStrings.py index 597a247..bf74b47 100644 --- a/lldb/test/API/lang/c/strings/TestCStrings.py +++ b/lldb/test/API/lang/c/strings/TestCStrings.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class CStringsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Tests that C strings work as expected in expressions""" self.build() diff --git a/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py b/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py index b1fd2b8..11db3e1 100644 --- a/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py +++ b/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TlsGlobalTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/lang/c/typedef/Testtypedef.py b/lldb/test/API/lang/c/typedef/Testtypedef.py index 29a3c5a..d11b1d6 100644 --- a/lldb/test/API/lang/c/typedef/Testtypedef.py +++ b/lldb/test/API/lang/c/typedef/Testtypedef.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TypedefTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(compiler="clang", bugnumber="llvm.org/pr19238") def test_typedef(self): """Test 'image lookup -t a' and check for correct display at different scopes.""" diff --git a/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py b/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py index 9eb25e4..59b42be 100644 --- a/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py +++ b/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py @@ -7,8 +7,6 @@ from lldbsuite.test.decorators import * class TestUnicodeSymbols(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(compiler="clang", compiler_version=['<', '7.0']) def test_union_members(self): self.build() diff --git a/lldb/test/API/lang/c/unions/TestUnionMembers.py b/lldb/test/API/lang/c/unions/TestUnionMembers.py index e800b7c..0253011 100644 --- a/lldb/test/API/lang/c/unions/TestUnionMembers.py +++ b/lldb/test/API/lang/c/unions/TestUnionMembers.py @@ -5,8 +5,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestUnionMembers(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_union_members(self): self._load_exe() diff --git a/lldb/test/API/lang/c/vla/TestVLA.py b/lldb/test/API/lang/c/vla/TestVLA.py index 758406d..7d53e5d 100644 --- a/lldb/test/API/lang/c/vla/TestVLA.py +++ b/lldb/test/API/lang/c/vla/TestVLA.py @@ -6,8 +6,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestVLA(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(compiler="clang", compiler_version=['<', '8.0']) def test_variable_list(self): self.build() diff --git a/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py b/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py index 83499d8..47d5f23 100644 --- a/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py +++ b/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class CPPAcceleratorTableTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @skipIf(debug_info=no_match(["dwarf"])) def test(self): diff --git a/lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py b/lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py index 25f37ab..20755a8 100644 --- a/lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py +++ b/lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/auto/TestCPPAuto.py b/lldb/test/API/lang/cpp/auto/TestCPPAuto.py index c5b656b..920eb2b 100644 --- a/lldb/test/API/lang/cpp/auto/TestCPPAuto.py +++ b/lldb/test/API/lang/cpp/auto/TestCPPAuto.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class CPPAutoTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test that auto types work in the expression parser""" self.build() diff --git a/lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py b/lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py index 956ae27..f38d0f6 100644 --- a/lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py +++ b/lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class CppBitfieldsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_bitfields(self): self.build() diff --git a/lldb/test/API/lang/cpp/bool/TestCPPBool.py b/lldb/test/API/lang/cpp/bool/TestCPPBool.py index bff3e86..997f1a0 100644 --- a/lldb/test/API/lang/cpp/bool/TestCPPBool.py +++ b/lldb/test/API/lang/cpp/bool/TestCPPBool.py @@ -8,8 +8,6 @@ import lldbsuite.test.lldbutil as lldbutil class CPPBoolTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test that bool types work in the expression parser""" self.build() diff --git a/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py b/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py index 46846b4..258ae58 100644 --- a/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py +++ b/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py @@ -15,8 +15,6 @@ from lldbsuite.test.lldbtest import * class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_breakpoints_on_initializers(self): """Show we can set breakpoints on initializers appearing both before and after the constructor body, and hit them.""" diff --git a/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py b/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py index 8926492..1a6f94e 100644 --- a/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py +++ b/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CPPBreakpointCommandsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def make_breakpoint(self, name, type, expected_num_locations): bkpt = self.target.BreakpointCreateByName(name, type, diff --git a/lldb/test/API/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/TestBreakpointInMemberFuncWNonPrimitiveParams.py b/lldb/test/API/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/TestBreakpointInMemberFuncWNonPrimitiveParams.py index 41bb867..f75e2e1 100644 --- a/lldb/test/API/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/TestBreakpointInMemberFuncWNonPrimitiveParams.py +++ b/lldb/test/API/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/TestBreakpointInMemberFuncWNonPrimitiveParams.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestBreakpointInMemberFuncWNonPrimitiveParams(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["gmodules"]) def test_breakpint_in_member_func_w_non_primitie_params(self): self.build() diff --git a/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py b/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py index 6924ad2..ce5b564 100644 --- a/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py +++ b/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class CallCPPFunctionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.line = line_number('main.cpp', '// breakpoint') diff --git a/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py b/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py index 1813a0f..9c6f1e0 100644 --- a/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py +++ b/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestCppChainedCalls(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): self.build() lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.cpp")) diff --git a/lldb/test/API/lang/cpp/char1632_t/TestChar1632T.py b/lldb/test/API/lang/cpp/char1632_t/TestChar1632T.py index 1823029..6edde50 100644 --- a/lldb/test/API/lang/cpp/char1632_t/TestChar1632T.py +++ b/lldb/test/API/lang/cpp/char1632_t/TestChar1632T.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class Char1632TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py b/lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py index 71dfdbc..ed9f604 100644 --- a/lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py +++ b/lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class CxxChar8_tTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(compiler="clang", compiler_version=['<', '7.0']) @expectedFailureDarwin(archs=["arm64", "arm64e"]) # def test_without_process(self): diff --git a/lldb/test/API/lang/cpp/class-loading-via-member-typedef/TestClassLoadingViaMemberTypedef.py b/lldb/test/API/lang/cpp/class-loading-via-member-typedef/TestClassLoadingViaMemberTypedef.py index 6d1a85f..8e38876 100644 --- a/lldb/test/API/lang/cpp/class-loading-via-member-typedef/TestClassLoadingViaMemberTypedef.py +++ b/lldb/test/API/lang/cpp/class-loading-via-member-typedef/TestClassLoadingViaMemberTypedef.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py b/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py index 469cdfb..dac0c10 100644 --- a/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py +++ b/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCaseClassTemplateNonTypeParameterPack(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], archs=["i[3-6]86", "x86_64"]) # Fails to read memory from target. @no_debug_info_test def test(self): diff --git a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py index d452ae6..38b5a7c 100644 --- a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py +++ b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.cpp")) diff --git a/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py b/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py index 919b322..c8928cf 100644 --- a/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py +++ b/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCaseClassTemplateTypeParameterPack(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], archs=["i[3-6]86", "x86_64"]) # Fails to read memory from target. @no_debug_info_test def test(self): diff --git a/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py b/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py index 5d1a79e..8e11948 100644 --- a/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py +++ b/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class StaticVariableTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/class_types/TestClassTypes.py b/lldb/test/API/lang/cpp/class_types/TestClassTypes.py index 6ea1153..a108bd8 100644 --- a/lldb/test/API/lang/cpp/class_types/TestClassTypes.py +++ b/lldb/test/API/lang/cpp/class_types/TestClassTypes.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class ClassTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py b/lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py index 9f3d680..82a5294 100644 --- a/lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py +++ b/lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class IterateFrameAndDisassembleTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_and_run_command(self): """Disassemble each call frame when stopped on C's constructor.""" self.build() diff --git a/lldb/test/API/lang/cpp/complete-type-check/TestCppIsTypeComplete.py b/lldb/test/API/lang/cpp/complete-type-check/TestCppIsTypeComplete.py index 1059e03..b596611 100644 --- a/lldb/test/API/lang/cpp/complete-type-check/TestCppIsTypeComplete.py +++ b/lldb/test/API/lang/cpp/complete-type-check/TestCppIsTypeComplete.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def assertComplete(self, typename): """ Asserts that the type with the given name is complete. """ found_type = self.target().FindFirstType(typename) diff --git a/lldb/test/API/lang/cpp/const_this/TestConstThis.py b/lldb/test/API/lang/cpp/const_this/TestConstThis.py index b6790ff..4b7d3aa 100644 --- a/lldb/test/API/lang/cpp/const_this/TestConstThis.py +++ b/lldb/test/API/lang/cpp/const_this/TestConstThis.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def run_class_tests(self): diff --git a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py index 611af25..d726108 100644 --- a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py +++ b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc") def test_constructors(self): self.build() diff --git a/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py b/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py index 0e889ea..0f0d988 100644 --- a/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py +++ b/lldb/test/API/lang/cpp/covariant-return-types/TestCovariantReturnTypes.py @@ -3,8 +3,6 @@ from lldbsuite.test.lldbtest import * import lldbsuite.test.lldbutil as lldbutil class TestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/lang/cpp/crtp/TestCppCRTP.py b/lldb/test/API/lang/cpp/crtp/TestCppCRTP.py index f511ad7..0fecbc8 100644 --- a/lldb/test/API/lang/cpp/crtp/TestCppCRTP.py +++ b/lldb/test/API/lang/cpp/crtp/TestCppCRTP.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py b/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py index e009b23..709fccb 100644 --- a/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py +++ b/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestDefaultTemplateArgs(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py b/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py index 741fc6e..70aa977 100644 --- a/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py +++ b/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Tests deferencing lvalue/rvalue references via LLDB's builtin type system.""" self.build() diff --git a/lldb/test/API/lang/cpp/diamond/TestCppDiamond.py b/lldb/test/API/lang/cpp/diamond/TestCppDiamond.py index 4a561be..811612b 100644 --- a/lldb/test/API/lang/cpp/diamond/TestCppDiamond.py +++ b/lldb/test/API/lang/cpp/diamond/TestCppDiamond.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_with_sbvalue(self): """ diff --git a/lldb/test/API/lang/cpp/dynamic-value-same-basename/TestDynamicValueSameBase.py b/lldb/test/API/lang/cpp/dynamic-value-same-basename/TestDynamicValueSameBase.py index 7af4db6..0248922 100644 --- a/lldb/test/API/lang/cpp/dynamic-value-same-basename/TestDynamicValueSameBase.py +++ b/lldb/test/API/lang/cpp/dynamic-value-same-basename/TestDynamicValueSameBase.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * class DynamicValueSameBaseTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py index f37c337..010a7e4 100644 --- a/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py +++ b/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class CppValueCastTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(bugnumber="llvm.org/PR36714") @add_test_categories(['pyapi']) def test_value_cast_with_virtual_inheritance(self): diff --git a/lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py b/lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py index f865211..7ee15c7 100644 --- a/lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py +++ b/lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class DynamicValueTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/elaborated-types/TestElaboratedTypes.py b/lldb/test/API/lang/cpp/elaborated-types/TestElaboratedTypes.py index 97670ec..af2aabe 100644 --- a/lldb/test/API/lang/cpp/elaborated-types/TestElaboratedTypes.py +++ b/lldb/test/API/lang/cpp/elaborated-types/TestElaboratedTypes.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py b/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py index b0a52e1..9065985 100644 --- a/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py +++ b/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py @@ -8,8 +8,6 @@ import lldbsuite.test.lldbutil as lldbutil class CPP11EnumTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def check_enum(self, suffix): """ :param suffix The suffix of the enum type name (enum_) that diff --git a/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py b/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py index 9014ced..9515c42 100644 --- a/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py +++ b/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CPPBreakpointTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/forward-declared-template-specialization/TestCppForwardDeclaredTemplateSpecialization.py b/lldb/test/API/lang/cpp/forward-declared-template-specialization/TestCppForwardDeclaredTemplateSpecialization.py index 86d2bff..37961a5 100644 --- a/lldb/test/API/lang/cpp/forward-declared-template-specialization/TestCppForwardDeclaredTemplateSpecialization.py +++ b/lldb/test/API/lang/cpp/forward-declared-template-specialization/TestCppForwardDeclaredTemplateSpecialization.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """ Tests a forward declared template and a normal template in the same diff --git a/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py b/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py index 6462896..349ee8c 100644 --- a/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py +++ b/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py @@ -8,8 +8,6 @@ import lldbsuite.test.lldbutil as lldbutil class FrameVariableAnonymousUnionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Tests that frame variable looks into anonymous unions""" self.build() diff --git a/lldb/test/API/lang/cpp/function-local-class/TestCppFunctionLocalClass.py b/lldb/test/API/lang/cpp/function-local-class/TestCppFunctionLocalClass.py index dfbbfb8..53bfa7a 100644 --- a/lldb/test/API/lang/cpp/function-local-class/TestCppFunctionLocalClass.py +++ b/lldb/test/API/lang/cpp/function-local-class/TestCppFunctionLocalClass.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py b/lldb/test/API/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py index f765316..bc3b6d1 100644 --- a/lldb/test/API/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py +++ b/lldb/test/API/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() lldbutil.run_to_source_breakpoint(self,"// break here", lldb.SBFileSpec("main.cpp")) diff --git a/lldb/test/API/lang/cpp/global_operators/TestCppGlobalOperators.py b/lldb/test/API/lang/cpp/global_operators/TestCppGlobalOperators.py index 6d6ee00..2f7c7c87 100644 --- a/lldb/test/API/lang/cpp/global_operators/TestCppGlobalOperators.py +++ b/lldb/test/API/lang/cpp/global_operators/TestCppGlobalOperators.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCppGlobalOperators(TestBase): - mydir = TestBase.compute_mydir(__file__) - def prepare_executable_and_get_frame(self): self.build() diff --git a/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py b/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py index dbce44f..28e53a0 100644 --- a/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py +++ b/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class GlobalVariablesCppTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.source = lldb.SBFileSpec('main.cpp') diff --git a/lldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py b/lldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py index 53c3014..d79a753 100644 --- a/lldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py +++ b/lldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil class TestWithGmodulesDebugInfo(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(bugnumber="llvm.org/pr36146", oslist=["linux"], archs=["i386"]) @add_test_categories(["gmodules"]) def test_specialized_typedef_from_pch(self): diff --git a/lldb/test/API/lang/cpp/incompatible-class-templates/TestCppIncompatibleClassTemplates.py b/lldb/test/API/lang/cpp/incompatible-class-templates/TestCppIncompatibleClassTemplates.py index 61f8704..11b2b95 100644 --- a/lldb/test/API/lang/cpp/incompatible-class-templates/TestCppIncompatibleClassTemplates.py +++ b/lldb/test/API/lang/cpp/incompatible-class-templates/TestCppIncompatibleClassTemplates.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """ Test debugging a binary that has two templates with the same name diff --git a/lldb/test/API/lang/cpp/incomplete-types/TestCppIncompleteTypes.py b/lldb/test/API/lang/cpp/incomplete-types/TestCppIncompleteTypes.py index 6ebd67d..226ab8f 100644 --- a/lldb/test/API/lang/cpp/incomplete-types/TestCppIncompleteTypes.py +++ b/lldb/test/API/lang/cpp/incomplete-types/TestCppIncompleteTypes.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestCppIncompleteTypes(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(compiler="gcc") def test_limit_debug_info(self): self.build() diff --git a/lldb/test/API/lang/cpp/incomplete-types/members/TestCppIncompleteTypeMembers.py b/lldb/test/API/lang/cpp/incomplete-types/members/TestCppIncompleteTypeMembers.py index 4494b37..c4fe248 100644 --- a/lldb/test/API/lang/cpp/incomplete-types/members/TestCppIncompleteTypeMembers.py +++ b/lldb/test/API/lang/cpp/incomplete-types/members/TestCppIncompleteTypeMembers.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestCppIncompleteTypeMembers(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(oslist=['darwin','macos'], debug_info="gmodules") def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/inlines/TestInlines.py b/lldb/test/API/lang/cpp/inlines/TestInlines.py index 3184a53..8dd0ace 100644 --- a/lldb/test/API/lang/cpp/inlines/TestInlines.py +++ b/lldb/test/API/lang/cpp/inlines/TestInlines.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class InlinesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py b/lldb/test/API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py index c7c15ec..e5f9097 100644 --- a/lldb/test/API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py +++ b/lldb/test/API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_keyword(self): # Make sure that C++ keywords work in the expression parser. diff --git a/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py b/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py index 03bb402..0c6728b 100644 --- a/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py +++ b/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestWithLimitDebugInfo(TestBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["dwarf", "dwo"]) def test_limit_debug_info(self): self.build() diff --git a/lldb/test/API/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py b/lldb/test/API/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py index ac2b3b0..77afa46 100644 --- a/lldb/test/API/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py +++ b/lldb/test/API/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py @@ -6,8 +6,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestMembersAndLocalsWithSameName(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_when_stopped_in_method(self): self._load_exe() diff --git a/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py b/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py index 58a5fa2..7c760df 100644 --- a/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py +++ b/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class CXXModulesImportTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def build(self): include = self.getBuildArtifact('include') lldbutil.mkdir_p(include) diff --git a/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py b/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py index bc2b7a5..573a662 100644 --- a/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py +++ b/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.cpp")) diff --git a/lldb/test/API/lang/cpp/namespace/TestNamespace.py b/lldb/test/API/lang/cpp/namespace/TestNamespace.py index 87d9a25..af6568c 100644 --- a/lldb/test/API/lang/cpp/namespace/TestNamespace.py +++ b/lldb/test/API/lang/cpp/namespace/TestNamespace.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class NamespaceBreakpointTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(bugnumber="llvm.org/pr28548", compiler="gcc") @expectedFailureAll(oslist=["windows"]) def test_breakpoints_func_auto(self): @@ -99,8 +97,6 @@ class NamespaceBreakpointTestCase(TestBase): class NamespaceTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py b/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py index 5761ab7..3a27278 100644 --- a/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py +++ b/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class NamespaceLookupTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py b/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py index a82c28f..2572f39 100644 --- a/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py +++ b/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class NamespaceDefinitionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # See also llvm.org/pr28948 @expectedFailureAll( bugnumber="llvm.org/pr50814", diff --git a/lldb/test/API/lang/cpp/nested-class-other-compilation-unit/TestNestedClassWithParentInAnotherCU.py b/lldb/test/API/lang/cpp/nested-class-other-compilation-unit/TestNestedClassWithParentInAnotherCU.py index 5b590d6..fc3221a 100644 --- a/lldb/test/API/lang/cpp/nested-class-other-compilation-unit/TestNestedClassWithParentInAnotherCU.py +++ b/lldb/test/API/lang/cpp/nested-class-other-compilation-unit/TestNestedClassWithParentInAnotherCU.py @@ -9,7 +9,6 @@ from lldbsuite.test import lldbutil class TestNestedClassWithParentInAnotherCU(TestBase): - mydir = TestBase.compute_mydir(__file__) def test_nested_class_with_parent_in_another_cu(self): self.main_source_file = lldb.SBFileSpec("main.cpp") diff --git a/lldb/test/API/lang/cpp/non-type-template-param/TestCppNonTypeTemplateParam.py b/lldb/test/API/lang/cpp/non-type-template-param/TestCppNonTypeTemplateParam.py index 4db94da..71ba9b2 100644 --- a/lldb/test/API/lang/cpp/non-type-template-param/TestCppNonTypeTemplateParam.py +++ b/lldb/test/API/lang/cpp/non-type-template-param/TestCppNonTypeTemplateParam.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py b/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py index 8aa9b28..74c9a46 100644 --- a/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py +++ b/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCppNsImport(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Tests imported namespaces in C++.""" self.build() diff --git a/lldb/test/API/lang/cpp/operator-overload/TestOperatorOverload.py b/lldb/test/API/lang/cpp/operator-overload/TestOperatorOverload.py index c361a39..096cd3a 100644 --- a/lldb/test/API/lang/cpp/operator-overload/TestOperatorOverload.py +++ b/lldb/test/API/lang/cpp/operator-overload/TestOperatorOverload.py @@ -4,7 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestOperatorOverload(TestBase): - mydir = TestBase.compute_mydir(__file__) def test_overload(self): self.build() diff --git a/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py b/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py index 60207b1..ddc6a92 100644 --- a/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py +++ b/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class OverloadedFunctionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test that functions with the same name are resolved correctly""" self.build() diff --git a/lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py b/lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py index cd8977c..b67b32f 100644 --- a/lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py +++ b/lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # GCC rejects the test code because `ToLayout` is not complete when # pointer_to_member_member is declared. @skipIf(compiler="gcc") diff --git a/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py b/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py index f9ba26a..9074df8 100644 --- a/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py +++ b/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailure("The fix for this was reverted due to llvm.org/PR52257") def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/rvalue-references/TestRvalueReferences.py b/lldb/test/API/lang/cpp/rvalue-references/TestRvalueReferences.py index 5e31d93..d4ae132 100644 --- a/lldb/test/API/lang/cpp/rvalue-references/TestRvalueReferences.py +++ b/lldb/test/API/lang/cpp/rvalue-references/TestRvalueReferences.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class RvalueReferencesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # rdar://problem/11479676 @expectedFailureAll( compiler="icc", diff --git a/lldb/test/API/lang/cpp/scope/TestCppScope.py b/lldb/test/API/lang/cpp/scope/TestCppScope.py index a61f948..dcc3e6d 100644 --- a/lldb/test/API/lang/cpp/scope/TestCppScope.py +++ b/lldb/test/API/lang/cpp/scope/TestCppScope.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764") def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/scratch-context-merging/structs/TestCppScratchContextMergingStructs.py b/lldb/test/API/lang/cpp/scratch-context-merging/structs/TestCppScratchContextMergingStructs.py index 5cd51d6..958c469 100644 --- a/lldb/test/API/lang/cpp/scratch-context-merging/structs/TestCppScratchContextMergingStructs.py +++ b/lldb/test/API/lang/cpp/scratch-context-merging/structs/TestCppScratchContextMergingStructs.py @@ -17,8 +17,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def common_setup(self): self.build() lldbutil.run_to_source_breakpoint( diff --git a/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py b/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py index b7ae201..e94dabe 100644 --- a/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py +++ b/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class SignedTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/cpp/sizeof/TestCPPSizeof.py b/lldb/test/API/lang/cpp/sizeof/TestCPPSizeof.py index e7f4623..dc7bc5f 100644 --- a/lldb/test/API/lang/cpp/sizeof/TestCPPSizeof.py +++ b/lldb/test/API/lang/cpp/sizeof/TestCPPSizeof.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() self.createTestTarget() diff --git a/lldb/test/API/lang/cpp/static_member_type_depending_on_parent_size/TestStaticMemberTypeDependingOnParentSize.py b/lldb/test/API/lang/cpp/static_member_type_depending_on_parent_size/TestStaticMemberTypeDependingOnParentSize.py index ceeef9a..856a7ac 100644 --- a/lldb/test/API/lang/cpp/static_member_type_depending_on_parent_size/TestStaticMemberTypeDependingOnParentSize.py +++ b/lldb/test/API/lang/cpp/static_member_type_depending_on_parent_size/TestStaticMemberTypeDependingOnParentSize.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): """ diff --git a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py index 35e29cc..b698f22 100644 --- a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py +++ b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # We fail to lookup static members on Windows. @expectedFailureAll(oslist=["windows"]) def test_access_from_main(self): diff --git a/lldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py b/lldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py index ee4cc60..c974da4 100644 --- a/lldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py +++ b/lldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class CPPStaticMethodsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test that static methods are properly distinguished from regular methods""" self.build() diff --git a/lldb/test/API/lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py b/lldb/test/API/lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py index d667321..498e107 100644 --- a/lldb/test/API/lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py +++ b/lldb/test/API/lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class LibCxxFunctionSteppingIntoCallableTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @add_test_categories(["libc++"]) diff --git a/lldb/test/API/lang/cpp/stl/TestSTL.py b/lldb/test/API/lang/cpp/stl/TestSTL.py index e796df6..27a4ee2 100644 --- a/lldb/test/API/lang/cpp/stl/TestSTL.py +++ b/lldb/test/API/lang/cpp/stl/TestSTL.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class STLTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf @expectedFailureAll(bugnumber="llvm.org/PR36713") def test(self): diff --git a/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py b/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py index 9e5e651..70e925b 100644 --- a/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py +++ b/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py @@ -14,8 +14,6 @@ from lldbsuite.test.decorators import * class StdCXXDisassembleTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows def test_stdcxx_disasm(self): """Do 'disassemble' on each and every 'Code' symbol entry from the std c++ lib.""" diff --git a/lldb/test/API/lang/cpp/struct_with_keyword_name/TestStructWithKeywordName.py b/lldb/test/API/lang/cpp/struct_with_keyword_name/TestStructWithKeywordName.py index af3b5a1..0790280 100644 --- a/lldb/test/API/lang/cpp/struct_with_keyword_name/TestStructWithKeywordName.py +++ b/lldb/test/API/lang/cpp/struct_with_keyword_name/TestStructWithKeywordName.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py b/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py index 603c2df..7129002 100644 --- a/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py +++ b/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestStructuredBinding(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(oslist=["linux"], archs=["arm"]) @skipIf(compiler="clang", compiler_version=['<', '14.0']) def test(self): diff --git a/lldb/test/API/lang/cpp/subst_template_type_param/TestSubstTemplateTypeParam.py b/lldb/test/API/lang/cpp/subst_template_type_param/TestSubstTemplateTypeParam.py index 528ed94..47ba550 100644 --- a/lldb/test/API/lang/cpp/subst_template_type_param/TestSubstTemplateTypeParam.py +++ b/lldb/test/API/lang/cpp/subst_template_type_param/TestSubstTemplateTypeParam.py @@ -10,8 +10,6 @@ from lldbsuite.test import decorators class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_typedef(self): target = self.dbg.GetDummyTarget() diff --git a/lldb/test/API/lang/cpp/template-arguments/TestCppTemplateArguments.py b/lldb/test/API/lang/cpp/template-arguments/TestCppTemplateArguments.py index 3ba86bc..8ec8089 100644 --- a/lldb/test/API/lang/cpp/template-arguments/TestCppTemplateArguments.py +++ b/lldb/test/API/lang/cpp/template-arguments/TestCppTemplateArguments.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py b/lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py index 0e74185..49ddd1a 100644 --- a/lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py +++ b/lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TemplateFunctionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def do_test_template_function(self, add_cast): self.build() lldbutil.run_to_source_breakpoint(self, '// break here', diff --git a/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py b/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py index 31f0081..3968f3a 100644 --- a/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py +++ b/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TemplateSpecializationTypeTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_template_specialization_cast_children(self): self.build() lldbutil.run_to_source_breakpoint(self, '// break here', diff --git a/lldb/test/API/lang/cpp/template/TestTemplateArgs.py b/lldb/test/API/lang/cpp/template/TestTemplateArgs.py index 67310ad..a2d37fd 100644 --- a/lldb/test/API/lang/cpp/template/TestTemplateArgs.py +++ b/lldb/test/API/lang/cpp/template/TestTemplateArgs.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TemplateArgsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def prepareProcess(self): self.build() diff --git a/lldb/test/API/lang/cpp/this/TestCPPThis.py b/lldb/test/API/lang/cpp/this/TestCPPThis.py index 43b00f9..7a8c5c5 100644 --- a/lldb/test/API/lang/cpp/this/TestCPPThis.py +++ b/lldb/test/API/lang/cpp/this/TestCPPThis.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class CPPThisTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # rdar://problem/9962849 @expectedFailureAll( compiler="gcc", diff --git a/lldb/test/API/lang/cpp/this_class_type_mixing/TestThisClassTypeMixing.py b/lldb/test/API/lang/cpp/this_class_type_mixing/TestThisClassTypeMixing.py index 8b09332..29c3c5d 100644 --- a/lldb/test/API/lang/cpp/this_class_type_mixing/TestThisClassTypeMixing.py +++ b/lldb/test/API/lang/cpp/this_class_type_mixing/TestThisClassTypeMixing.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py b/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py index 38b8cb5..e0ecee1 100644 --- a/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py +++ b/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbtest class PlatformProcessCrashInfoTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows", "linux", "freebsd", "netbsd"]) def test_thread_local(self): # Set a breakpoint on the first instruction of the main function, diff --git a/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py b/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py index 16e078e..cae6c95 100644 --- a/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py +++ b/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestTrivialABI(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipUnlessSupportedTypeAttribute("trivial_abi") diff --git a/lldb/test/API/lang/cpp/type_lookup/TestCppTypeLookup.py b/lldb/test/API/lang/cpp/type_lookup/TestCppTypeLookup.py index acbc8be..fffdf7a 100644 --- a/lldb/test/API/lang/cpp/type_lookup/TestCppTypeLookup.py +++ b/lldb/test/API/lang/cpp/type_lookup/TestCppTypeLookup.py @@ -11,8 +11,6 @@ from lldbsuite.test import decorators class TestCppTypeLookup(TestBase): - mydir = TestBase.compute_mydir(__file__) - def check_value(self, value, ivar_name, ivar_value): self.assertSuccess(value.GetError(), "Invalid valobj") ivar = value.GetChildMemberWithName(ivar_name) diff --git a/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py b/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py index f3f54a8..7130151 100644 --- a/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py +++ b/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py @@ -10,8 +10,6 @@ from lldbsuite.test import decorators class TestCppTypedef(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_typedef(self): """ Test that we retrieve typedefed types correctly diff --git a/lldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py b/lldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py index 9c5289c..244bbf7 100644 --- a/lldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py +++ b/lldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.expect_expr("int i; __typeof__(i) j = 1; j", result_type="typeof (i)", result_value="1") diff --git a/lldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py b/lldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py index 931890e..0cca881 100644 --- a/lldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py +++ b/lldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py @@ -26,8 +26,6 @@ from lldbsuite.test import lldbutil class UnicodeLiteralsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_expr1(self): """Test that the expression parser returns proper Unicode strings.""" self.rdar12991846(expr=1) diff --git a/lldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py b/lldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py index 1d20650..fe85c63 100644 --- a/lldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py +++ b/lldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class UniqueTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test for unique types of std::vector and std::vector.""" self.build() diff --git a/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py b/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py index d6b6899..3328ac0 100644 --- a/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py +++ b/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class UnsignedTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test that variables with unsigned types display correctly.""" self.build() diff --git a/lldb/test/API/lang/cpp/virtual-functions/TestCppVirtualFunctions.py b/lldb/test/API/lang/cpp/virtual-functions/TestCppVirtualFunctions.py index 4cbbc86..a40cfda 100644 --- a/lldb/test/API/lang/cpp/virtual-functions/TestCppVirtualFunctions.py +++ b/lldb/test/API/lang/cpp/virtual-functions/TestCppVirtualFunctions.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def common_setup(self): self.build() lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.cpp")) diff --git a/lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py b/lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py index 79f6552..27a5a28 100644 --- a/lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py +++ b/lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class CxxWCharTTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """Test that C++ supports wchar_t correctly.""" self.build() diff --git a/lldb/test/API/lang/mixed/TestMixedLanguages.py b/lldb/test/API/lang/mixed/TestMixedLanguages.py index b4fe539..c7d2685 100644 --- a/lldb/test/API/lang/mixed/TestMixedLanguages.py +++ b/lldb/test/API/lang/mixed/TestMixedLanguages.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import * class MixedLanguagesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_language_of_frame(self): """Test that the language defaults to the language of the current frame.""" self.build() diff --git a/lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py b/lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py index 4e7590d..8293842 100644 --- a/lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py +++ b/lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestBitfieldIvars(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() diff --git a/lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py b/lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py index fcefdf0..2c1ea72 100644 --- a/lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py +++ b/lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestObjCIvarsInBlocks(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/complete-type-check/TestObjCIsTypeComplete.py b/lldb/test/API/lang/objc/complete-type-check/TestObjCIsTypeComplete.py index 7820d4c..9547c44 100644 --- a/lldb/test/API/lang/objc/complete-type-check/TestObjCIsTypeComplete.py +++ b/lldb/test/API/lang/objc/complete-type-check/TestObjCIsTypeComplete.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @no_debug_info_test def test(self): diff --git a/lldb/test/API/lang/objc/conflicting-class-list-function-from-user/TestObjCClassListFunctionFromUser.py b/lldb/test/API/lang/objc/conflicting-class-list-function-from-user/TestObjCClassListFunctionFromUser.py index 87f6d2b..0bcc6ee 100644 --- a/lldb/test/API/lang/objc/conflicting-class-list-function-from-user/TestObjCClassListFunctionFromUser.py +++ b/lldb/test/API/lang/objc/conflicting-class-list-function-from-user/TestObjCClassListFunctionFromUser.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin # LLDB ends up calling the user-defined function (but at least doesn't # crash). diff --git a/lldb/test/API/lang/objc/conflicting-definition/TestConflictingDefinition.py b/lldb/test/API/lang/objc/conflicting-definition/TestConflictingDefinition.py index b7cc7db..5c37b28 100644 --- a/lldb/test/API/lang/objc/conflicting-definition/TestConflictingDefinition.py +++ b/lldb/test/API/lang/objc/conflicting-definition/TestConflictingDefinition.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestRealDefinition(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_frame_var_after_stop_at_implementation(self): """Test that we can find the implementation for an objective C type""" if self.getArchitecture() == 'i386': diff --git a/lldb/test/API/lang/objc/cpp_keyword_identifiers/TestCppKeywordsAsObjCIdentifiers.py b/lldb/test/API/lang/objc/cpp_keyword_identifiers/TestCppKeywordsAsObjCIdentifiers.py index feae4f0..0162383 100644 --- a/lldb/test/API/lang/objc/cpp_keyword_identifiers/TestCppKeywordsAsObjCIdentifiers.py +++ b/lldb/test/API/lang/objc/cpp_keyword_identifiers/TestCppKeywordsAsObjCIdentifiers.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @no_debug_info_test def test(self): diff --git a/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py b/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py index 3787775..8f6ae64 100644 --- a/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py +++ b/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCDirectDispatchStepping(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py b/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py index d72334a..54473e0 100644 --- a/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py +++ b/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ObjCExceptionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_objc_exceptions_at_throw(self): self.build() diff --git a/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py b/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py index 0956ca0..0b6ffd8 100644 --- a/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py +++ b/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ForwardDeclTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/foundation/TestConstStrings.py b/lldb/test/API/lang/objc/foundation/TestConstStrings.py index 9a5bdf8..e9edf72 100644 --- a/lldb/test/API/lang/objc/foundation/TestConstStrings.py +++ b/lldb/test/API/lang/objc/foundation/TestConstStrings.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ConstStringTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) d = {'OBJC_SOURCES': 'const-strings.m'} def setUp(self): diff --git a/lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py b/lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py index 8ff1611..4ee7ec5 100644 --- a/lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py +++ b/lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class FoundationDisassembleTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfAsan diff --git a/lldb/test/API/lang/objc/foundation/TestObjCMethods.py b/lldb/test/API/lang/objc/foundation/TestObjCMethods.py index c60b01b..ac44779 100644 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethods.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethods.py @@ -18,8 +18,6 @@ file_index = 0 class FoundationTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/foundation/TestObjCMethods2.py b/lldb/test/API/lang/objc/foundation/TestObjCMethods2.py index 1446c74..b77c8e7 100644 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethods2.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethods2.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class FoundationTestCase2(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_expr_commands(self): diff --git a/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSArray.py b/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSArray.py index dd0d028..64fa1bc 100644 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSArray.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSArray.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class FoundationTestCaseNSArray(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_NSArray_expr_commands(self): """Test expression commands for NSArray.""" self.build() diff --git a/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py b/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py index 4a04de3..616557b 100644 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class FoundationTestCaseNSError(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(archs=["i[3-6]86"], bugnumber="") def test_runtime_types(self): """Test commands that require runtime types""" diff --git a/lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py b/lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py index 4a51a47..9760d6a 100644 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class FoundationTestCaseString(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_NSString_expr_commands(self): """Test expression commands for NSString.""" self.build() diff --git a/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py b/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py index f09b8ea..fd9713c 100644 --- a/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py +++ b/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ObjectDescriptionAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py b/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py index 9115d5a..c2e9c6b 100644 --- a/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py +++ b/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class RuntimeTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["macosx"], debug_info="gmodules", diff --git a/lldb/test/API/lang/objc/foundation/TestSymbolTable.py b/lldb/test/API/lang/objc/foundation/TestSymbolTable.py index 7434258..0afcb17 100644 --- a/lldb/test/API/lang/objc/foundation/TestSymbolTable.py +++ b/lldb/test/API/lang/objc/foundation/TestSymbolTable.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class FoundationSymtabTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - symbols_list = ['-[MyString initWithNSString:]', '-[MyString dealloc]', '-[MyString description]', diff --git a/lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py b/lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py index 1f88884..8ff90ef 100644 --- a/lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py +++ b/lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCGlobalVar(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py b/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py index f904369..20dcb05 100644 --- a/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py +++ b/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class HiddenIvarsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py b/lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py index c85c74a..ac5fa48 100644 --- a/lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py +++ b/lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ObjCiVarIMPTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(archs=['i386']) # objc file does not build for i386 @no_debug_info_test def test_imp_ivar_type(self): diff --git a/lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py b/lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py index 45870e8..4a801e2 100644 --- a/lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py +++ b/lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestClangModuleAppUpdate(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIf(debug_info=no_match(["gmodules"])) def test_rebuild_app_modules_untouched(self): diff --git a/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py b/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py index ceef95d..97071dc 100644 --- a/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py +++ b/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCModulesAutoImportTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/modules-cache/TestClangModulesCache.py b/lldb/test/API/lang/objc/modules-cache/TestClangModulesCache.py index 0e24122..72ce864 100644 --- a/lldb/test/API/lang/objc/modules-cache/TestClangModulesCache.py +++ b/lldb/test/API/lang/objc/modules-cache/TestClangModulesCache.py @@ -14,7 +14,6 @@ from lldbsuite.test import lldbutil class ObjCModulesTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def test_expr(self): self.build() diff --git a/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py b/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py index 36cf050..9a5cb25 100644 --- a/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py +++ b/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(compiler="clang", compiler_version=['<', '11.0']) def test(self): self.build() diff --git a/lldb/test/API/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py b/lldb/test/API/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py index bb5dd36..1c9e8be 100644 --- a/lldb/test/API/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py +++ b/lldb/test/API/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestClangModuleHashMismatch(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIf(debug_info=no_match(["gmodules"])) def test_expr(self): diff --git a/lldb/test/API/lang/objc/modules-incomplete/TestIncompleteModules.py b/lldb/test/API/lang/objc/modules-incomplete/TestIncompleteModules.py index fc598ea..1e17719 100644 --- a/lldb/test/API/lang/objc/modules-incomplete/TestIncompleteModules.py +++ b/lldb/test/API/lang/objc/modules-incomplete/TestIncompleteModules.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class IncompleteModulesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py b/lldb/test/API/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py index a71e72f..77036c46 100644 --- a/lldb/test/API/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py +++ b/lldb/test/API/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ModulesInlineFunctionsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(macos_version=["<", "10.12"], debug_info=no_match(["gmodules"])) def test_expr(self): self.build() diff --git a/lldb/test/API/lang/objc/modules-non-objc-target/TestObjCModulesNonObjCTarget.py b/lldb/test/API/lang/objc/modules-non-objc-target/TestObjCModulesNonObjCTarget.py index 036d9dc..259883b 100644 --- a/lldb/test/API/lang/objc/modules-non-objc-target/TestObjCModulesNonObjCTarget.py +++ b/lldb/test/API/lang/objc/modules-non-objc-target/TestObjCModulesNonObjCTarget.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() lldbutil.run_to_source_breakpoint(self,"// break here", lldb.SBFileSpec("main.c")) diff --git a/lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py b/lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py index d23949f..3ae90a8 100644 --- a/lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py +++ b/lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test_conflicting_properties(self): """ Tests receiving two properties with the same name from modules.""" diff --git a/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py b/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py index 82adfd9..dfa2e0a 100644 --- a/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py +++ b/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py @@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil class TestClangModuleUpdate(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIf(debug_info=no_match(["gmodules"])) @skipIfDarwin # rdar://76540904 diff --git a/lldb/test/API/lang/objc/modules/TestObjCModules.py b/lldb/test/API/lang/objc/modules/TestObjCModules.py index 66c1b33..a0ccf42 100644 --- a/lldb/test/API/lang/objc/modules/TestObjCModules.py +++ b/lldb/test/API/lang/objc/modules/TestObjCModules.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCModulesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc++/TestObjCXX.py b/lldb/test/API/lang/objc/objc++/TestObjCXX.py index d04fba7..8fa469d 100644 --- a/lldb/test/API/lang/objc/objc++/TestObjCXX.py +++ b/lldb/test/API/lang/objc/objc++/TestObjCXX.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCXXTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_break(self): """Test ivars of Objective-C++ classes""" if self.getArchitecture() == 'i386': diff --git a/lldb/test/API/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py b/lldb/test/API/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py index 17bc531..2cbfd29 100644 --- a/lldb/test/API/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py +++ b/lldb/test/API/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCDynamicValueTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py b/lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py index f974b29..4c69e39 100644 --- a/lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py +++ b/lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCCheckerTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py b/lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py index 27d4507..c1fd603 100644 --- a/lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py +++ b/lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestObjCClassMethod(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py b/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py index d67d838..363b231 100644 --- a/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py +++ b/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCDynamicSBTypeTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py b/lldb/test/API/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py index d70ff32..71d5a34 100644 --- a/lldb/test/API/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py +++ b/lldb/test/API/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCDynamicValueTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py b/lldb/test/API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py index 9f9e5d1..25ccf29 100644 --- a/lldb/test/API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py +++ b/lldb/test/API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCIvarOffsets(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py b/lldb/test/API/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py index bc14acc..d5ee49e 100644 --- a/lldb/test/API/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py +++ b/lldb/test/API/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCIvarStripped(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py b/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py index fc66af2..7dd407d 100644 --- a/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py +++ b/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class ObjCNewSyntaxTest(TestBase): - mydir = TestBase.compute_mydir(__file__) - def target(self): return self._target diff --git a/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py b/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py index 3410cc6..d565dea 100644 --- a/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py +++ b/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py @@ -20,8 +20,6 @@ from lldbsuite.test import lldbutil class ObjcOptimizedTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) myclass = "MyClass" mymethod = "description" method_spec = "-[%s %s]" % (myclass, mymethod) diff --git a/lldb/test/API/lang/objc/objc-property/TestObjCProperty.py b/lldb/test/API/lang/objc/objc-property/TestObjCProperty.py index 73bf673..1582d3f 100644 --- a/lldb/test/API/lang/objc/objc-property/TestObjCProperty.py +++ b/lldb/test/API/lang/objc/objc-property/TestObjCProperty.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCPropertyTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py b/lldb/test/API/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py index cb3cce6..646600b 100644 --- a/lldb/test/API/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py +++ b/lldb/test/API/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCStaticMethodStripped(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-static-method/TestObjCStaticMethod.py b/lldb/test/API/lang/objc/objc-static-method/TestObjCStaticMethod.py index 786547e..09830ed 100644 --- a/lldb/test/API/lang/objc/objc-static-method/TestObjCStaticMethod.py +++ b/lldb/test/API/lang/objc/objc-static-method/TestObjCStaticMethod.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCStaticMethod(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py b/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py index b77a13f..7943f54 100644 --- a/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py +++ b/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestObjCStepping(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py b/lldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py index 3530ebc..1be684c 100644 --- a/lldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py +++ b/lldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCStructArgument(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-struct-return/TestObjCStructReturn.py b/lldb/test/API/lang/objc/objc-struct-return/TestObjCStructReturn.py index 8fe0aea..8c83552 100644 --- a/lldb/test/API/lang/objc/objc-struct-return/TestObjCStructReturn.py +++ b/lldb/test/API/lang/objc/objc-struct-return/TestObjCStructReturn.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCClassMethod(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/objc-super/TestObjCSuper.py b/lldb/test/API/lang/objc/objc-super/TestObjCSuper.py index 47f7dd9..3df5393 100644 --- a/lldb/test/API/lang/objc/objc-super/TestObjCSuper.py +++ b/lldb/test/API/lang/objc/objc-super/TestObjCSuper.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestObjCSuperMethod(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py b/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py index ac7af26..d992c54 100644 --- a/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py +++ b/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py @@ -4,7 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestOrderedSet(TestBase): - mydir = TestBase.compute_mydir(__file__) def test_ordered_set(self): self.build() diff --git a/lldb/test/API/lang/objc/print-obj/TestPrintObj.py b/lldb/test/API/lang/objc/print-obj/TestPrintObj.py index 6e32a67..18d60d2 100644 --- a/lldb/test/API/lang/objc/print-obj/TestPrintObj.py +++ b/lldb/test/API/lang/objc/print-obj/TestPrintObj.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class PrintObjTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py b/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py index b97a7f5..badc81a 100644 --- a/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py +++ b/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestPtrRefsObjC(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfAsan # The output looks different under ASAN. def test_ptr_refs(self): """Test the ptr_refs tool on Darwin with Objective-C""" diff --git a/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py b/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py index 18084fd..3cb783c 100644 --- a/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py +++ b/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class MethodReturningBOOLTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py b/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py index e7a9979..05541b2 100644 --- a/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py +++ b/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class Rdar10967107TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py b/lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py index 2ec1b5f..f0f3ec4 100644 --- a/lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py +++ b/lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class Rdar10967107TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py b/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py index fe9d58e..376db0f 100644 --- a/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py +++ b/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py @@ -17,8 +17,6 @@ from lldbsuite.test import lldbutil # and gives a spurious failure. class Rdar12408181TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/real-definition/TestRealDefinition.py b/lldb/test/API/lang/objc/real-definition/TestRealDefinition.py index ff3e46f..c182bc1 100644 --- a/lldb/test/API/lang/objc/real-definition/TestRealDefinition.py +++ b/lldb/test/API/lang/objc/real-definition/TestRealDefinition.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestRealDefinition(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_frame_var_after_stop_at_interface(self): """Test that we can find the implementation for an objective C type""" if self.getArchitecture() == 'i386': diff --git a/lldb/test/API/lang/objc/self/TestObjCSelf.py b/lldb/test/API/lang/objc/self/TestObjCSelf.py index 5773cdc..05f525c 100644 --- a/lldb/test/API/lang/objc/self/TestObjCSelf.py +++ b/lldb/test/API/lang/objc/self/TestObjCSelf.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class ObjCSelfTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_run_command(self): """Test that the appropriate member variables are available when stopped in Objective-C class and instance methods""" self.build() diff --git a/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py b/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py index d039466..770eae9 100644 --- a/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py +++ b/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ObjCSingleEntryDictionaryTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py b/lldb/test/API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py index e5ad111..b0cd4e9 100644 --- a/lldb/test/API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py +++ b/lldb/test/API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestTaggedPointerCommand(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/lang/objc/warnings-in-expr-parser/TestObjCWarningsInExprParser.py b/lldb/test/API/lang/objc/warnings-in-expr-parser/TestObjCWarningsInExprParser.py index b0b52cb..7f9f29d 100644 --- a/lldb/test/API/lang/objc/warnings-in-expr-parser/TestObjCWarningsInExprParser.py +++ b/lldb/test/API/lang/objc/warnings-in-expr-parser/TestObjCWarningsInExprParser.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @no_debug_info_test def test(self): diff --git a/lldb/test/API/lang/objcxx/conflicting-names-class-update-utility-expr/TestObjCConflictingNamesForClassUpdateExpr.py b/lldb/test/API/lang/objcxx/conflicting-names-class-update-utility-expr/TestObjCConflictingNamesForClassUpdateExpr.py index cac6508..86d8f4e 100644 --- a/lldb/test/API/lang/objcxx/conflicting-names-class-update-utility-expr/TestObjCConflictingNamesForClassUpdateExpr.py +++ b/lldb/test/API/lang/objcxx/conflicting-names-class-update-utility-expr/TestObjCConflictingNamesForClassUpdateExpr.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): """ Tests that running the utility expression that retrieves the Objective-C diff --git a/lldb/test/API/lang/objcxx/cpp_keywords_enabled/TestObjCppKeywordsEnabled.py b/lldb/test/API/lang/objcxx/cpp_keywords_enabled/TestObjCppKeywordsEnabled.py index f874353..b5ffc50 100644 --- a/lldb/test/API/lang/objcxx/cpp_keywords_enabled/TestObjCppKeywordsEnabled.py +++ b/lldb/test/API/lang/objcxx/cpp_keywords_enabled/TestObjCppKeywordsEnabled.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @no_debug_info_test def test_keyword(self): diff --git a/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py b/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py index fe0be05..5b96aed 100644 --- a/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py +++ b/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py @@ -5,8 +5,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestObjCXXBridgedPO(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_bridged_type_po(self): self.build() lldbutil.run_to_source_breakpoint( diff --git a/lldb/test/API/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py b/lldb/test/API/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py index 7e16aeb..1e0b1b0 100644 --- a/lldb/test/API/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py +++ b/lldb/test/API/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py @@ -7,8 +7,6 @@ import unittest2 class TestObjCXXHideRuntimeSupportValues(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_hide_runtime_support_values(self): self.build() _, process, _, _ = lldbutil.run_to_source_breakpoint( diff --git a/lldb/test/API/lang/objcxx/objc-builtin-types/TestObjCBuiltinTypes.py b/lldb/test/API/lang/objcxx/objc-builtin-types/TestObjCBuiltinTypes.py index 7e7ac75..f612306 100644 --- a/lldb/test/API/lang/objcxx/objc-builtin-types/TestObjCBuiltinTypes.py +++ b/lldb/test/API/lang/objcxx/objc-builtin-types/TestObjCBuiltinTypes.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestObjCBuiltinTypes(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/linux/aarch64/mte_memory_region/TestAArch64LinuxMTEMemoryRegion.py b/lldb/test/API/linux/aarch64/mte_memory_region/TestAArch64LinuxMTEMemoryRegion.py index e271a8b..af267fc 100644 --- a/lldb/test/API/linux/aarch64/mte_memory_region/TestAArch64LinuxMTEMemoryRegion.py +++ b/lldb/test/API/linux/aarch64/mte_memory_region/TestAArch64LinuxMTEMemoryRegion.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class AArch64LinuxMTEMemoryRegionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipUnlessArch("aarch64") diff --git a/lldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py b/lldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py index ec5d110..9cdbf36 100644 --- a/lldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py +++ b/lldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class AArch64LinuxMTEMemoryTagAccessTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setup_mte_test(self): diff --git a/lldb/test/API/linux/aarch64/mte_tag_faults/TestAArch64LinuxMTEMemoryTagFaults.py b/lldb/test/API/linux/aarch64/mte_tag_faults/TestAArch64LinuxMTEMemoryTagFaults.py index 62234e6..6c1c45d 100644 --- a/lldb/test/API/linux/aarch64/mte_tag_faults/TestAArch64LinuxMTEMemoryTagFaults.py +++ b/lldb/test/API/linux/aarch64/mte_tag_faults/TestAArch64LinuxMTEMemoryTagFaults.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class AArch64LinuxMTEMemoryTagFaultsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setup_mte_test(self, fault_type): diff --git a/lldb/test/API/linux/aarch64/non_address_bit_memory_access/TestAArch64LinuxNonAddressBitMemoryAccess.py b/lldb/test/API/linux/aarch64/non_address_bit_memory_access/TestAArch64LinuxNonAddressBitMemoryAccess.py index d3de12d..87953cba 100644 --- a/lldb/test/API/linux/aarch64/non_address_bit_memory_access/TestAArch64LinuxNonAddressBitMemoryAccess.py +++ b/lldb/test/API/linux/aarch64/non_address_bit_memory_access/TestAArch64LinuxNonAddressBitMemoryAccess.py @@ -16,8 +16,6 @@ from lldbsuite.test import lldbutil class AArch64LinuxNonAddressBitMemoryAccessTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setup_test(self): diff --git a/lldb/test/API/linux/aarch64/tagged_memory_access/TestAArch64LinuxTaggedMemoryAccess.py b/lldb/test/API/linux/aarch64/tagged_memory_access/TestAArch64LinuxTaggedMemoryAccess.py index 3cc0d70..7ae7df7 100644 --- a/lldb/test/API/linux/aarch64/tagged_memory_access/TestAArch64LinuxTaggedMemoryAccess.py +++ b/lldb/test/API/linux/aarch64/tagged_memory_access/TestAArch64LinuxTaggedMemoryAccess.py @@ -16,8 +16,6 @@ from lldbsuite.test import lldbutil class AArch64LinuxTaggedMemoryReadTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setup_test(self): diff --git a/lldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64LinuxTaggedMemoryRegion.py b/lldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64LinuxTaggedMemoryRegion.py index cbd772e..104ab9c 100644 --- a/lldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64LinuxTaggedMemoryRegion.py +++ b/lldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64LinuxTaggedMemoryRegion.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class AArch64LinuxTaggedMemoryRegionTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True # AArch64 Linux always enables the top byte ignore feature diff --git a/lldb/test/API/linux/aarch64/unwind_signal/TestUnwindSignal.py b/lldb/test/API/linux/aarch64/unwind_signal/TestUnwindSignal.py index 9d09694..a635fb4 100644 --- a/lldb/test/API/linux/aarch64/unwind_signal/TestUnwindSignal.py +++ b/lldb/test/API/linux/aarch64/unwind_signal/TestUnwindSignal.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class UnwindSignalTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipUnlessArch("aarch64") diff --git a/lldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py b/lldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py index d889807..a4ae010 100644 --- a/lldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py +++ b/lldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil class TargetSymbolsAddCommand(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.source = 'main.c' diff --git a/lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py b/lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py index bc67de6..ab20434 100644 --- a/lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py +++ b/lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class BuiltinTrapTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/linux/mix-dwo-and-regular-objects/TestMixedDwarfBinary.py b/lldb/test/API/linux/mix-dwo-and-regular-objects/TestMixedDwarfBinary.py index a22a8be..175bd06 100644 --- a/lldb/test/API/linux/mix-dwo-and-regular-objects/TestMixedDwarfBinary.py +++ b/lldb/test/API/linux/mix-dwo-and-regular-objects/TestMixedDwarfBinary.py @@ -6,7 +6,6 @@ from lldbsuite.test import lldbutil class TestMixedDwarfBinary(TestBase): - mydir = TestBase.compute_mydir(__file__) @no_debug_info_test # Prevent the genaration of the dwarf version of this test @add_test_categories(["dwo"]) diff --git a/lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py b/lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py index 7338332..3c1971d 100644 --- a/lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py +++ b/lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil class TestTargetSymbolsSepDebugSymlink(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test # Prevent the genaration of the dwarf version of this test @skipUnlessPlatform(['linux']) @skipIf(hostoslist=["windows"]) diff --git a/lldb/test/API/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py b/lldb/test/API/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py index 5b33877..e6d4db9 100644 --- a/lldb/test/API/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py +++ b/lldb/test/API/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class CreateDuringInstructionStepTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipUnlessPlatform(['linux']) diff --git a/lldb/test/API/lua_api/TestLuaAPI.py b/lldb/test/API/lua_api/TestLuaAPI.py index bf25ded..32ec833 100644 --- a/lldb/test/API/lua_api/TestLuaAPI.py +++ b/lldb/test/API/lua_api/TestLuaAPI.py @@ -130,8 +130,6 @@ def executeCommand(command, cwd=None, env=None, input=None, timeout=0): return out, err, exitCode class TestLuaAPI(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def get_tests(self): diff --git a/lldb/test/API/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py b/lldb/test/API/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py index 5075868..91cfd46 100644 --- a/lldb/test/API/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py +++ b/lldb/test/API/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py @@ -8,8 +8,6 @@ import unittest2 class TestDSYMSourcePathRemapping(lldbtest.TestBase): - mydir = lldbtest.TestBase.compute_mydir(__file__) - def build(self): botdir = self.getBuildArtifact('buildbot') userdir = self.getBuildArtifact('user') diff --git a/lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py b/lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py index 68efcc8..2bb6f11 100644 --- a/lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py +++ b/lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil @skipUnlessDarwin class AddDsymDownload(TestBase): - - mydir = TestBase.compute_mydir(__file__) dwarfdump_uuid_regex = re.compile('UUID: ([-0-9a-fA-F]+) \(([^\(]+)\) .*') def get_uuid(self): diff --git a/lldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py b/lldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py index 639f57d..25bf894 100644 --- a/lldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py +++ b/lldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil @skipUnlessDarwin class AddDsymMidExecutionCommandCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/macosx/builtin-debugtrap/TestBuiltinDebugTrap.py b/lldb/test/API/macosx/builtin-debugtrap/TestBuiltinDebugTrap.py index d645da4..0ebb071 100644 --- a/lldb/test/API/macosx/builtin-debugtrap/TestBuiltinDebugTrap.py +++ b/lldb/test/API/macosx/builtin-debugtrap/TestBuiltinDebugTrap.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import * class BuiltinDebugTrapTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True # Currently this depends on behavior in debugserver to diff --git a/lldb/test/API/macosx/corefile-default-ptrauth/TestCorefileDefaultPtrauth.py b/lldb/test/API/macosx/corefile-default-ptrauth/TestCorefileDefaultPtrauth.py index d3b0861..f9a62bc 100644 --- a/lldb/test/API/macosx/corefile-default-ptrauth/TestCorefileDefaultPtrauth.py +++ b/lldb/test/API/macosx/corefile-default-ptrauth/TestCorefileDefaultPtrauth.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TestCorefileDefaultPtrauth(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(debug_info=no_match(["dsym"]), bugnumber="This test is looking explicitly for a dSYM") @skipIf(archs=no_match(['arm64','arm64e'])) @skipUnlessDarwin diff --git a/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py b/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py index 33f4839..cd87816 100644 --- a/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py +++ b/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestCorefileExceptionReason(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfOutOfTreeDebugserver # newer debugserver required for these qMemoryRegionInfo types @no_debug_info_test @skipUnlessDarwin diff --git a/lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py b/lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py index d80c2dd..c76cf19 100644 --- a/lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py +++ b/lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipUnlessDarwin @skipIfOutOfTreeDebugserver diff --git a/lldb/test/API/macosx/duplicate-archive-members/TestDuplicateMembers.py b/lldb/test/API/macosx/duplicate-archive-members/TestDuplicateMembers.py index 3fecb3b..039bd2f 100644 --- a/lldb/test/API/macosx/duplicate-archive-members/TestDuplicateMembers.py +++ b/lldb/test/API/macosx/duplicate-archive-members/TestDuplicateMembers.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class BSDArchivesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24527. Makefile.rules doesn't know how to build static libs on Windows") diff --git a/lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py b/lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py index 71598e9..641e134 100644 --- a/lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py +++ b/lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class DyldTrieSymbolsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/macosx/find-app-in-bundle/TestFindAppInBundle.py b/lldb/test/API/macosx/find-app-in-bundle/TestFindAppInBundle.py index 331bc6d..dabab97 100644 --- a/lldb/test/API/macosx/find-app-in-bundle/TestFindAppInBundle.py +++ b/lldb/test/API/macosx/find-app-in-bundle/TestFindAppInBundle.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * @decorators.skipUnlessDarwin class FindAppInMacOSAppBundle(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test_find_app_in_bundle(self): diff --git a/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py b/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py index 76f7ee8..771887f 100644 --- a/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py +++ b/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py @@ -15,8 +15,6 @@ exe_name = 'find-bundle-with-dots-in-fn' # must match Makefile class BundleWithDotInFilenameTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.source = 'main.c' diff --git a/lldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py b/lldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py index bb32a90..0786121 100644 --- a/lldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py +++ b/lldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py @@ -14,8 +14,6 @@ exe_name = 'deep-bundle' # must match Makefile class DeepBundleTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.source = 'main.c' diff --git a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py index 21b494f..9b8ef06 100644 --- a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py +++ b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py @@ -13,8 +13,6 @@ exe_name = "StripMe" # Must match Makefile class FunctionStartsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIfRemote diff --git a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py index 990a225..16fa762 100644 --- a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py +++ b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestDarwinSignalHandlers(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipUnlessDarwin diff --git a/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py b/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py index e2cebf0..8006819 100644 --- a/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py +++ b/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestIndirectFunctions(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/macosx/lc-note/addrable-bits/TestAddrableBitsCorefile.py b/lldb/test/API/macosx/lc-note/addrable-bits/TestAddrableBitsCorefile.py index 09e5662..7c6a5b1 100644 --- a/lldb/test/API/macosx/lc-note/addrable-bits/TestAddrableBitsCorefile.py +++ b/lldb/test/API/macosx/lc-note/addrable-bits/TestAddrableBitsCorefile.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TestAddrableBitsCorefile(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def initial_setup(self): diff --git a/lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py b/lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py index 6600c63..6d352ca 100644 --- a/lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py +++ b/lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestFirmwareCorefiles(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(debug_info=no_match(["dsym"]), bugnumber="This test is looking explicitly for a dSYM") @skipIf(archs=no_match(['x86_64', 'arm64', 'arm64e', 'aarch64'])) @skipIfRemote diff --git a/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py b/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py index 98f3e67..d85d684 100644 --- a/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py +++ b/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestKernVerStrLCNOTE(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(debug_info=no_match(["dsym"]), bugnumber="This test is looking explicitly for a dSYM") @skipIf(archs=no_match(['x86_64'])) @skipUnlessDarwin diff --git a/lldb/test/API/macosx/load-kext/TestLoadKext.py b/lldb/test/API/macosx/load-kext/TestLoadKext.py index d2e9a7c..1223c04 100644 --- a/lldb/test/API/macosx/load-kext/TestLoadKext.py +++ b/lldb/test/API/macosx/load-kext/TestLoadKext.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class LoadKextTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) - def test_load_kext(self): """Test that lldb can load a kext binary.""" diff --git a/lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py b/lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py index 4114f4c..6b69cb4 100644 --- a/lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py +++ b/lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py @@ -8,8 +8,6 @@ import unittest2 class TestMacCatalyst(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(macos_version=["<", "10.15"]) @skipUnlessDarwin @skipIfDarwinEmbedded diff --git a/lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py b/lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py index 989bf6d..b543ce9 100644 --- a/lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py +++ b/lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py @@ -8,8 +8,6 @@ import unittest2 class TestMacCatalystAppWithMacOSFramework(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIf(macos_version=["<", "10.15"]) @skipUnlessDarwin @skipIfDarwinEmbedded diff --git a/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py b/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py index 2878ef1..9d380b7 100644 --- a/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py +++ b/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py @@ -19,7 +19,6 @@ from lldbsuite.test import lldbtest_config class DarwinNSLogOutputTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @skipIfRemote # this test is currently written using lldb commands & assumes running on local system diff --git a/lldb/test/API/macosx/order/TestOrderFile.py b/lldb/test/API/macosx/order/TestOrderFile.py index 778d06d..9a12906 100644 --- a/lldb/test/API/macosx/order/TestOrderFile.py +++ b/lldb/test/API/macosx/order/TestOrderFile.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class OrderFileTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin def test(self): """Test debug symbols follow the correct order by the order file.""" diff --git a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py index 8c30176..e028ebf 100644 --- a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py +++ b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py @@ -19,7 +19,6 @@ def apple_silicon(): class TestLaunchProcessPosixSpawn(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def no_haswell(self): if not haswell(): diff --git a/lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py b/lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py index 86a4d80..7e28870 100644 --- a/lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py +++ b/lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py @@ -17,8 +17,6 @@ import signal class TestDetachVrsProfile(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipUnlessDarwin diff --git a/lldb/test/API/macosx/queues/TestQueues.py b/lldb/test/API/macosx/queues/TestQueues.py index 6eeb86d..bf294e6 100644 --- a/lldb/test/API/macosx/queues/TestQueues.py +++ b/lldb/test/API/macosx/queues/TestQueues.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TestQueues(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @add_test_categories(['pyapi']) def test_with_python_api_queues(self): diff --git a/lldb/test/API/macosx/safe-to-func-call/TestSafeFuncCalls.py b/lldb/test/API/macosx/safe-to-func-call/TestSafeFuncCalls.py index f77f343..ba0ad6b 100644 --- a/lldb/test/API/macosx/safe-to-func-call/TestSafeFuncCalls.py +++ b/lldb/test/API/macosx/safe-to-func-call/TestSafeFuncCalls.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestSafeFuncCalls(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @add_test_categories(['pyapi']) def test_with_python_api(self): diff --git a/lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py b/lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py index e267920..5dfde31 100644 --- a/lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py +++ b/lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py @@ -12,8 +12,6 @@ from lldbsuite.test.decorators import * class TestSaveCrashlog(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py b/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py index 4b925ad..3974203 100644 --- a/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py +++ b/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py @@ -7,8 +7,6 @@ import unittest2 class TestSimulatorPlatformLaunching(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def check_load_commands(self, expected_load_command): diff --git a/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py b/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py index 1df0498..7e3f8dd 100644 --- a/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py +++ b/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TestSkinnyCorefile(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfOutOfTreeDebugserver # newer debugserver required for these qMemoryRegionInfo types @skipIf(debug_info=no_match(["dsym"]), bugnumber="This test is looking explicitly for a dSYM") @skipUnlessDarwin diff --git a/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py b/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py index 04a87c3..e4129aeec 100644 --- a/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py +++ b/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestStackCorefile(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfOutOfTreeDebugserver # newer debugserver required for these qMemoryRegionInfo types @no_debug_info_test @skipUnlessDarwin diff --git a/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py b/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py index 98e6aff..bd943f3 100644 --- a/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py +++ b/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestInterruptThreadNames(TestBase): - mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @add_test_categories(['pyapi']) def test_with_python_api(self): diff --git a/lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py b/lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py index 6612858..da89a02 100644 --- a/lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py +++ b/lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestSuspendedThreadHandling(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipUnlessDarwin diff --git a/lldb/test/API/macosx/universal/TestUniversal.py b/lldb/test/API/macosx/universal/TestUniversal.py index cb7a5c4..145d436 100644 --- a/lldb/test/API/macosx/universal/TestUniversal.py +++ b/lldb/test/API/macosx/universal/TestUniversal.py @@ -13,7 +13,6 @@ class UniversalTestCase(TestBase): """Test aspects of lldb commands on universal binaries.""" NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def setUp(self): # Call super's setUp(). diff --git a/lldb/test/API/macosx/version_zero/TestGetVersionZeroVersion.py b/lldb/test/API/macosx/version_zero/TestGetVersionZeroVersion.py index 7778ab0..2dfb6da 100644 --- a/lldb/test/API/macosx/version_zero/TestGetVersionZeroVersion.py +++ b/lldb/test/API/macosx/version_zero/TestGetVersionZeroVersion.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * class TestGetVersionForZero(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py b/lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py index bd02b76..014065e 100644 --- a/lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py +++ b/lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class BreakpointAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_breakpoint_is_valid(self): diff --git a/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py b/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py index 1dcafbc..5eb64429 100644 --- a/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py +++ b/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SBTypeMemberFunctionsTest(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py index 9f7de01..c4eceea 100644 --- a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py +++ b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class CompileUnitAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) diff --git a/lldb/test/API/python_api/debugger/TestDebuggerAPI.py b/lldb/test/API/python_api/debugger/TestDebuggerAPI.py index ff1ebd9..6bc6b3b 100644 --- a/lldb/test/API/python_api/debugger/TestDebuggerAPI.py +++ b/lldb/test/API/python_api/debugger/TestDebuggerAPI.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class DebuggerAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_debugger_api_boundary_condition(self): diff --git a/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py index cbfc566..20f2884 100644 --- a/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py +++ b/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py @@ -21,8 +21,6 @@ from lldbsuite.test import lldbutil class APIDefaultConstructorTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_SBAddress(self): diff --git a/lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py b/lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py index 7175cf3..677559c 100644 --- a/lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py +++ b/lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class DisassembleRawDataTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfRemote def test_disassemble_raw_data(self): diff --git a/lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py b/lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py index 61f4279..28ba4d6 100644 --- a/lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py +++ b/lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class Disassemble_VST1_64(TestBase): - mydir = TestBase.compute_mydir(__file__) - @no_debug_info_test @skipIfLLVMTargetMissing("ARM") def test_disassemble_invalid_vst_1_64_raw_data(self): diff --git a/lldb/test/API/python_api/event/TestEvents.py b/lldb/test/API/python_api/event/TestEvents.py index 69b641b..946494f 100644 --- a/lldb/test/API/python_api/event/TestEvents.py +++ b/lldb/test/API/python_api/event/TestEvents.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil @skipIfLinux # llvm.org/pr25924, sometimes generating SIGSEGV class EventAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/file_handle/TestFileHandle.py b/lldb/test/API/python_api/file_handle/TestFileHandle.py index 5f47c31..c342047 100644 --- a/lldb/test/API/python_api/file_handle/TestFileHandle.py +++ b/lldb/test/API/python_api/file_handle/TestFileHandle.py @@ -80,7 +80,6 @@ def readStrippedLines(f): class FileHandleTestCase(lldbtest.TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = lldbtest.Base.compute_mydir(__file__) # The way normal tests evaluate debugger commands is # by using a SBCommandInterpreter directly, which captures diff --git a/lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py b/lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py index 727c114..7dc0781 100644 --- a/lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py +++ b/lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class SBFrameFindValueTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_formatters_api(self): diff --git a/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py b/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py index ac135b92..45d78cd 100644 --- a/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py +++ b/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class SBFormattersAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/frame/TestFrames.py b/lldb/test/API/python_api/frame/TestFrames.py index bf2b990..d8721f2 100644 --- a/lldb/test/API/python_api/frame/TestFrames.py +++ b/lldb/test/API/python_api/frame/TestFrames.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class FrameAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_get_arg_vals_for_call_stack(self): """Exercise SBFrame.GetVariables() API to get argument vals.""" self.build() diff --git a/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py b/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py index 7ced4dd..903e341 100644 --- a/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py +++ b/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py @@ -21,8 +21,6 @@ def get_names_from_value_list(value_list): class TestGetVariables(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py index bd1dead..34981b7 100644 --- a/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py +++ b/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class InlinedFrameAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py b/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py index 7eb3333..6bc65cf 100644 --- a/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py +++ b/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class DisasmAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py b/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py index fe90639..a1435b0 100644 --- a/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py +++ b/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class SymbolAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/get-value-32bit-int/TestGetValue32BitInt.py b/lldb/test/API/python_api/get-value-32bit-int/TestGetValue32BitInt.py index 0252264..d3499da 100644 --- a/lldb/test/API/python_api/get-value-32bit-int/TestGetValue32BitInt.py +++ b/lldb/test/API/python_api/get-value-32bit-int/TestGetValue32BitInt.py @@ -7,8 +7,6 @@ from lldbsuite.test.lldbtest import * import lldbsuite.test.lldbutil as lldbutil class TestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_with_run_command(self): diff --git a/lldb/test/API/python_api/hello_world/TestHelloWorld.py b/lldb/test/API/python_api/hello_world/TestHelloWorld.py index dd9245d..26bc7bb 100644 --- a/lldb/test/API/python_api/hello_world/TestHelloWorld.py +++ b/lldb/test/API/python_api/hello_world/TestHelloWorld.py @@ -11,7 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class HelloWorldTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def setUp(self): # Call super's setUp(). diff --git a/lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py b/lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py index 151d445..bf1fe3f 100644 --- a/lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py +++ b/lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class CommandInterpreterAPICase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py b/lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py index ea3350f..5ca6f55 100644 --- a/lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py +++ b/lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py @@ -8,7 +8,6 @@ from lldbsuite.test.lldbtest import * class CommandRunInterpreterLegacyAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) @@ -44,7 +43,6 @@ class CommandRunInterpreterLegacyAPICase(TestBase): class CommandRunInterpreterAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) @@ -75,7 +73,6 @@ class CommandRunInterpreterAPICase(TestBase): class SBCommandInterpreterRunOptionsCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def test_command_interpreter_run_options(self): """Test SBCommandInterpreterRunOptions default values, getters & setters """ diff --git a/lldb/test/API/python_api/lldbutil/TestSwigVersion.py b/lldb/test/API/python_api/lldbutil/TestSwigVersion.py index 8c5c6ef..3e56f50 100644 --- a/lldb/test/API/python_api/lldbutil/TestSwigVersion.py +++ b/lldb/test/API/python_api/lldbutil/TestSwigVersion.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil from lldbsuite.test.lldbtest import * class SwigVersionTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py b/lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py index 2660f1a..8400379 100644 --- a/lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py +++ b/lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class FrameUtilsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py index 9467adb..9ae5160 100644 --- a/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py +++ b/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class LLDBIteratorTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py index 6c8c045..d8058f2 100644 --- a/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py +++ b/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class RegistersIteratorTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py index 4ac7b7c..4be874d 100644 --- a/lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py +++ b/lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ThreadsStackTracesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_stack_traces(self): """Test SBprocess and SBThread APIs with printing of the stack traces.""" self.build() diff --git a/lldb/test/API/python_api/module_section/TestModuleAndSection.py b/lldb/test/API/python_api/module_section/TestModuleAndSection.py index 3bb26a2..403f20a 100644 --- a/lldb/test/API/python_api/module_section/TestModuleAndSection.py +++ b/lldb/test/API/python_api/module_section/TestModuleAndSection.py @@ -14,8 +14,6 @@ from lldbsuite.test.lldbutil import symbol_type_to_str class ModuleAndSectionAPIsTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # Py3 asserts due to a bug in SWIG. A fix for this was upstreamed into # SWIG 3.0.8. @skipIf(py_version=['>=', (3, 0)], swig_version=['<', (3, 0, 8)]) diff --git a/lldb/test/API/python_api/name_lookup/TestNameLookup.py b/lldb/test/API/python_api/name_lookup/TestNameLookup.py index c1629f9..a034c77 100644 --- a/lldb/test/API/python_api/name_lookup/TestNameLookup.py +++ b/lldb/test/API/python_api/name_lookup/TestNameLookup.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class TestNameLookup(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765') def test_target(self): """Exercise SBTarget.FindFunctions() with various name masks. diff --git a/lldb/test/API/python_api/objc_type/TestObjCType.py b/lldb/test/API/python_api/objc_type/TestObjCType.py index de0cd39..0e8c546 100644 --- a/lldb/test/API/python_api/objc_type/TestObjCType.py +++ b/lldb/test/API/python_api/objc_type/TestObjCType.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ObjCSBTypeTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/process/TestProcessAPI.py b/lldb/test/API/python_api/process/TestProcessAPI.py index 6d1b3e4..9be2ff5 100644 --- a/lldb/test/API/python_api/process/TestProcessAPI.py +++ b/lldb/test/API/python_api/process/TestProcessAPI.py @@ -13,8 +13,6 @@ from lldbsuite.test.lldbutil import get_stopped_thread, state_type_to_str class ProcessAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/process/io/TestProcessIO.py b/lldb/test/API/python_api/process/io/TestProcessIO.py index aae1dfe..fa6a434 100644 --- a/lldb/test/API/python_api/process/io/TestProcessIO.py +++ b/lldb/test/API/python_api/process/io/TestProcessIO.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class ProcessIOTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setup_test(self): diff --git a/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py b/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py index df92849..beda712 100644 --- a/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py +++ b/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestReadMemCString(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_read_memory_c_string(self): diff --git a/lldb/test/API/python_api/sbdata/TestSBData.py b/lldb/test/API/python_api/sbdata/TestSBData.py index aced0da..ae87312 100644 --- a/lldb/test/API/python_api/sbdata/TestSBData.py +++ b/lldb/test/API/python_api/sbdata/TestSBData.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class SBDataAPICase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py b/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py index 99369f8..dfd919b 100644 --- a/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py +++ b/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py @@ -9,8 +9,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class SBEnvironmentAPICase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # We use this function to test both kind of accessors: diff --git a/lldb/test/API/python_api/sberror/TestSBError.py b/lldb/test/API/python_api/sberror/TestSBError.py index aa798ba..a36ffddd 100644 --- a/lldb/test/API/python_api/sberror/TestSBError.py +++ b/lldb/test/API/python_api/sberror/TestSBError.py @@ -3,8 +3,6 @@ from lldbsuite.test.lldbtest import * class TestSBError(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_generic_error(self): diff --git a/lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py b/lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py index 44a6362..256a741 100644 --- a/lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py +++ b/lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py @@ -16,8 +16,6 @@ def lookup(info, key): return "" class TestSBLaunchInfo(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_environment_getset(self): diff --git a/lldb/test/API/python_api/sbmodule/TestSBModule.py b/lldb/test/API/python_api/sbmodule/TestSBModule.py index 01bb2ba6..046c9ab 100644 --- a/lldb/test/API/python_api/sbmodule/TestSBModule.py +++ b/lldb/test/API/python_api/sbmodule/TestSBModule.py @@ -9,8 +9,6 @@ import os, signal, subprocess class SBModuleAPICase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) self.background_pid = None diff --git a/lldb/test/API/python_api/sbplatform/TestSBPlatform.py b/lldb/test/API/python_api/sbplatform/TestSBPlatform.py index dbb3f4c..aa0bc67 100644 --- a/lldb/test/API/python_api/sbplatform/TestSBPlatform.py +++ b/lldb/test/API/python_api/sbplatform/TestSBPlatform.py @@ -4,8 +4,6 @@ from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * class SBPlatformAPICase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfRemote # Remote environment not supported. diff --git a/lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py b/lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py index c15f0f3..7bbc0fe 100644 --- a/lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py +++ b/lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestStructuredDataAPI(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py b/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py index 8324d23..d4ce793 100644 --- a/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py +++ b/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class SBValuePersistTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24772") diff --git a/lldb/test/API/python_api/section/TestSectionAPI.py b/lldb/test/API/python_api/section/TestSectionAPI.py index bd8e451..51a0037 100644 --- a/lldb/test/API/python_api/section/TestSectionAPI.py +++ b/lldb/test/API/python_api/section/TestSectionAPI.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class SectionAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_get_target_byte_size(self): d = {'EXE': 'b.out'} self.build(dictionary=d) diff --git a/lldb/test/API/python_api/signals/TestSignalsAPI.py b/lldb/test/API/python_api/signals/TestSignalsAPI.py index 6c535d7..f3c459d 100644 --- a/lldb/test/API/python_api/signals/TestSignalsAPI.py +++ b/lldb/test/API/python_api/signals/TestSignalsAPI.py @@ -12,7 +12,6 @@ from lldbsuite.test.lldbutil import get_stopped_thread, state_type_to_str class SignalsAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @skipIfWindows # Windows doesn't have signals diff --git a/lldb/test/API/python_api/symbol-context/TestSymbolContext.py b/lldb/test/API/python_api/symbol-context/TestSymbolContext.py index 69abb8f..e6ec78e 100644 --- a/lldb/test/API/python_api/symbol-context/TestSymbolContext.py +++ b/lldb/test/API/python_api/symbol-context/TestSymbolContext.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SymbolContextAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py b/lldb/test/API/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py index 8188c73..c4e7d74 100644 --- a/lldb/test/API/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py +++ b/lldb/test/API/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SymbolContextTwoFilesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll(oslist=["windows"]) def test_lookup_by_address(self): """Test lookup by address in a module with multiple compilation units""" diff --git a/lldb/test/API/python_api/target/TestTargetAPI.py b/lldb/test/API/python_api/target/TestTargetAPI.py index 2ae9d44..e24f0b5 100644 --- a/lldb/test/API/python_api/target/TestTargetAPI.py +++ b/lldb/test/API/python_api/target/TestTargetAPI.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class TargetAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/thread/TestThreadAPI.py b/lldb/test/API/python_api/thread/TestThreadAPI.py index 91e635c..612c47e 100644 --- a/lldb/test/API/python_api/thread/TestThreadAPI.py +++ b/lldb/test/API/python_api/thread/TestThreadAPI.py @@ -14,8 +14,6 @@ from lldbsuite.test.lldbutil import get_stopped_thread, get_caller_symbol class ThreadAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_get_process(self): """Test Python SBThread.GetProcess() API.""" self.build() diff --git a/lldb/test/API/python_api/type/TestTypeList.py b/lldb/test/API/python_api/type/TestTypeList.py index 41c249b..9d465bd 100644 --- a/lldb/test/API/python_api/type/TestTypeList.py +++ b/lldb/test/API/python_api/type/TestTypeList.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class TypeAndTypeListTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/value/TestValueAPI.py b/lldb/test/API/python_api/value/TestValueAPI.py index 7ba9c44..b75b4ef 100644 --- a/lldb/test/API/python_api/value/TestValueAPI.py +++ b/lldb/test/API/python_api/value/TestValueAPI.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ValueAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py b/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py index 3e2d3c6..0d602d8 100644 --- a/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py +++ b/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class ChangeValueAPITestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py b/lldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py index f4a3f5a..9cbed28 100644 --- a/lldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py +++ b/lldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class ValueAPIEmptyClassTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test(self): self.build() exe = self.getBuildArtifact("a.out") diff --git a/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py b/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py index 5bc7475..8001cfb 100644 --- a/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py +++ b/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class ValueAsLinkedListTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py b/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py index e7d47de..cbc9135 100644 --- a/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py +++ b/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class ValueVarUpdateTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def test_with_process_launch_api(self): """Test SBValue::GetValueDidChange""" # Get the full path to our executable to be attached/debugged. diff --git a/lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py b/lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py index 8d06b3d..829054e 100644 --- a/lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py +++ b/lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class SetWatchpointAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py b/lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py index 750e3dc..7c33dec 100644 --- a/lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py +++ b/lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class WatchpointIgnoreCountTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/watchpoint/TestWatchpointIter.py b/lldb/test/API/python_api/watchpoint/TestWatchpointIter.py index 0dc3f49..7b83cfa 100644 --- a/lldb/test/API/python_api/watchpoint/TestWatchpointIter.py +++ b/lldb/test/API/python_api/watchpoint/TestWatchpointIter.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class WatchpointIteratorTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True # hardware watchpoints are not reported with a hardware index # on armv7 on ios devices diff --git a/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py b/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py index 5230f16..585a936 100644 --- a/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py +++ b/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class WatchpointConditionAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py b/lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py index 8b2682a..7cbc6a5 100644 --- a/lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py +++ b/lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py @@ -13,8 +13,6 @@ from lldbsuite.test import lldbutil class SetWatchlocationAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py b/lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py index ca32300..e41d65a 100644 --- a/lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py +++ b/lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py @@ -12,8 +12,6 @@ from lldbsuite.test import lldbutil class TargetWatchAddressAPITestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/qemu/TestQemuAPI.py b/lldb/test/API/qemu/TestQemuAPI.py index b0341dd..2ef5bb3 100644 --- a/lldb/test/API/qemu/TestQemuAPI.py +++ b/lldb/test/API/qemu/TestQemuAPI.py @@ -7,8 +7,6 @@ from lldbsuite.test.decorators import * @skipIfRemote class TestQemuAPI(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_file_api(self): diff --git a/lldb/test/API/qemu/TestQemuLaunch.py b/lldb/test/API/qemu/TestQemuLaunch.py index afa1583..072efe6 100644 --- a/lldb/test/API/qemu/TestQemuLaunch.py +++ b/lldb/test/API/qemu/TestQemuLaunch.py @@ -15,8 +15,6 @@ from lldbsuite.test.gdbclientutils import * @skipIfRemote @skipIfWindows class TestQemuLaunch(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def set_emulator_setting(self, name, value): diff --git a/lldb/test/API/repl/clang/TestClangREPL.py b/lldb/test/API/repl/clang/TestClangREPL.py index 9ad67af..2b8dfb6 100644 --- a/lldb/test/API/repl/clang/TestClangREPL.py +++ b/lldb/test/API/repl/clang/TestClangREPL.py @@ -5,8 +5,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class TestCase(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - def expect_repl(self, expr, substrs=[]): """ Evaluates the expression in the REPL and verifies that the list of substrs is in the REPL output.""" diff --git a/lldb/test/API/sample_test/TestSampleTest.py b/lldb/test/API/sample_test/TestSampleTest.py index 6d53f61..e4e2cec 100644 --- a/lldb/test/API/sample_test/TestSampleTest.py +++ b/lldb/test/API/sample_test/TestSampleTest.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class RenameThisSampleTestTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for # each debug info format. diff --git a/lldb/test/API/sanity/TestModuleCacheSanity.py b/lldb/test/API/sanity/TestModuleCacheSanity.py index 3d9f171..ca21d68 100644 --- a/lldb/test/API/sanity/TestModuleCacheSanity.py +++ b/lldb/test/API/sanity/TestModuleCacheSanity.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class ModuleCacheSanityTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/sanity/TestReprStrEquality.py b/lldb/test/API/sanity/TestReprStrEquality.py index 798c0f6..51a4beb 100644 --- a/lldb/test/API/sanity/TestReprStrEquality.py +++ b/lldb/test/API/sanity/TestReprStrEquality.py @@ -10,8 +10,6 @@ from lldbsuite.test.lldbtest import * class TestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def test(self): diff --git a/lldb/test/API/sanity/TestSettingSkipping.py b/lldb/test/API/sanity/TestSettingSkipping.py index 206c7b4..4e05446 100644 --- a/lldb/test/API/sanity/TestSettingSkipping.py +++ b/lldb/test/API/sanity/TestSettingSkipping.py @@ -10,8 +10,6 @@ from lldbsuite.test.decorators import * class SettingSkipSanityTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True @skipIf(setting=('target.prefer-dynamic-value', 'no-dynamic-values')) diff --git a/lldb/test/API/source-manager/TestSourceManager.py b/lldb/test/API/source-manager/TestSourceManager.py index 888174a..a44f0bb 100644 --- a/lldb/test/API/source-manager/TestSourceManager.py +++ b/lldb/test/API/source-manager/TestSourceManager.py @@ -26,8 +26,6 @@ def ansi_color_surround_regex(inner_regex_text): class SourceManagerTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True def setUp(self): diff --git a/lldb/test/API/symbol_ondemand/breakpoint_language/TestBreakpointLanguageOnDemand.py b/lldb/test/API/symbol_ondemand/breakpoint_language/TestBreakpointLanguageOnDemand.py index 38d4386..78f7b40 100644 --- a/lldb/test/API/symbol_ondemand/breakpoint_language/TestBreakpointLanguageOnDemand.py +++ b/lldb/test/API/symbol_ondemand/breakpoint_language/TestBreakpointLanguageOnDemand.py @@ -12,8 +12,6 @@ import lldbsuite.test.lldbutil as lldbutil class TestBreakpointLanguage(TestBase): - mydir = TestBase.compute_mydir(__file__) - def check_location_file(self, bp, loc, test_name): bp_loc = bp.GetLocationAtIndex(loc) addr = bp_loc.GetAddress() diff --git a/lldb/test/API/symbol_ondemand/breakpoint_source_regex/TestSourceTextRegexBreakpoint.py b/lldb/test/API/symbol_ondemand/breakpoint_source_regex/TestSourceTextRegexBreakpoint.py index 4fd3bbf..4532139 100644 --- a/lldb/test/API/symbol_ondemand/breakpoint_source_regex/TestSourceTextRegexBreakpoint.py +++ b/lldb/test/API/symbol_ondemand/breakpoint_source_regex/TestSourceTextRegexBreakpoint.py @@ -11,7 +11,6 @@ from lldbsuite.test import lldbutil class TestSourceTextRegexBreakpoint(TestBase): - mydir = TestBase.compute_mydir(__file__) @skipIfWindows def test_with_run_command(self): diff --git a/lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py b/lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py index dd14594..97f89c1 100644 --- a/lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py +++ b/lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py @@ -10,8 +10,6 @@ import lldbsuite.test.lldbutil as lldbutil class SharedLibTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/terminal/TestEditline.py b/lldb/test/API/terminal/TestEditline.py index 26e43a2..baa8013 100644 --- a/lldb/test/API/terminal/TestEditline.py +++ b/lldb/test/API/terminal/TestEditline.py @@ -13,8 +13,6 @@ from lldbsuite.test.lldbpexpect import PExpectTest class EditlineTest(PExpectTest): - mydir = TestBase.compute_mydir(__file__) - @skipIfAsan @skipIfEditlineSupportMissing @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) diff --git a/lldb/test/API/terminal/TestSTTYBeforeAndAfter.py b/lldb/test/API/terminal/TestSTTYBeforeAndAfter.py index 348cdcb..5114710 100644 --- a/lldb/test/API/terminal/TestSTTYBeforeAndAfter.py +++ b/lldb/test/API/terminal/TestSTTYBeforeAndAfter.py @@ -15,8 +15,6 @@ from lldbsuite.test import lldbutil class TestSTTYBeforeAndAfter(TestBase): - mydir = TestBase.compute_mydir(__file__) - @classmethod def classCleanup(cls): """Cleanup the test byproducts.""" diff --git a/lldb/test/API/test_utils/TestDecorators.py b/lldb/test/API/test_utils/TestDecorators.py index f536f42..97d144b 100644 --- a/lldb/test/API/test_utils/TestDecorators.py +++ b/lldb/test/API/test_utils/TestDecorators.py @@ -3,8 +3,6 @@ from lldbsuite.test.decorators import * class TestDecorators(Base): - - mydir = Base.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True @expectedFailureAll(debug_info="dwarf") diff --git a/lldb/test/API/test_utils/TestInlineTest.py b/lldb/test/API/test_utils/TestInlineTest.py index 21a3e2f..d237109 100644 --- a/lldb/test/API/test_utils/TestInlineTest.py +++ b/lldb/test/API/test_utils/TestInlineTest.py @@ -5,8 +5,6 @@ import textwrap class TestCommandParser(Base): - mydir = Base.compute_mydir(__file__) - def test_indentation(self): """Test indentation handling""" filename = self.getBuildArtifact("test_file.cpp") diff --git a/lldb/test/API/test_utils/TestPExpectTest.py b/lldb/test/API/test_utils/TestPExpectTest.py index 6e96b1d..584d8fb 100644 --- a/lldb/test/API/test_utils/TestPExpectTest.py +++ b/lldb/test/API/test_utils/TestPExpectTest.py @@ -5,8 +5,6 @@ Test the PExpectTest test functions. from lldbsuite.test.lldbpexpect import * class TestPExpectTestCase(PExpectTest): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def assert_expect_fails_with(self, cmd, expect_args, expected_msg): diff --git a/lldb/test/API/test_utils/base/TestBaseTest.py b/lldb/test/API/test_utils/base/TestBaseTest.py index 4aceca7..7f0ce1c 100644 --- a/lldb/test/API/test_utils/base/TestBaseTest.py +++ b/lldb/test/API/test_utils/base/TestBaseTest.py @@ -8,8 +8,6 @@ import six class TestBuildMethod(Base): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): super().setUp() self._traces = [] diff --git a/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py b/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py index a9fe3af..149902e 100644 --- a/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py +++ b/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py @@ -10,8 +10,6 @@ import re class TestAppleSimulatorOSType(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - # Number of stderr lines to read from the simctl output. READ_LINES = 10 diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py index dd427b6..9de1401 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteAttach(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def test_attach_with_vAttach(self): self.build() self.set_inferior_startup_attach_manually() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py index ded3ff6..90a7eee 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteAttachOrWait(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows # This test is flaky on Windows def test_launch_before_attach_with_vAttachOrWait(self): exe = '%s_%d' % (self.testMethodName, os.getpid()) diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py index 980bcb9..ed31b56 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py @@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteAttachWait(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows # This test is flaky on Windows def test_attach_with_vAttachWait(self): exe = '%s_%d' % (self.testMethodName, os.getpid()) diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py index 9d0c9db..ac9c7fe 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteAuxvSupport(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - AUXV_SUPPORT_FEATURE_NAME = "qXfer:auxv:read" def has_auxv_support(self): diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py index 064aefe..820bdab 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py @@ -5,7 +5,6 @@ from lldbsuite.test.decorators import * from lldbgdbserverutils import * class GdbRemoteCompletionTestCase(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) def init_lldb_server(self): self.debug_monitor_exe = get_lldb_server_exe() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteExitCode.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteExitCode.py index 961409d..a175024 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteExitCode.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteExitCode.py @@ -10,8 +10,6 @@ from gdbremote_testcase import GdbRemoteTestCaseBase class TestGdbRemoteExitCode(GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def _test_inferior_exit(self, retval): self.build() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py index d6b9238..14368f9 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteExpeditedRegisters( gdbremote_testcase.GdbRemoteTestCaseBase): - - mydir = TestBase.compute_mydir(__file__) # lldb-server tests not updated to work on ios etc yet def gather_expedited_registers(self): # Setup the stub and set the gdb remote command stream. diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteFork.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteFork.py index 88ef72a..3ce10f5 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteFork.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteFork.py @@ -4,7 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestGdbRemoteFork(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) @add_test_categories(["fork"]) def test_fork_multithreaded(self): diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py index 9332cc1..59db190 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py @@ -11,8 +11,6 @@ from gdbremote_testcase import GdbRemoteTestCaseBase class TestGdbRemoteHostInfo(GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - KNOWN_HOST_INFO_KEYS = set([ "addressing_bits", "arch", diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py index 98f07f3..1d07a68 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteKill(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def test_attach_commandline_kill_after_initial_stop(self): self.build() self.set_inferior_startup_attach() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteModuleInfo.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteModuleInfo.py index bab097c..bad9e87 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteModuleInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteModuleInfo.py @@ -10,8 +10,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteModuleInfo(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @add_test_categories(["llgs"]) def test_module_info(self): self.build() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py b/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py index af01763..57b2daf 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py @@ -45,8 +45,6 @@ def uint32_trunc(x): class TestGdbRemotePlatformFile(GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @add_test_categories(["llgs"]) def test_platform_file_rdonly(self): diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py index d1b4e5e..86c9e75 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteProcessInfo(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def test_qProcessInfo_returns_running_process(self): self.build() procs = self.prep_debug_monitor_and_inferior() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteRegisterState.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteRegisterState.py index e3784f4..241bf92 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteRegisterState.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteRegisterState.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteRegisterState(gdbremote_testcase.GdbRemoteTestCaseBase): """Test QSaveRegisterState/QRestoreRegisterState support.""" - mydir = TestBase.compute_mydir(__file__) - def grp_register_save_restore_works(self, with_suffix): # Start up the process, use thread suffix, grab main thread id. inferior_args = ["message:main entered", "sleep:5"] diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py index 995d105..b51c386 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py @@ -7,7 +7,6 @@ import binascii import os class TestGdbSaveCore(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) def coredump_test(self, core_path=None, expect_path=None): self.build() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py index 2716390..5665e18 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py @@ -6,8 +6,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteSingleStep(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows # No pty support to test any inferior std -i/e/o @skipIf(triple='^mips') def test_single_step_only_steps_one_instruction_with_s(self): diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py index 11ebba8..c41446f 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py @@ -9,8 +9,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteThreadsInStopReply( gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - ENABLE_THREADS_IN_STOP_REPLY_ENTRIES = [ "read packet: $QListThreadsInStopReply#21", "send packet: $OK#00", diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py b/lldb/test/API/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py index 8fe3f77..e8d44e3 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py @@ -5,8 +5,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestGdbRemote_qThreadStopInfo(gdbremote_testcase.GdbRemoteTestCaseBase): - - mydir = TestBase.compute_mydir(__file__) THREAD_COUNT = 5 def gather_stop_replies_via_qThreadStopInfo(self, threads): diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py b/lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py index 3621a6a..db1e39b 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestGdbRemote_vCont(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def vCont_supports_mode(self, mode, inferior_args=None): # Setup the stub and set the gdb remote command stream. procs = self.prep_debug_monitor_and_inferior( diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py index eb1ed02..c967f70 100644 --- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py +++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py @@ -26,8 +26,6 @@ from lldbsuite.test import lldbutil, lldbplatformutil class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcodeParser): - mydir = TestBase.compute_mydir(__file__) - def test_thread_suffix_supported(self): server = self.connect_to_debug_monitor() self.assertIsNotNone(server) diff --git a/lldb/test/API/tools/lldb-server/TestPtyServer.py b/lldb/test/API/tools/lldb-server/TestPtyServer.py index 44aa2f1..f5aa0ad 100644 --- a/lldb/test/API/tools/lldb-server/TestPtyServer.py +++ b/lldb/test/API/tools/lldb-server/TestPtyServer.py @@ -9,7 +9,6 @@ import xml.etree.ElementTree as ET @skipIfWindows class PtyServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) def setUp(self): super().setUp() diff --git a/lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py b/lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py index 514e553..2bbfb27 100644 --- a/lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py +++ b/lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py @@ -126,8 +126,6 @@ else: class TestGdbRemoteConnection(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfRemote # reverse connect is not a supported use case for now def test_reverse_connect(self): # Reverse connect is the default connection method. diff --git a/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py b/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py index 8a00119..3342714 100644 --- a/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py +++ b/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestStubSetSIDTestCase(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def get_stub_sid(self, extra_stub_args=None): # Launch debugserver if extra_stub_args: diff --git a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py index 95f5528..cd51741 100644 --- a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py +++ b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py @@ -4,7 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestGdbRemoteAbort(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) @skipIfWindows # No signal is sent on Windows. # std::abort() on <= API 16 raises SIGSEGV - b.android.com/179836 diff --git a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py index 6bcf7f0..9a057d0e 100644 --- a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py +++ b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py @@ -4,7 +4,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestGdbRemoteSegFault(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) GDB_REMOTE_STOP_CODE_BAD_ACCESS = 0x91 diff --git a/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py b/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py index 943a060..7d93d66 100644 --- a/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py +++ b/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py @@ -5,8 +5,6 @@ from lldbsuite.test.lldbtest import * class TestGdbRemoteLibrariesSvr4Support(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - FEATURE_NAME = "qXfer:libraries-svr4:read" def setup_test(self): diff --git a/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py b/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py index 351225f..2ab6820 100644 --- a/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py +++ b/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py @@ -8,8 +8,6 @@ supported_oses = ["linux", "windows"]+lldbplatformutil.getDarwinOSTriples() class TestGdbRemoteMemoryAllocation(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def allocate(self, size, permissions): self.test_sequence.add_log_lines(["read packet: $_M{:x},{}#00".format(size, permissions), {"direction": "send", diff --git a/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py b/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py index 983e1aa..ceb4a35 100644 --- a/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py +++ b/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py @@ -16,8 +16,6 @@ so it's just a single ptrace call for lldb-server. class TestGdbRemoteMemoryTagging(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def check_memtags_response(self, packet_name, body, expected): self.test_sequence.add_log_lines(["read packet: ${}:{}#00".format(packet_name, body), "send packet: ${}#00".format(expected), diff --git a/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py b/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py index 2e02a2c..bbb0321 100644 --- a/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py +++ b/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py @@ -24,8 +24,6 @@ def _extract_register_value(reg_info, reg_bank, byte_order, bytes_per_entry=8): class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfOutOfTreeDebugserver @skipUnlessDarwin # G packet not supported def test_g_packet(self): diff --git a/lldb/test/API/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py b/lldb/test/API/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py index bfa7bab..96eddf6 100644 --- a/lldb/test/API/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py +++ b/lldb/test/API/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py @@ -10,8 +10,6 @@ import xml.etree.ElementTree as ET class TestGdbRemoteTargetXmlPacket(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @llgs_test def test_g_target_xml_returns_correct_data(self): self.build() diff --git a/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py b/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py index ccdfb9b..7acb018 100644 --- a/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py +++ b/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py @@ -8,8 +8,6 @@ from lldbsuite.test import lldbutil class TestGdbRemote_QPassSignals(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def expect_signal(self, expected_signo): self.test_sequence.add_log_lines(["read packet: $vCont;c#a8", {"direction": "send", diff --git a/lldb/test/API/tools/lldb-server/thread-name/TestGdbRemoteThreadName.py b/lldb/test/API/tools/lldb-server/thread-name/TestGdbRemoteThreadName.py index 469e5e5..af563af 100644 --- a/lldb/test/API/tools/lldb-server/thread-name/TestGdbRemoteThreadName.py +++ b/lldb/test/API/tools/lldb-server/thread-name/TestGdbRemoteThreadName.py @@ -5,8 +5,6 @@ from lldbsuite.test import lldbutil class TestGdbRemoteThreadName(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def run_and_check_name(self, expected_name): self.test_sequence.add_log_lines(["read packet: $vCont;c#a8", {"direction": "send", diff --git a/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py b/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py index 10d4f16..30a136f 100644 --- a/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py +++ b/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py @@ -7,7 +7,6 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase): - mydir = TestBase.compute_mydir(__file__) def start_threads(self, num): procs = self.prep_debug_monitor_and_inferior(inferior_args=[str(num)]) diff --git a/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py b/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py index 1eee182..cda935f 100644 --- a/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py +++ b/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py @@ -29,8 +29,6 @@ def spawn_and_wait(program, delay): class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def set_and_hit_breakpoint(self, continueToExit=True): source = 'main.c' breakpoint1_line = line_number(source, '// breakpoint 1') diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py b/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py index 825fcd2..483684e 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py @@ -14,8 +14,6 @@ import os class TestVSCode_breakpointEvents(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipUnlessDarwin def test_breakpoint_events(self): diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py index 626a653..a6269f4 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py @@ -15,8 +15,6 @@ import os class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): lldbvscode_testcase.VSCodeTestCaseBase.setUp(self) diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py index ff64e44..e7fced0 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py @@ -14,8 +14,6 @@ import lldbvscode_testcase class TestVSCode_setExceptionBreakpoints( lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipIfRemote def test_functionality(self): diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py index 651a707..159b2ca 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py @@ -14,8 +14,6 @@ import lldbvscode_testcase class TestVSCode_setFunctionBreakpoints( lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipIfRemote def test_set_and_clear(self): diff --git a/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py b/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py index 06ab8f4..836a861 100644 --- a/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py +++ b/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py @@ -13,8 +13,6 @@ from lldbsuite.test.lldbtest import * class TestVSCode_variables(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def verify_completions(self, actual_list, expected_list, not_expected_list=[]): for expected_item in expected_list: self.assertIn(expected_item, actual_list) diff --git a/lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py b/lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py index f36b8e2..ae71775 100644 --- a/lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py +++ b/lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py @@ -14,8 +14,6 @@ import lldbvscode_testcase class TestVSCode_console(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def check_lldb_command(self, lldb_command, contains_string, assert_msg): response = self.vscode.request_evaluate('`%s' % (lldb_command)) output = response['body']['result'] diff --git a/lldb/test/API/tools/lldb-vscode/console/TestVSCode_redirection_to_console.py b/lldb/test/API/tools/lldb-vscode/console/TestVSCode_redirection_to_console.py index 1e028e5..1ce7b1f 100644 --- a/lldb/test/API/tools/lldb-vscode/console/TestVSCode_redirection_to_console.py +++ b/lldb/test/API/tools/lldb-vscode/console/TestVSCode_redirection_to_console.py @@ -9,8 +9,6 @@ import lldbvscode_testcase class TestVSCode_redirection_to_console(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipIfRemote def test(self): diff --git a/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py b/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py index b73357f..344671d 100644 --- a/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py +++ b/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py @@ -14,8 +14,6 @@ import os class TestVSCode_coreFile(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipIfRemote @skipIfLLVMTargetMissing("X86") diff --git a/lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py b/lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py index 4b7b037..95a9750 100644 --- a/lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py +++ b/lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py @@ -14,8 +14,6 @@ import lldbvscode_testcase class TestVSCode_correct_thread(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipIfRemote def test_correct_thread(self): diff --git a/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py b/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py index dd4f698..24054e7 100644 --- a/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py +++ b/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py @@ -15,8 +15,6 @@ import os class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): - - mydir = TestBase.compute_mydir(__file__) source = 'main.cpp' def disconnect_and_assert_no_output_printed(self): diff --git a/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py b/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py index fdd5c47..4a6e261 100644 --- a/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py +++ b/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py @@ -12,8 +12,6 @@ from lldbsuite.test.lldbtest import * class TestVSCode_variables(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def assertEvaluate(self, expression, regex): self.assertRegexpMatches( self.vscode.request_evaluate(expression, context=self.context)['body']['result'], diff --git a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py index 8c0000b..e808500 100644 --- a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py +++ b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py @@ -15,8 +15,6 @@ import os class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipIfDarwin # Flaky @skipIfRemote diff --git a/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py b/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py index 7f29ec6c..f3227de 100644 --- a/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py +++ b/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py @@ -14,8 +14,6 @@ import re class TestVSCode_module(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def run_test(self, symbol_basename, expect_debug_info_size): program_basename = "a.out.stripped" program = self.getBuildArtifact(program_basename) diff --git a/lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py b/lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py index a5e40d0..e78a0a2 100644 --- a/lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py +++ b/lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py @@ -13,7 +13,6 @@ import lldbvscode_testcase class TestVSCode_optimized(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) @skipIfWindows @skipIfRemote diff --git a/lldb/test/API/tools/lldb-vscode/runInTerminal/TestVSCode_runInTerminal.py b/lldb/test/API/tools/lldb-vscode/runInTerminal/TestVSCode_runInTerminal.py index 047cc31..4731d13 100644 --- a/lldb/test/API/tools/lldb-vscode/runInTerminal/TestVSCode_runInTerminal.py +++ b/lldb/test/API/tools/lldb-vscode/runInTerminal/TestVSCode_runInTerminal.py @@ -19,8 +19,6 @@ from threading import Thread class TestVSCode_runInTerminal(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def readPidMessage(self, fifo_file): with open(fifo_file, "r") as file: self.assertIn("pid", file.readline()) diff --git a/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py b/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py index 153fb9a..994e5c3 100644 --- a/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py +++ b/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py @@ -13,8 +13,6 @@ import os class TestVSCode_stackTrace(lldbvscode_testcase.VSCodeTestCaseBase): - - mydir = TestBase.compute_mydir(__file__) name_key_path = ['name'] source_key_path = ['source', 'path'] line_key_path = ['line'] diff --git a/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py b/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py index dbd7ef8..7eba629 100644 --- a/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py +++ b/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py @@ -13,8 +13,6 @@ import lldbvscode_testcase class TestVSCode_step(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfWindows @skipIfRemote def test_step(self): diff --git a/lldb/test/API/tools/lldb-vscode/stop-hooks/TestVSCode_stop_hooks.py b/lldb/test/API/tools/lldb-vscode/stop-hooks/TestVSCode_stop_hooks.py index c6be1a0..28781fb 100644 --- a/lldb/test/API/tools/lldb-vscode/stop-hooks/TestVSCode_stop_hooks.py +++ b/lldb/test/API/tools/lldb-vscode/stop-hooks/TestVSCode_stop_hooks.py @@ -10,8 +10,6 @@ import lldbvscode_testcase class TestVSCode_stop_hooks(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - @skipIfRemote def test_stop_hooks_before_run(self): ''' diff --git a/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py b/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py index 2a473df..dbe11ca 100644 --- a/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py +++ b/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py @@ -21,8 +21,6 @@ def make_buffer_verify_dict(start_idx, count, offset=0): class TestVSCode_variables(lldbvscode_testcase.VSCodeTestCaseBase): - mydir = TestBase.compute_mydir(__file__) - def verify_values(self, verify_dict, actual, varref_dict=None, expression=None): if 'equals' in verify_dict: verify = verify_dict['equals'] diff --git a/lldb/test/API/types/HideTestFailures.py b/lldb/test/API/types/HideTestFailures.py index 91b1383..3f4d916 100644 --- a/lldb/test/API/types/HideTestFailures.py +++ b/lldb/test/API/types/HideTestFailures.py @@ -15,8 +15,6 @@ from lldbsuite.test.lldbtest import * class DebugIntegerTypesFailures(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/types/TestCharType.py b/lldb/test/API/types/TestCharType.py index 9ba49fd..735e050 100644 --- a/lldb/test/API/types/TestCharType.py +++ b/lldb/test/API/types/TestCharType.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class CharTypeTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_char_type(self): """Test that char-type variables are displayed correctly.""" self.build_and_run('char.cpp', ['char'], qd=True) diff --git a/lldb/test/API/types/TestCharTypeExpr.py b/lldb/test/API/types/TestCharTypeExpr.py index b1708f2..96af397 100644 --- a/lldb/test/API/types/TestCharTypeExpr.py +++ b/lldb/test/API/types/TestCharTypeExpr.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class CharTypeExprTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_char_type(self): """Test that char-type variable expressions are evaluated correctly.""" self.build_and_run_expr('char.cpp', ['char'], qd=True) diff --git a/lldb/test/API/types/TestDoubleTypes.py b/lldb/test/API/types/TestDoubleTypes.py index adce103..d2006e4 100644 --- a/lldb/test/API/types/TestDoubleTypes.py +++ b/lldb/test/API/types/TestDoubleTypes.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class DoubleTypesTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_double_type(self): """Test that double-type variables are displayed correctly.""" self.build_and_run('double.cpp', set(['double'])) diff --git a/lldb/test/API/types/TestDoubleTypesExpr.py b/lldb/test/API/types/TestDoubleTypesExpr.py index 20c5410..a6b06ab 100644 --- a/lldb/test/API/types/TestDoubleTypesExpr.py +++ b/lldb/test/API/types/TestDoubleTypesExpr.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class DoubleTypesExprTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - # rdar://problem/8493023 # test/types failures for Test*TypesExpr.py: element offset computed wrong # and sign error? diff --git a/lldb/test/API/types/TestFloatTypes.py b/lldb/test/API/types/TestFloatTypes.py index 7377552..ed22128 100644 --- a/lldb/test/API/types/TestFloatTypes.py +++ b/lldb/test/API/types/TestFloatTypes.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class FloatTypesTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_float_type(self): """Test that float-type variables are displayed correctly.""" self.build_and_run('float.cpp', set(['float'])) diff --git a/lldb/test/API/types/TestFloatTypesExpr.py b/lldb/test/API/types/TestFloatTypesExpr.py index ceb257e..ce694c6 100644 --- a/lldb/test/API/types/TestFloatTypesExpr.py +++ b/lldb/test/API/types/TestFloatTypesExpr.py @@ -14,8 +14,6 @@ from lldbsuite.test import lldbutil class FloatTypesExprTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - # rdar://problem/8493023 # test/types failures for Test*TypesExpr.py: element offset computed wrong # and sign error? diff --git a/lldb/test/API/types/TestIntegerType.py b/lldb/test/API/types/TestIntegerType.py index 2b1fd8e..c106175 100644 --- a/lldb/test/API/types/TestIntegerType.py +++ b/lldb/test/API/types/TestIntegerType.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class IntegerTypesTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_int_type(self): """Test that int-type variables are displayed correctly.""" self.build_and_run('int.cpp', ['int']) diff --git a/lldb/test/API/types/TestIntegerTypeExpr.py b/lldb/test/API/types/TestIntegerTypeExpr.py index 4dd8b43..ac55bd6 100644 --- a/lldb/test/API/types/TestIntegerTypeExpr.py +++ b/lldb/test/API/types/TestIntegerTypeExpr.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class IntegerTypeExprTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - @skipUnlessDarwin def test_unsigned_short_type_from_block(self): """Test that 'unsigned short'-type variables are displayed correctly from a block.""" diff --git a/lldb/test/API/types/TestLongTypes.py b/lldb/test/API/types/TestLongTypes.py index 74c4627..8df8168 100644 --- a/lldb/test/API/types/TestLongTypes.py +++ b/lldb/test/API/types/TestLongTypes.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class LongTypesTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_long_type(self): """Test that long-type variables are displayed correctly.""" self.build_and_run('long.cpp', ['long']) diff --git a/lldb/test/API/types/TestLongTypesExpr.py b/lldb/test/API/types/TestLongTypesExpr.py index 9a33d36..0c06691 100644 --- a/lldb/test/API/types/TestLongTypesExpr.py +++ b/lldb/test/API/types/TestLongTypesExpr.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class LongTypesExprTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_long_type(self): """Test that long-type variable expressions are evaluated correctly.""" self.build_and_run_expr('long.cpp', ['long']) diff --git a/lldb/test/API/types/TestRecursiveTypes.py b/lldb/test/API/types/TestRecursiveTypes.py index 8deb193..3690048 100644 --- a/lldb/test/API/types/TestRecursiveTypes.py +++ b/lldb/test/API/types/TestRecursiveTypes.py @@ -11,8 +11,6 @@ from lldbsuite.test.lldbtest import * class RecursiveTypesTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): # Call super's setUp(). TestBase.setUp(self) diff --git a/lldb/test/API/types/TestShortType.py b/lldb/test/API/types/TestShortType.py index e75827f..548caa8 100644 --- a/lldb/test/API/types/TestShortType.py +++ b/lldb/test/API/types/TestShortType.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class ShortTypeTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_short_type(self): """Test that short-type variables are displayed correctly.""" self.build_and_run('short.cpp', ['short']) diff --git a/lldb/test/API/types/TestShortTypeExpr.py b/lldb/test/API/types/TestShortTypeExpr.py index 96df238e..3de0025 100644 --- a/lldb/test/API/types/TestShortTypeExpr.py +++ b/lldb/test/API/types/TestShortTypeExpr.py @@ -9,8 +9,6 @@ from lldbsuite.test.decorators import * class ShortExprTestCase(AbstractBase.GenericTester): - mydir = AbstractBase.GenericTester.compute_mydir(__file__) - def test_short_type(self): """Test that short-type variable expressions are evaluated correctly.""" self.build_and_run_expr('short.cpp', ['short']) diff --git a/lldb/tools/intel-features/intel-mpx/test/TestMPXTable.py b/lldb/tools/intel-features/intel-mpx/test/TestMPXTable.py index 5431abc..ab9c9f8 100644 --- a/lldb/tools/intel-features/intel-mpx/test/TestMPXTable.py +++ b/lldb/tools/intel-features/intel-mpx/test/TestMPXTable.py @@ -16,8 +16,6 @@ from lldbsuite.test import lldbutil class TestMPXTable(TestBase): - mydir = TestBase.compute_mydir(__file__) - def setUp(self): TestBase.setUp(self) -- 2.7.4