[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

@@ -11,8 +11,6 @@ from lldbsuite.test import lldbutil
class TestStructuredDataAPI(TestBase):
mydir = TestBase.compute_mydir(__file__)
NO_DEBUG_INFO_TESTCASE = True
def test(self):