From 995d556f427d2ac7d3d9f80041adc7c51e80308b Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 26 Oct 2022 22:05:41 -0700 Subject: [PATCH] [lldb][test] Remove empty setUp/tearDown methods (NFC) --- .../commands/watchpoints/watchpoint_count/TestWatchpointCount.py | 3 --- .../API/functionalities/scripted_process/TestScriptedProcess.py | 6 ------ .../scripted_process/TestStackCoreScriptedProcess.py | 6 ------ .../tail_call_frames/cross_dso/TestCrossDSOTailCalls.py | 3 --- .../tail_call_frames/cross_object/TestCrossObjectTailCalls.py | 3 --- lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py | 3 --- 6 files changed, 24 deletions(-) diff --git a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py index 9b34a2e..e60dd88 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 @@ from lldbsuite.test import lldbutil 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 7c6ce83..909413c 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 773c34c..7a6a7dd 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 ee87f5f..658cab1 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 @@ from lldbsuite.test import lldbutil 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 0249a04..4a60776 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 @@ from lldbsuite.test import lldbutil 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 c4eceea..45ef14c 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 @@ from lldbsuite.test import lldbutil class CompileUnitAPITestCase(TestBase): - def setUp(self): - TestBase.setUp(self) - def test(self): """Exercise some SBCompileUnit APIs.""" self.build() -- 2.7.4