[Lldb-commits] [lldb] 4e10b2b - [lldb][test] Remove explicit mydir definitions (NFC)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 27 09:09:07 PDT 2022


Author: Dave Lee
Date: 2022-10-27T09:08:54-07:00
New Revision: 4e10b2bee71a45ffbf07fcce00d24ddf51867a0c

URL: https://github.com/llvm/llvm-project/commit/4e10b2bee71a45ffbf07fcce00d24ddf51867a0c
DIFF: https://github.com/llvm/llvm-project/commit/4e10b2bee71a45ffbf07fcce00d24ddf51867a0c.diff

LOG: [lldb][test] Remove explicit mydir definitions (NFC)

Added: 
    

Modified: 
    lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
    lldb/test/API/lang/c/fpeval/TestFPEval.py
    lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
    lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py b/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
index aa7c01c055fc2..e1e146ac4d110 100644
--- a/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
+++ b/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
@@ -11,8 +11,6 @@
 
 class ExprInsideLambdaTestCase(TestBase):
 
-    mydir = TestBase.compute_mydir(__file__)
-
     def expectExprError(self, expr : str, expected : str):
         frame = self.thread.GetFrameAtIndex(0)
         value = frame.EvaluateExpression(expr)

diff  --git a/lldb/test/API/lang/c/fpeval/TestFPEval.py b/lldb/test/API/lang/c/fpeval/TestFPEval.py
index 694d1ed7aa99d..42ea02cc00123 100644
--- a/lldb/test/API/lang/c/fpeval/TestFPEval.py
+++ b/lldb/test/API/lang/c/fpeval/TestFPEval.py
@@ -7,8 +7,6 @@
 
 class FPEvalTestCase(TestBase):
 
-    mydir = TestBase.compute_mydir(__file__)
-
     def setUp(self):
         # Call super's setUp().
         TestBase.setUp(self)

diff  --git a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
index 180d3f503c4f2..58b5881b47ee3 100644
--- a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
+++ b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
@@ -10,8 +10,6 @@
 
 class TemplatePackArgsTestCase(TestBase):
 
-    mydir = TestBase.compute_mydir(__file__)
-
     def test_template_argument_pack(self):
         self.build()
         (_, _, thread, _) = lldbutil.run_to_source_breakpoint(self,

diff  --git a/lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py b/lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py
index d16916cb1b23a..a174616cd89d8 100644
--- a/lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py
+++ b/lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py
@@ -10,8 +10,6 @@
 
 class AArch64LinuxMTEMemoryTagCoreFileTestCase(TestBase):
 
-    mydir = TestBase.compute_mydir(__file__)
-
     NO_DEBUG_INFO_TESTCASE = True
 
     MTE_BUF_ADDR = hex(0xffff82c74000)


        


More information about the lldb-commits mailing list