Author: Dave Lee Date: 2022-10-27T08:41:00-07:00 New Revision: 995d556f427d2ac7d3d9f80041adc7c51e80308b
URL: https://github.com/llvm/llvm-project/commit/995d556f427d2ac7d3d9f80041adc7c51e80308b DIFF: https://github.com/llvm/llvm-project/commit/995d556f427d2ac7d3d9f80041adc7c51e80308b.diff LOG: [lldb][test] Remove empty setUp/tearDown methods (NFC) Added: Modified: lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py Removed: ################################################################################ diff --git a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py index 9b34a2e83d2a9..e60dd88625068 100644 --- a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py +++ b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py @@ -6,9 +6,6 @@ class TestWatchpointCount(TestBase): NO_DEBUG_INFO_TESTCASE = True - def setUp(self): - TestBase.setUp(self) - @skipIf(oslist=["freebsd", "linux"], archs=["arm", "aarch64"], bugnumber="llvm.org/pr26031") def test_watchpoint_count(self): diff --git a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py index 7c6ce83cc56dd..909413c0c2930 100644 --- a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py +++ b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py @@ -14,12 +14,6 @@ class ScriptedProcesTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - def setUp(self): - TestBase.setUp(self) - - def tearDown(self): - TestBase.tearDown(self) - def test_python_plugin_package(self): """Test that the lldb python module has a `plugins.scripted_process` package.""" diff --git a/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py b/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py index 773c34c537636..7a6a7ddb4b77d 100644 --- a/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py +++ b/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py @@ -14,12 +14,6 @@ class StackCoreScriptedProcesTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True - def setUp(self): - TestBase.setUp(self) - - def tearDown(self): - TestBase.tearDown(self) - def create_stack_skinny_corefile(self, file): self.build() target, process, thread, _ = lldbutil.run_to_source_breakpoint(self, "// break here", diff --git a/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py b/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py index ee87f5f67a7bf..658cab13a2da5 100644 --- a/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py +++ b/lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py @@ -10,9 +10,6 @@ class TestCrossDSOTailCalls(TestBase): - def setUp(self): - TestBase.setUp(self) - @skipIf(compiler="clang", compiler_version=['<', '10.0']) @skipIf(dwarf_version=['<', '4']) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr26265") diff --git a/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py b/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py index 0249a0490eeaa..4a60776140aad 100644 --- a/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py +++ b/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py @@ -10,9 +10,6 @@ class TestCrossObjectTailCalls(TestBase): - def setUp(self): - TestBase.setUp(self) - @skipIf(compiler="clang", compiler_version=['<', '10.0']) @skipIf(dwarf_version=['<', '4']) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr26265") diff --git a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py index c4eceeae7ff81..45ef14c1df9fc 100644 --- a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py +++ b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py @@ -10,9 +10,6 @@ class CompileUnitAPITestCase(TestBase): - def setUp(self): - TestBase.setUp(self) - def test(self): """Exercise some SBCompileUnit APIs.""" self.build() _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits