summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/objc
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-12-13 12:24:23 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-12-13 12:34:49 +0100
commit9bace26a690a778ec0f09a9aae9537dfbdb6f42f (patch)
tree4164aae25028a4490b310022d51a2ad36746079c /lldb/packages/Python/lldbsuite/test/lang/objc
parent3ca771ba594fbd40da7ef842c04b5842e7b2a83c (diff)
downloadbcm5719-llvm-9bace26a690a778ec0f09a9aae9537dfbdb6f42f.tar.gz
bcm5719-llvm-9bace26a690a778ec0f09a9aae9537dfbdb6f42f.zip
[lldb][NFC] Remove all `setUp` overrides that only call the parent implementation
Summary: A lot of our tests copied the setUp code from our TestSampleTest.py: ``` def setUp(self): # Call super's setUp(). TestBase.setUp(self) ``` This code does nothing unless we actually do any setUp work in there, so let's remove all these method definitions. Reviewers: labath, JDevlieghere Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D71454
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/objc')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/modules-app-update/TestClangModulesAppUpdate.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py4
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/modules-update/TestClangModulesUpdate.py3
5 files changed, 0 insertions, 16 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-app-update/TestClangModulesAppUpdate.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
index 044e8396e67..4bd136b7285 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
@@ -12,9 +12,6 @@ from lldbsuite.test import lldbutil
class TestClangModuleAppUpdate(TestBase):
mydir = TestBase.compute_mydir(__file__)
- def setUp(self):
- TestBase.setUp(self)
-
@skipUnlessDarwin
@skipIf(debug_info=no_match(["gmodules"]))
def test_rebuild_app_modules_untouched(self):
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
index 88c319cbc3f..3a12b23a79c 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
@@ -16,9 +16,6 @@ class ObjCModulesTestCase(TestBase):
NO_DEBUG_INFO_TESTCASE = True
mydir = TestBase.compute_mydir(__file__)
- def setUp(self):
- TestBase.setUp(self)
-
@skipUnlessDarwin
def test_expr(self):
self.build()
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py
index d01145f906d..606bd300c24 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py
@@ -12,9 +12,6 @@ from lldbsuite.test import lldbutil
class TestClangModuleHashMismatch(TestBase):
mydir = TestBase.compute_mydir(__file__)
- def setUp(self):
- TestBase.setUp(self)
-
@skipUnlessDarwin
@skipIf(debug_info=no_match(["gmodules"]))
def test_expr(self):
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py
index fffb04f91cd..e2e335a1c43 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py
@@ -15,10 +15,6 @@ class ModulesInlineFunctionsTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- def setUp(self):
- # Call super's setUp().
- TestBase.setUp(self)
-
@skipUnlessDarwin
@skipIf(macos_version=["<", "10.12"], debug_info=no_match(["gmodules"]))
def test_expr(self):
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-update/TestClangModulesUpdate.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-update/TestClangModulesUpdate.py
index fb29030adc5..e36a2278daa 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-update/TestClangModulesUpdate.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-update/TestClangModulesUpdate.py
@@ -12,9 +12,6 @@ from lldbsuite.test import lldbutil
class TestClangModuleUpdate(TestBase):
mydir = TestBase.compute_mydir(__file__)
- def setUp(self):
- TestBase.setUp(self)
-
@skipUnlessDarwin
@skipIf(debug_info=no_match(["gmodules"]))
def test_expr(self):
OpenPOWER on IntegriCloud