[lldb][tests] Automatically call compute_mydir (NFC)

Eliminate boilerplate of having each test manually assign to `mydir` by calling
`compute_mydir` in lldbtest.py.

Differential Revision: https://reviews.llvm.org/D128077
This commit is contained in:
Dave Lee
2022-06-16 17:38:47 -07:00
parent 303c4c37ea
commit 4cc8f2a017
958 changed files with 4 additions and 1862 deletions

View File

@@ -14,8 +14,6 @@ from lldbsuite.test.lldbutil import get_stopped_thread, get_caller_symbol
class ThreadAPITestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
def test_get_process(self):
"""Test Python SBThread.GetProcess() API."""
self.build()