diff --git a/lldb/packages/Python/lldbsuite/test/README-TestSuite b/lldb/packages/Python/lldbsuite/test/README-TestSuite --- a/lldb/packages/Python/lldbsuite/test/README-TestSuite +++ b/lldb/packages/Python/lldbsuite/test/README-TestSuite @@ -33,9 +33,7 @@ ./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 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -4,10 +4,6 @@ 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 @@ 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 @@ 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 --- a/lldb/test/API/android/platform/TestDefaultCacheLineSize.py +++ b/lldb/test/API/android/platform/TestDefaultCacheLineSize.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py +++ b/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/api/listeners/TestListener.py +++ b/lldb/test/API/api/listeners/TestListener.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/api/log/TestAPILog.py +++ b/lldb/test/API/api/log/TestAPILog.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py +++ b/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py +++ b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/api/multithreaded/TestMultithreaded.py +++ b/lldb/test/API/api/multithreaded/TestMultithreaded.py @@ -25,8 +25,6 @@ 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 --- a/lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py +++ b/lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/arm/breakpoint-thumb-codesection/TestBreakpointThumbCodesection.py +++ b/lldb/test/API/arm/breakpoint-thumb-codesection/TestBreakpointThumbCodesection.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/arm/emulation/TestEmulations.py +++ b/lldb/test/API/arm/emulation/TestEmulations.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/assert_messages_test/TestAssertMessages.py +++ b/lldb/test/API/assert_messages_test/TestAssertMessages.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py +++ b/lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/benchmarks/expression/TestExpressionCmd.py +++ b/lldb/test/API/benchmarks/expression/TestExpressionCmd.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/benchmarks/expression/TestRepeatedExprs.py +++ b/lldb/test/API/benchmarks/expression/TestRepeatedExprs.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py +++ b/lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py +++ b/lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py +++ b/lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/benchmarks/startup/TestStartupDelays.py +++ b/lldb/test/API/benchmarks/startup/TestStartupDelays.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py +++ b/lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py +++ b/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py +++ b/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py @@ -13,8 +13,6 @@ @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 --- a/lldb/test/API/commands/apropos/basic/TestApropos.py +++ b/lldb/test/API/commands/apropos/basic/TestApropos.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py +++ b/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/breakpoint/command/list/TestBreakpointCommandList.py +++ b/lldb/test/API/commands/breakpoint/command/list/TestBreakpointCommandList.py @@ -8,8 +8,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/command/container/TestContainerCommands.py +++ b/lldb/test/API/commands/command/container/TestContainerCommands.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/command/delete/TestCommandDelete.py +++ b/lldb/test/API/commands/command/delete/TestCommandDelete.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/commands/command/invalid-args/TestInvalidArgsCommand.py +++ b/lldb/test/API/commands/command/invalid-args/TestInvalidArgsCommand.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/commands/command/nested_alias/TestNestedAlias.py +++ b/lldb/test/API/commands/command/nested_alias/TestNestedAlias.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/command/regex/TestRegexCommand.py +++ b/lldb/test/API/commands/command/regex/TestRegexCommand.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/command/script/TestCommandScript.py +++ b/lldb/test/API/commands/command/script/TestCommandScript.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/command/script/import/TestImport.py +++ b/lldb/test/API/commands/command/script/import/TestImport.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/command/script_alias/TestCommandScriptAlias.py +++ b/lldb/test/API/commands/command/script_alias/TestCommandScriptAlias.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/commands/command/source/TestCommandSource.py +++ b/lldb/test/API/commands/command/source/TestCommandSource.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/disassemble/basic/TestDisassembleBreakpoint.py +++ b/lldb/test/API/commands/disassemble/basic/TestDisassembleBreakpoint.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/disassemble/basic/TestFrameDisassemble.py +++ b/lldb/test/API/commands/disassemble/basic/TestFrameDisassemble.py @@ -11,8 +11,6 @@ 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 --- 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 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/calculator_mode/TestCalculatorMode.py +++ b/lldb/test/API/commands/expression/calculator_mode/TestCalculatorMode.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py +++ b/lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py +++ b/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/commands/expression/call-function/TestCallStopAndContinue.py +++ b/lldb/test/API/commands/expression/call-function/TestCallStopAndContinue.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/commands/expression/call-function/TestCallUserDefinedFunction.py +++ b/lldb/test/API/commands/expression/call-function/TestCallUserDefinedFunction.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py +++ b/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py +++ b/lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/char/TestExprsChar.py +++ b/lldb/test/API/commands/expression/char/TestExprsChar.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/completion/TestExprCompletion.py +++ b/lldb/test/API/commands/expression/completion/TestExprCompletion.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/context-object/TestContextObject.py +++ b/lldb/test/API/commands/expression/context-object/TestContextObject.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py +++ b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/entry-bp/TestExprEntryBP.py +++ b/lldb/test/API/commands/expression/entry-bp/TestExprEntryBP.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/commands/expression/error-limit/TestExprErrorLimit.py +++ b/lldb/test/API/commands/expression/error-limit/TestExprErrorLimit.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/fixits/TestFixIts.py +++ b/lldb/test/API/commands/expression/fixits/TestFixIts.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/expression/formatters/TestFormatters.py +++ b/lldb/test/API/commands/expression/formatters/TestFormatters.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py +++ b/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py @@ -10,7 +10,6 @@ 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 --- a/lldb/test/API/commands/expression/invalid-args/TestInvalidArgsExpression.py +++ b/lldb/test/API/commands/expression/invalid-args/TestInvalidArgsExpression.py @@ -4,8 +4,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py +++ b/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/issue_11588/Test11588.py +++ b/lldb/test/API/commands/expression/issue_11588/Test11588.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/commands/expression/macros/TestMacros.py +++ b/lldb/test/API/commands/expression/macros/TestMacros.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py +++ b/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py +++ b/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py +++ b/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/commands/expression/options/TestExprOptions.py +++ b/lldb/test/API/commands/expression/options/TestExprOptions.py @@ -17,8 +17,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/persistent_types/TestNestedPersistentTypes.py +++ b/lldb/test/API/commands/expression/persistent_types/TestNestedPersistentTypes.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/persistent_types/TestPersistentTypes.py +++ b/lldb/test/API/commands/expression/persistent_types/TestPersistentTypes.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/persistent_variables/TestPersistentVariables.py +++ b/lldb/test/API/commands/expression/persistent_variables/TestPersistentVariables.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/expression/po_verbosity/TestPoVerbosity.py +++ b/lldb/test/API/commands/expression/po_verbosity/TestPoVerbosity.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py +++ b/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/commands/expression/pr52257/TestExprCrash.py +++ b/lldb/test/API/commands/expression/pr52257/TestExprCrash.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/expression/radar_8638051/Test8638051.py +++ b/lldb/test/API/commands/expression/radar_8638051/Test8638051.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py +++ b/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/radar_9673664/TestExprHelpExamples.py +++ b/lldb/test/API/commands/expression/radar_9673664/TestExprHelpExamples.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/result_numbering/TestResultNumbering.py +++ b/lldb/test/API/commands/expression/result_numbering/TestResultNumbering.py @@ -12,8 +12,6 @@ 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 --- 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 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 --- a/lldb/test/API/commands/expression/scoped_enums/TestScopedEnumType.py +++ b/lldb/test/API/commands/expression/scoped_enums/TestScopedEnumType.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py +++ b/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/commands/expression/test/TestExprs.py +++ b/lldb/test/API/commands/expression/test/TestExprs.py @@ -23,8 +23,6 @@ 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 --- a/lldb/test/API/commands/expression/test/TestExprs2.py +++ b/lldb/test/API/commands/expression/test/TestExprs2.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py +++ b/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/expression/top-level/TestTopLevelExprs.py +++ b/lldb/test/API/commands/expression/top-level/TestTopLevelExprs.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/commands/expression/two-files/TestObjCTypeQueryFromOtherCompileUnit.py +++ b/lldb/test/API/commands/expression/two-files/TestObjCTypeQueryFromOtherCompileUnit.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py +++ b/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py +++ b/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py +++ b/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/commands/frame/diagnose/array/TestArray.py +++ b/lldb/test/API/commands/frame/diagnose/array/TestArray.py @@ -10,7 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/frame/diagnose/inheritance/TestDiagnoseInheritance.py +++ b/lldb/test/API/commands/frame/diagnose/inheritance/TestDiagnoseInheritance.py @@ -10,7 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/frame/language/TestGuessLanguage.py +++ b/lldb/test/API/commands/frame/language/TestGuessLanguage.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py +++ b/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/frame/select/TestFrameSelect.py +++ b/lldb/test/API/commands/frame/select/TestFrameSelect.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/commands/frame/var/TestFrameVar.py +++ b/lldb/test/API/commands/frame/var/TestFrameVar.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/gui/basic/TestGuiBasic.py +++ b/lldb/test/API/commands/gui/basic/TestGuiBasic.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py +++ b/lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py +++ b/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/gui/invalid-args/TestInvalidArgsGui.py +++ b/lldb/test/API/commands/gui/invalid-args/TestInvalidArgsGui.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py +++ b/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/commands/help/TestHelp.py +++ b/lldb/test/API/commands/help/TestHelp.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/commands/log/basic/TestLogging.py +++ b/lldb/test/API/commands/log/basic/TestLogging.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py +++ b/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/commands/memory/read/TestMemoryRead.py +++ b/lldb/test/API/commands/memory/read/TestMemoryRead.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/commands/memory/write/TestMemoryWrite.py +++ b/lldb/test/API/commands/memory/write/TestMemoryWrite.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/platform/basic/TestPlatformCommand.py +++ b/lldb/test/API/commands/platform/basic/TestPlatformCommand.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/platform/basic/TestPlatformPython.py +++ b/lldb/test/API/commands/platform/basic/TestPlatformPython.py @@ -12,8 +12,6 @@ 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 --- 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 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 --- a/lldb/test/API/commands/platform/file/close/TestPlatformFileClose.py +++ b/lldb/test/API/commands/platform/file/close/TestPlatformFileClose.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/commands/platform/file/read/TestPlatformFileRead.py +++ b/lldb/test/API/commands/platform/file/read/TestPlatformFileRead.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/commands/platform/process/list/TestProcessList.py +++ b/lldb/test/API/commands/platform/process/list/TestProcessList.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py +++ b/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/commands/process/attach-resume/TestAttachResume.py +++ b/lldb/test/API/commands/process/attach-resume/TestAttachResume.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/commands/process/attach/TestProcessAttach.py +++ b/lldb/test/API/commands/process/attach/TestProcessAttach.py @@ -16,8 +16,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/process/handle/TestProcessHandle.py +++ b/lldb/test/API/commands/process/handle/TestProcessHandle.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/process/launch/TestProcessLaunch.py +++ b/lldb/test/API/commands/process/launch/TestProcessLaunch.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/commands/process/signal/TestProcessSignal.py +++ b/lldb/test/API/commands/process/signal/TestProcessSignal.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/commands/quit/TestQuit.py +++ b/lldb/test/API/commands/quit/TestQuit.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py +++ b/lldb/test/API/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/commands/session/history/TestSessionHistory.py +++ b/lldb/test/API/commands/session/history/TestSessionHistory.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/session/save/TestSessionSave.py +++ b/lldb/test/API/commands/session/save/TestSessionSave.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/settings/TestSettings.py +++ b/lldb/test/API/commands/settings/TestSettings.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/commands/settings/quoting/TestQuoting.py +++ b/lldb/test/API/commands/settings/quoting/TestQuoting.py @@ -9,8 +9,6 @@ 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 --- 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 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 --- a/lldb/test/API/commands/statistics/basic/TestStats.py +++ b/lldb/test/API/commands/statistics/basic/TestStats.py @@ -7,8 +7,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/target/basic/TestTargetCommand.py +++ b/lldb/test/API/commands/target/basic/TestTargetCommand.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/commands/target/create-deps/TestTargetCreateDeps.py +++ b/lldb/test/API/commands/target/create-deps/TestTargetCreateDeps.py @@ -12,8 +12,6 @@ @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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/target/dump/TestTargetDumpTypeSystem.py +++ b/lldb/test/API/commands/target/dump/TestTargetDumpTypeSystem.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/target/select/TestTargetSelect.py +++ b/lldb/test/API/commands/target/select/TestTargetSelect.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py +++ b/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/target/stop-hooks/TestStopHooks.py +++ b/lldb/test/API/commands/target/stop-hooks/TestStopHooks.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py +++ b/lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/thread/select/TestThreadSelect.py +++ b/lldb/test/API/commands/thread/select/TestThreadSelect.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceDumpInfo.py +++ b/lldb/test/API/commands/trace/TestTraceDumpInfo.py @@ -5,7 +5,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceDumpInstructions.py +++ b/lldb/test/API/commands/trace/TestTraceDumpInstructions.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceEvents.py +++ b/lldb/test/API/commands/trace/TestTraceEvents.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceExport.py +++ b/lldb/test/API/commands/trace/TestTraceExport.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceLoad.py +++ b/lldb/test/API/commands/trace/TestTraceLoad.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceSave.py +++ b/lldb/test/API/commands/trace/TestTraceSave.py @@ -11,7 +11,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceSchema.py +++ b/lldb/test/API/commands/trace/TestTraceSchema.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceStartStop.py +++ b/lldb/test/API/commands/trace/TestTraceStartStop.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/commands/trace/TestTraceTSC.py +++ b/lldb/test/API/commands/trace/TestTraceTSC.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py +++ b/lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/commands/version/TestVersion.py +++ b/lldb/test/API/commands/version/TestVersion.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py +++ b/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py +++ b/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py +++ b/lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py +++ b/lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 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 --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 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 --- a/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py @@ -9,7 +9,6 @@ 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 --- a/lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/driver/batch_mode/TestBatchMode.py +++ b/lldb/test/API/driver/batch_mode/TestBatchMode.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/driver/job_control/TestJobControl.py +++ b/lldb/test/API/driver/job_control/TestJobControl.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/functionalities/abbreviation/TestAbbreviations.py +++ b/lldb/test/API/functionalities/abbreviation/TestAbbreviations.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/abbreviation/TestCommonShortSpellings.py +++ b/lldb/test/API/functionalities/abbreviation/TestCommonShortSpellings.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/archives/TestBSDArchives.py +++ b/lldb/test/API/functionalities/archives/TestBSDArchives.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/asan/TestMemoryHistory.py +++ b/lldb/test/API/functionalities/asan/TestMemoryHistory.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/asan/TestReportData.py +++ b/lldb/test/API/functionalities/asan/TestReportData.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py +++ b/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py +++ b/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py +++ b/lldb/test/API/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py @@ -14,7 +14,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py +++ b/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py +++ b/lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py +++ b/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py @@ -11,8 +11,6 @@ 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 --- 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 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 --- 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 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 --- 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 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 --- a/lldb/test/API/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py +++ b/lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py +++ b/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/serialize/TestBreakpointSerialization.py +++ b/lldb/test/API/functionalities/breakpoint/serialize/TestBreakpointSerialization.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/completion/TestCompletion.py +++ b/lldb/test/API/functionalities/completion/TestCompletion.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py +++ b/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py @@ -18,8 +18,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py +++ b/lldb/test/API/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py +++ b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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_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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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_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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py +++ b/lldb/test/API/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py +++ b/lldb/test/API/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py +++ b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py +++ b/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py +++ b/lldb/test/API/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/parray/TestPrintArray.py +++ b/lldb/test/API/functionalities/data-formatter/parray/TestPrintArray.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py +++ b/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py +++ b/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py +++ b/lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py +++ b/lldb/test/API/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/dead-strip/TestDeadStrip.py +++ b/lldb/test/API/functionalities/dead-strip/TestDeadStrip.py @@ -12,8 +12,6 @@ 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 --- 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 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 --- a/lldb/test/API/functionalities/diagnostic_reporting/TestDiagnosticReporting.py +++ b/lldb/test/API/functionalities/diagnostic_reporting/TestDiagnosticReporting.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py +++ b/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py @@ -5,8 +5,6 @@ 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 --- 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 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 --- 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.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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/exec/TestExec.py +++ b/lldb/test/API/functionalities/exec/TestExec.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/functionalities/fat_archives/TestFatArchives.py +++ b/lldb/test/API/functionalities/fat_archives/TestFatArchives.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/find-line-entry/TestFindLineEntry.py +++ b/lldb/test/API/functionalities/find-line-entry/TestFindLineEntry.py @@ -8,8 +8,6 @@ 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 --- 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 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestFork.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestFork.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteDiskFileCompletion.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteDiskFileCompletion.py @@ -3,8 +3,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py @@ -8,8 +8,6 @@ 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 --- 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 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestMemoryRegionDirtyPages.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestMemoryRegionDirtyPages.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py @@ -23,8 +23,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNoLocalFile.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNoLocalFile.py @@ -8,8 +8,6 @@ """ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py @@ -10,8 +10,6 @@ @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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestPty.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestPty.py @@ -7,7 +7,6 @@ @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 --- 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 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRecognizeBreakpoint.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRecognizeBreakpoint.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py @@ -17,8 +17,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestStopPCs.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestStopPCs.py @@ -7,8 +7,6 @@ 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 --- 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 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestThreadInfoTrailingComma.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestThreadInfoTrailingComma.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestThreadSelectionBug.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestThreadSelectionBug.py @@ -7,8 +7,6 @@ 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 --- 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 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestWriteMemory.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestWriteMemory.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/functionalities/history/TestHistoryRecall.py +++ b/lldb/test/API/functionalities/history/TestHistoryRecall.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py +++ b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/inferior-changed/TestInferiorChanged.py +++ b/lldb/test/API/functionalities/inferior-changed/TestInferiorChanged.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py +++ b/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashingStep.py +++ b/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashingStep.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py +++ b/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py +++ b/lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py +++ b/lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py @@ -15,7 +15,6 @@ 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 --- a/lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py +++ b/lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py @@ -11,8 +11,6 @@ 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 --- 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 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 --- a/lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py +++ b/lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/load_unload/TestLoadUnload.py +++ b/lldb/test/API/functionalities/load_unload/TestLoadUnload.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py +++ b/lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py @@ -14,8 +14,6 @@ @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 --- a/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py +++ b/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/functionalities/longjmp/TestLongjmp.py +++ b/lldb/test/API/functionalities/longjmp/TestLongjmp.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py +++ b/lldb/test/API/functionalities/memory-region/TestMemoryRegion.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/memory/cache/TestMemoryCache.py +++ b/lldb/test/API/functionalities/memory/cache/TestMemoryCache.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/memory/find/TestMemoryFind.py +++ b/lldb/test/API/functionalities/memory/find/TestMemoryFind.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py +++ b/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py +++ b/lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py +++ b/lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/mtc/simple/TestMTCSimple.py +++ b/lldb/test/API/functionalities/mtc/simple/TestMTCSimple.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py +++ b/lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py +++ b/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py @@ -8,8 +8,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/object-file/TestImageListMultiArchitecture.py +++ b/lldb/test/API/functionalities/object-file/TestImageListMultiArchitecture.py @@ -17,8 +17,6 @@ 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 --- a/lldb/test/API/functionalities/paths/TestPaths.py +++ b/lldb/test/API/functionalities/paths/TestPaths.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py +++ b/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/pointer_num_children/TestPointerNumChildren.py +++ b/lldb/test/API/functionalities/pointer_num_children/TestPointerNumChildren.py @@ -9,7 +9,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py +++ b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py +++ b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py +++ b/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py @@ -17,8 +17,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/postmortem/mach-core/TestMachCore.py +++ b/lldb/test/API/functionalities/postmortem/mach-core/TestMachCore.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py +++ b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py +++ b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py +++ b/lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py +++ b/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py @@ -16,8 +16,6 @@ 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 --- a/lldb/test/API/functionalities/postmortem/wow64_minidump/TestWow64MiniDump.py +++ b/lldb/test/API/functionalities/postmortem/wow64_minidump/TestWow64MiniDump.py @@ -17,8 +17,6 @@ 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 --- a/lldb/test/API/functionalities/pre_run_dylibs/TestPreRunDylibs.py +++ b/lldb/test/API/functionalities/pre_run_dylibs/TestPreRunDylibs.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py +++ b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py +++ b/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py +++ b/lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/progress_reporting/TestProgressReporting.py +++ b/lldb/test/API/functionalities/progress_reporting/TestProgressReporting.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/progress_reporting/TestTrimmedProgressReporting.py +++ b/lldb/test/API/functionalities/progress_reporting/TestTrimmedProgressReporting.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py +++ b/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py +++ b/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py +++ b/lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/rerun/TestRerun.py +++ b/lldb/test/API/functionalities/rerun/TestRerun.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/return-value/TestReturnValue.py +++ b/lldb/test/API/functionalities/return-value/TestReturnValue.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py +++ b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py +++ b/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/functionalities/set-data/TestSetData.py +++ b/lldb/test/API/functionalities/set-data/TestSetData.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/show_location/TestShowLocationDwarf5.py +++ b/lldb/test/API/functionalities/show_location/TestShowLocationDwarf5.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/functionalities/signal/TestSendSignal.py +++ b/lldb/test/API/functionalities/signal/TestSendSignal.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py +++ b/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/signal/handle-segv/TestHandleSegv.py +++ b/lldb/test/API/functionalities/signal/handle-segv/TestHandleSegv.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/signal/raise/TestRaise.py +++ b/lldb/test/API/functionalities/signal/raise/TestRaise.py @@ -12,8 +12,6 @@ @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 --- a/lldb/test/API/functionalities/source-map/TestTargetSourceMap.py +++ b/lldb/test/API/functionalities/source-map/TestTargetSourceMap.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py +++ b/lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py @@ -8,7 +8,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/step-vrs-interrupt/TestStepVrsInterruptTimeout.py +++ b/lldb/test/API/functionalities/step-vrs-interrupt/TestStepVrsInterruptTimeout.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py +++ b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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.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 --- 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.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 --- 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 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 --- a/lldb/test/API/functionalities/target_var/TestTargetVar.py +++ b/lldb/test/API/functionalities/target_var/TestTargetVar.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/testid/TestTestId.py +++ b/lldb/test/API/functionalities/testid/TestTestId.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/functionalities/thread/backtrace_limit/TestBacktraceLimit.py +++ b/lldb/test/API/functionalities/thread/backtrace_limit/TestBacktraceLimit.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointOneDelayBreakpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointOneDelayBreakpointThreads.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithSignal.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpoint.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpointBreakpointSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentCrashWithWatchpointBreakpointSignal.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalWatch.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelaySignalWatch.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayWatchBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayWatchBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointSignal.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManySignals.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManySignals.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py @@ -8,8 +8,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayWatch.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayWatch.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreak.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreakDelay.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchBreakDelay.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py @@ -9,8 +9,6 @@ @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 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointWithDelayWatchpointThreads.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentWatchpointWithDelayWatchpointThreads.py @@ -9,8 +9,6 @@ @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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/thread/ignore_suspended/TestIgnoreSuspendedThread.py +++ b/lldb/test/API/functionalities/thread/ignore_suspended/TestIgnoreSuspendedThread.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/functionalities/thread/jump/TestThreadJump.py +++ b/lldb/test/API/functionalities/thread/jump/TestThreadJump.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/thread/multi_break/TestMultipleBreakpoints.py +++ b/lldb/test/API/functionalities/thread/multi_break/TestMultipleBreakpoints.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py +++ b/lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/thread/state/TestThreadStates.py +++ b/lldb/test/API/functionalities/thread/state/TestThreadStates.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py +++ b/lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py @@ -12,8 +12,6 @@ class ThreadStepOutTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - @expectedFailureAll( oslist=["freebsd"], bugnumber="llvm.org/pr18066 inferior does not exit") diff --git a/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py b/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py --- a/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py +++ b/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/thread/thread_exit/TestThreadExit.py +++ b/lldb/test/API/functionalities/thread/thread_exit/TestThreadExit.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py +++ b/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py +++ b/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/tsan/global_location/TestTsanGlobalLocation.py +++ b/lldb/test/API/functionalities/tsan/global_location/TestTsanGlobalLocation.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/tsan/multiple/TestTsanMultiple.py +++ b/lldb/test/API/functionalities/tsan/multiple/TestTsanMultiple.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/tsan/thread_leak/TestTsanThreadLeak.py +++ b/lldb/test/API/functionalities/tsan/thread_leak/TestTsanThreadLeak.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py +++ b/lldb/test/API/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/tty/TestTerminal.py +++ b/lldb/test/API/functionalities/tty/TestTerminal.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py +++ b/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/type_lookup/TestTypeLookup.py +++ b/lldb/test/API/functionalities/type_lookup/TestTypeLookup.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py +++ b/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py +++ b/lldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py +++ b/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py @@ -8,7 +8,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/unwind/ehframe/TestEhFrameUnwind.py +++ b/lldb/test/API/functionalities/unwind/ehframe/TestEhFrameUnwind.py @@ -11,7 +11,6 @@ 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 --- a/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py +++ b/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py @@ -12,7 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py +++ b/lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py @@ -12,7 +12,6 @@ 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 --- a/lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py +++ b/lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py @@ -31,7 +31,6 @@ 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 --- a/lldb/test/API/functionalities/value_md5_crash/TestValueMD5Crash.py +++ b/lldb/test/API/functionalities/value_md5_crash/TestValueMD5Crash.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/functionalities/var_path/TestVarPath.py +++ b/lldb/test/API/functionalities/var_path/TestVarPath.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/functionalities/wrong_commands/TestWrongCommands.py +++ b/lldb/test/API/functionalities/wrong_commands/TestWrongCommands.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/iohandler/autosuggestion/TestAutosuggestion.py +++ b/lldb/test/API/iohandler/autosuggestion/TestAutosuggestion.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py +++ b/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/iohandler/resize/TestIOHandlerResize.py +++ b/lldb/test/API/iohandler/resize/TestIOHandlerResize.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py +++ b/lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py +++ b/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py +++ b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/iohandler/stdio/TestIOHandlerProcessSTDIO.py +++ b/lldb/test/API/iohandler/stdio/TestIOHandlerProcessSTDIO.py @@ -4,8 +4,6 @@ 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 --- a/lldb/test/API/iohandler/unicode/TestUnicode.py +++ b/lldb/test/API/iohandler/unicode/TestUnicode.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/c/anonymous/TestAnonymous.py +++ b/lldb/test/API/lang/c/anonymous/TestAnonymous.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/array_types/TestArrayTypes.py +++ b/lldb/test/API/lang/c/array_types/TestArrayTypes.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/bitfields/TestBitfields.py +++ b/lldb/test/API/lang/c/bitfields/TestBitfields.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/blocks/TestBlocks.py +++ b/lldb/test/API/lang/c/blocks/TestBlocks.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/builtin-types/TestCBuiltinTypes.py +++ b/lldb/test/API/lang/c/builtin-types/TestCBuiltinTypes.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py +++ b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/lang/c/complex/TestComplexC99.py +++ b/lldb/test/API/lang/c/complex/TestComplexC99.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/c/complex_int/TestComplexInt.py +++ b/lldb/test/API/lang/c/complex_int/TestComplexInt.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py +++ b/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/c/const_variables/TestConstVariables.py +++ b/lldb/test/API/lang/c/const_variables/TestConstVariables.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/c/enum_types/TestEnumTypes.py +++ b/lldb/test/API/lang/c/enum_types/TestEnumTypes.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/c/forward/TestForwardDeclaration.py +++ b/lldb/test/API/lang/c/forward/TestForwardDeclaration.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py +++ b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py +++ b/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/c/local_types/TestUseClosestType.py +++ b/lldb/test/API/lang/c/local_types/TestUseClosestType.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/lang/c/local_variables/TestLocalVariables.py +++ b/lldb/test/API/lang/c/local_variables/TestLocalVariables.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/lang/c/modules/TestCModules.py +++ b/lldb/test/API/lang/c/modules/TestCModules.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py +++ b/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/lang/c/set_values/TestSetValues.py +++ b/lldb/test/API/lang/c/set_values/TestSetValues.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/shared_lib/TestSharedLib.py +++ b/lldb/test/API/lang/c/shared_lib/TestSharedLib.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/c/sizeof/TestCSizeof.py +++ b/lldb/test/API/lang/c/sizeof/TestCSizeof.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/c/step-target/TestStepTarget.py +++ b/lldb/test/API/lang/c/step-target/TestStepTarget.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/c/stepping/TestStepAndBreakpoints.py +++ b/lldb/test/API/lang/c/stepping/TestStepAndBreakpoints.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/stepping/TestThreadStepInAvoidRegexp.py +++ b/lldb/test/API/lang/c/stepping/TestThreadStepInAvoidRegexp.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/c/stepping/TestThreadStepping.py +++ b/lldb/test/API/lang/c/stepping/TestThreadStepping.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/lang/c/strings/TestCStrings.py +++ b/lldb/test/API/lang/c/strings/TestCStrings.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py +++ b/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/c/typedef/Testtypedef.py +++ b/lldb/test/API/lang/c/typedef/Testtypedef.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py +++ b/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/lang/c/unions/TestUnionMembers.py +++ b/lldb/test/API/lang/c/unions/TestUnionMembers.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/c/vla/TestVLA.py +++ b/lldb/test/API/lang/c/vla/TestVLA.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py +++ b/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py @@ -6,8 +6,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/auto/TestCPPAuto.py +++ b/lldb/test/API/lang/cpp/auto/TestCPPAuto.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py +++ b/lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/lang/cpp/bool/TestCPPBool.py +++ b/lldb/test/API/lang/cpp/bool/TestCPPBool.py @@ -8,8 +8,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py +++ b/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py +++ b/lldb/test/API/lang/cpp/call-function/TestCallCPPFunction.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py +++ b/lldb/test/API/lang/cpp/chained-calls/TestCppChainedCalls.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/lang/cpp/char1632_t/TestChar1632T.py +++ b/lldb/test/API/lang/cpp/char1632_t/TestChar1632T.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py +++ b/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/cpp/class_types/TestClassTypes.py +++ b/lldb/test/API/lang/cpp/class_types/TestClassTypes.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py +++ b/lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py @@ -14,8 +14,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/const_this/TestConstThis.py +++ b/lldb/test/API/lang/cpp/const_this/TestConstThis.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py +++ b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/crtp/TestCppCRTP.py +++ b/lldb/test/API/lang/cpp/crtp/TestCppCRTP.py @@ -14,8 +14,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py +++ b/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/cpp/diamond/TestCppDiamond.py +++ b/lldb/test/API/lang/cpp/diamond/TestCppDiamond.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py +++ b/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py +++ b/lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/cpp/elaborated-types/TestElaboratedTypes.py +++ b/lldb/test/API/lang/cpp/elaborated-types/TestElaboratedTypes.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py +++ b/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py +++ b/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py +++ b/lldb/test/API/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/cpp/global_operators/TestCppGlobalOperators.py +++ b/lldb/test/API/lang/cpp/global_operators/TestCppGlobalOperators.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py +++ b/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py +++ b/lldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py @@ -7,8 +7,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/incomplete-types/TestCppIncompleteTypes.py +++ b/lldb/test/API/lang/cpp/incomplete-types/TestCppIncompleteTypes.py @@ -6,8 +6,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/inlines/TestInlines.py +++ b/lldb/test/API/lang/cpp/inlines/TestInlines.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py +++ b/lldb/test/API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py @@ -6,8 +6,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py +++ b/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py +++ b/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/cpp/namespace/TestNamespace.py +++ b/lldb/test/API/lang/cpp/namespace/TestNamespace.py @@ -12,8 +12,6 @@ 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 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 --- a/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py +++ b/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py +++ b/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py +++ b/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py @@ -9,8 +9,6 @@ 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 --- 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 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 --- a/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py +++ b/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/rvalue-references/TestRvalueReferences.py +++ b/lldb/test/API/lang/cpp/rvalue-references/TestRvalueReferences.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/cpp/scope/TestCppScope.py +++ b/lldb/test/API/lang/cpp/scope/TestCppScope.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py +++ b/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/cpp/sizeof/TestCPPSizeof.py +++ b/lldb/test/API/lang/cpp/sizeof/TestCPPSizeof.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py +++ b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py +++ b/lldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/stl/TestSTL.py +++ b/lldb/test/API/lang/cpp/stl/TestSTL.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py +++ b/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py @@ -14,8 +14,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py +++ b/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py @@ -5,8 +5,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/template-arguments/TestCppTemplateArguments.py +++ b/lldb/test/API/lang/cpp/template-arguments/TestCppTemplateArguments.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py +++ b/lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/template/TestTemplateArgs.py +++ b/lldb/test/API/lang/cpp/template/TestTemplateArgs.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/lang/cpp/this/TestCPPThis.py +++ b/lldb/test/API/lang/cpp/this/TestCPPThis.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py +++ b/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py +++ b/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/lang/cpp/type_lookup/TestCppTypeLookup.py +++ b/lldb/test/API/lang/cpp/type_lookup/TestCppTypeLookup.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py +++ b/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py +++ b/lldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py +++ b/lldb/test/API/lang/cpp/unicode-literals/TestUnicodeLiterals.py @@ -26,8 +26,6 @@ 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 --- a/lldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py +++ b/lldb/test/API/lang/cpp/unique-types/TestUniqueTypes.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py +++ b/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/cpp/virtual-functions/TestCppVirtualFunctions.py +++ b/lldb/test/API/lang/cpp/virtual-functions/TestCppVirtualFunctions.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py +++ b/lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/mixed/TestMixedLanguages.py +++ b/lldb/test/API/lang/mixed/TestMixedLanguages.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py +++ b/lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py +++ b/lldb/test/API/lang/objc/blocks/TestObjCIvarsInBlocks.py @@ -8,8 +8,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/conflicting-definition/TestConflictingDefinition.py +++ b/lldb/test/API/lang/objc/conflicting-definition/TestConflictingDefinition.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py +++ b/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py +++ b/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestConstStrings.py +++ b/lldb/test/API/lang/objc/foundation/TestConstStrings.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py +++ b/lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethods.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethods.py @@ -18,8 +18,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethods2.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethods2.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSArray.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSArray.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py +++ b/lldb/test/API/lang/objc/foundation/TestObjCMethodsString.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py +++ b/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py +++ b/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/foundation/TestSymbolTable.py +++ b/lldb/test/API/lang/objc/foundation/TestSymbolTable.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py +++ b/lldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py +++ b/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py +++ b/lldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/modules-cache/TestClangModulesCache.py +++ b/lldb/test/API/lang/objc/modules-cache/TestClangModulesCache.py @@ -14,7 +14,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/modules-incomplete/TestIncompleteModules.py +++ b/lldb/test/API/lang/objc/modules-incomplete/TestIncompleteModules.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py +++ b/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py @@ -10,7 +10,6 @@ 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 --- a/lldb/test/API/lang/objc/modules/TestObjCModules.py +++ b/lldb/test/API/lang/objc/modules/TestObjCModules.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/objc++/TestObjCXX.py +++ b/lldb/test/API/lang/objc/objc++/TestObjCXX.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py +++ b/lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py +++ b/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py @@ -20,8 +20,6 @@ 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 --- a/lldb/test/API/lang/objc/objc-property/TestObjCProperty.py +++ b/lldb/test/API/lang/objc/objc-property/TestObjCProperty.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py +++ b/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/objc-super/TestObjCSuper.py +++ b/lldb/test/API/lang/objc/objc-super/TestObjCSuper.py @@ -10,8 +10,6 @@ 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 --- 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 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 --- a/lldb/test/API/lang/objc/print-obj/TestPrintObj.py +++ b/lldb/test/API/lang/objc/print-obj/TestPrintObj.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py +++ b/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py +++ b/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py +++ b/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py +++ b/lldb/test/API/lang/objc/rdar-11355592/TestRdar11355592.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py +++ b/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py @@ -17,8 +17,6 @@ # 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 --- a/lldb/test/API/lang/objc/real-definition/TestRealDefinition.py +++ b/lldb/test/API/lang/objc/real-definition/TestRealDefinition.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/lang/objc/self/TestObjCSelf.py +++ b/lldb/test/API/lang/objc/self/TestObjCSelf.py @@ -9,8 +9,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py +++ b/lldb/test/API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py @@ -6,8 +6,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/linux/aarch64/unwind_signal/TestUnwindSignal.py +++ b/lldb/test/API/linux/aarch64/unwind_signal/TestUnwindSignal.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py +++ b/lldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py +++ b/lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py +++ b/lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py @@ -7,8 +7,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/lua_api/TestLuaAPI.py +++ b/lldb/test/API/lua_api/TestLuaAPI.py @@ -130,8 +130,6 @@ 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 --- a/lldb/test/API/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py +++ b/lldb/test/API/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py +++ b/lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py @@ -6,8 +6,6 @@ @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 --- a/lldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py +++ b/lldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py @@ -11,8 +11,6 @@ @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 --- a/lldb/test/API/macosx/builtin-debugtrap/TestBuiltinDebugTrap.py +++ b/lldb/test/API/macosx/builtin-debugtrap/TestBuiltinDebugTrap.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/macosx/corefile-default-ptrauth/TestCorefileDefaultPtrauth.py +++ b/lldb/test/API/macosx/corefile-default-ptrauth/TestCorefileDefaultPtrauth.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py +++ b/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py +++ b/lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/macosx/duplicate-archive-members/TestDuplicateMembers.py +++ b/lldb/test/API/macosx/duplicate-archive-members/TestDuplicateMembers.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py +++ b/lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py @@ -9,8 +9,6 @@ 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 --- 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 @@ @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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py +++ b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py +++ b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py +++ b/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py @@ -10,8 +10,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/macosx/load-kext/TestLoadKext.py +++ b/lldb/test/API/macosx/load-kext/TestLoadKext.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py +++ b/lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py +++ b/lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py +++ b/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py @@ -19,7 +19,6 @@ 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 --- a/lldb/test/API/macosx/order/TestOrderFile.py +++ b/lldb/test/API/macosx/order/TestOrderFile.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py +++ b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py @@ -19,7 +19,6 @@ 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 --- a/lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py +++ b/lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py @@ -17,8 +17,6 @@ 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 --- a/lldb/test/API/macosx/queues/TestQueues.py +++ b/lldb/test/API/macosx/queues/TestQueues.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py +++ b/lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py +++ b/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py +++ b/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py +++ b/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py +++ b/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py +++ b/lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/macosx/universal/TestUniversal.py +++ b/lldb/test/API/macosx/universal/TestUniversal.py @@ -13,7 +13,6 @@ """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 --- a/lldb/test/API/macosx/version_zero/TestGetVersionZeroVersion.py +++ b/lldb/test/API/macosx/version_zero/TestGetVersionZeroVersion.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py +++ b/lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py +++ b/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py +++ b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/python_api/debugger/TestDebuggerAPI.py +++ b/lldb/test/API/python_api/debugger/TestDebuggerAPI.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py +++ b/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py @@ -21,8 +21,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/python_api/event/TestEvents.py +++ b/lldb/test/API/python_api/event/TestEvents.py @@ -14,8 +14,6 @@ @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 --- a/lldb/test/API/python_api/file_handle/TestFileHandle.py +++ b/lldb/test/API/python_api/file_handle/TestFileHandle.py @@ -79,7 +79,6 @@ 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 --- a/lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py +++ b/lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py +++ b/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/python_api/frame/TestFrames.py +++ b/lldb/test/API/python_api/frame/TestFrames.py @@ -14,8 +14,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py +++ b/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py +++ b/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py +++ b/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/python_api/hello_world/TestHelloWorld.py +++ b/lldb/test/API/python_api/hello_world/TestHelloWorld.py @@ -11,7 +11,6 @@ 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 --- a/lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py +++ b/lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py +++ b/lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py @@ -8,7 +8,6 @@ class CommandRunInterpreterLegacyAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) @@ -44,7 +43,6 @@ class CommandRunInterpreterAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True - mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) @@ -75,7 +73,6 @@ 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 --- 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.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 --- a/lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py +++ b/lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py +++ b/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py +++ b/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py +++ b/lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/python_api/module_section/TestModuleAndSection.py +++ b/lldb/test/API/python_api/module_section/TestModuleAndSection.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/python_api/name_lookup/TestNameLookup.py +++ b/lldb/test/API/python_api/name_lookup/TestNameLookup.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/objc_type/TestObjCType.py +++ b/lldb/test/API/python_api/objc_type/TestObjCType.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/python_api/process/TestProcessAPI.py +++ b/lldb/test/API/python_api/process/TestProcessAPI.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/process/io/TestProcessIO.py +++ b/lldb/test/API/python_api/process/io/TestProcessIO.py @@ -11,8 +11,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/python_api/sbdata/TestSBData.py +++ b/lldb/test/API/python_api/sbdata/TestSBData.py @@ -10,8 +10,6 @@ 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 --- 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 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 --- 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 --- a/lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py +++ b/lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py @@ -16,8 +16,6 @@ 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 --- a/lldb/test/API/python_api/sbmodule/TestSBModule.py +++ b/lldb/test/API/python_api/sbmodule/TestSBModule.py @@ -9,8 +9,6 @@ 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 --- 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.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 --- a/lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py +++ b/lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py +++ b/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/python_api/section/TestSectionAPI.py +++ b/lldb/test/API/python_api/section/TestSectionAPI.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/python_api/signals/TestSignalsAPI.py +++ b/lldb/test/API/python_api/signals/TestSignalsAPI.py @@ -12,7 +12,6 @@ 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 --- a/lldb/test/API/python_api/symbol-context/TestSymbolContext.py +++ b/lldb/test/API/python_api/symbol-context/TestSymbolContext.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/python_api/target/TestTargetAPI.py +++ b/lldb/test/API/python_api/target/TestTargetAPI.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/python_api/thread/TestThreadAPI.py +++ b/lldb/test/API/python_api/thread/TestThreadAPI.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/python_api/type/TestTypeList.py +++ b/lldb/test/API/python_api/type/TestTypeList.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/python_api/value/TestValueAPI.py +++ b/lldb/test/API/python_api/value/TestValueAPI.py @@ -13,8 +13,6 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py +++ b/lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py +++ b/lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/python_api/watchpoint/TestWatchpointIter.py +++ b/lldb/test/API/python_api/watchpoint/TestWatchpointIter.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py +++ b/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py +++ b/lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py +++ b/lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py @@ -12,8 +12,6 @@ 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 --- a/lldb/test/API/qemu/TestQemuAPI.py +++ b/lldb/test/API/qemu/TestQemuAPI.py @@ -7,8 +7,6 @@ @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 --- a/lldb/test/API/qemu/TestQemuLaunch.py +++ b/lldb/test/API/qemu/TestQemuLaunch.py @@ -15,8 +15,6 @@ @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 --- a/lldb/test/API/repl/clang/TestClangREPL.py +++ b/lldb/test/API/repl/clang/TestClangREPL.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/sample_test/TestSampleTest.py +++ b/lldb/test/API/sample_test/TestSampleTest.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/sanity/TestModuleCacheSanity.py +++ b/lldb/test/API/sanity/TestModuleCacheSanity.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/sanity/TestReprStrEquality.py +++ b/lldb/test/API/sanity/TestReprStrEquality.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/sanity/TestSettingSkipping.py +++ b/lldb/test/API/sanity/TestSettingSkipping.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/source-manager/TestSourceManager.py +++ b/lldb/test/API/source-manager/TestSourceManager.py @@ -26,8 +26,6 @@ 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 --- a/lldb/test/API/symbol_ondemand/breakpoint_language/TestBreakpointLanguageOnDemand.py +++ b/lldb/test/API/symbol_ondemand/breakpoint_language/TestBreakpointLanguageOnDemand.py @@ -12,8 +12,6 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py +++ b/lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/terminal/TestEditline.py +++ b/lldb/test/API/terminal/TestEditline.py @@ -13,8 +13,6 @@ 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 --- a/lldb/test/API/terminal/TestSTTYBeforeAndAfter.py +++ b/lldb/test/API/terminal/TestSTTYBeforeAndAfter.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/test_utils/TestDecorators.py +++ b/lldb/test/API/test_utils/TestDecorators.py @@ -3,8 +3,6 @@ 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 --- a/lldb/test/API/test_utils/TestInlineTest.py +++ b/lldb/test/API/test_utils/TestInlineTest.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/test_utils/TestPExpectTest.py +++ b/lldb/test/API/test_utils/TestPExpectTest.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/test_utils/base/TestBaseTest.py +++ b/lldb/test/API/test_utils/base/TestBaseTest.py @@ -8,8 +8,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py +++ b/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py @@ -5,7 +5,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteExitCode.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteExitCode.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py @@ -6,8 +6,6 @@ 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 --- 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 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteModuleInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteModuleInfo.py @@ -10,8 +10,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py @@ -45,8 +45,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteRegisterState.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteRegisterState.py @@ -7,8 +7,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py @@ -7,7 +7,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py @@ -6,8 +6,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py @@ -9,8 +9,6 @@ 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 --- 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 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 --- a/lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py @@ -5,8 +5,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py +++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py @@ -26,8 +26,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/TestPtyServer.py +++ b/lldb/test/API/tools/lldb-server/TestPtyServer.py @@ -9,7 +9,6 @@ @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 --- a/lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py +++ b/lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py @@ -126,8 +126,6 @@ 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 --- a/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py +++ b/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py @@ -8,8 +8,6 @@ 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 --- 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 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 --- 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 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 --- a/lldb/test/API/types/HideTestFailures.py +++ b/lldb/test/API/types/HideTestFailures.py @@ -15,8 +15,6 @@ 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 --- a/lldb/test/API/types/TestCharType.py +++ b/lldb/test/API/types/TestCharType.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/types/TestCharTypeExpr.py +++ b/lldb/test/API/types/TestCharTypeExpr.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/types/TestDoubleTypes.py +++ b/lldb/test/API/types/TestDoubleTypes.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/types/TestDoubleTypesExpr.py +++ b/lldb/test/API/types/TestDoubleTypesExpr.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/types/TestFloatTypes.py +++ b/lldb/test/API/types/TestFloatTypes.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/types/TestFloatTypesExpr.py +++ b/lldb/test/API/types/TestFloatTypesExpr.py @@ -14,8 +14,6 @@ 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 --- a/lldb/test/API/types/TestIntegerType.py +++ b/lldb/test/API/types/TestIntegerType.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/types/TestIntegerTypeExpr.py +++ b/lldb/test/API/types/TestIntegerTypeExpr.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/types/TestLongTypes.py +++ b/lldb/test/API/types/TestLongTypes.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/types/TestLongTypesExpr.py +++ b/lldb/test/API/types/TestLongTypesExpr.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/types/TestRecursiveTypes.py +++ b/lldb/test/API/types/TestRecursiveTypes.py @@ -11,8 +11,6 @@ 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 --- a/lldb/test/API/types/TestShortType.py +++ b/lldb/test/API/types/TestShortType.py @@ -9,8 +9,6 @@ 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 --- a/lldb/test/API/types/TestShortTypeExpr.py +++ b/lldb/test/API/types/TestShortTypeExpr.py @@ -9,8 +9,6 @@ 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'])