From 4e10b2bee71a45ffbf07fcce00d24ddf51867a0c Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Thu, 27 Oct 2022 08:48:12 -0700 Subject: [PATCH] [lldb][test] Remove explicit mydir definitions (NFC) --- .../API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py | 2 -- lldb/test/API/lang/c/fpeval/TestFPEval.py | 2 -- .../API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py | 2 -- .../linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py | 2 -- 4 files changed, 8 deletions(-) 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 aa7c01c..e1e146ac 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 @@ from lldbsuite.test.lldbtest import * 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 694d1ed..42ea02c 100644 --- a/lldb/test/API/lang/c/fpeval/TestFPEval.py +++ b/lldb/test/API/lang/c/fpeval/TestFPEval.py @@ -7,8 +7,6 @@ from lldbsuite.test import lldbutil 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 180d3f5..58b5881 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 @@ from lldbsuite.test import lldbutil 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 d16916c..a174616 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 @@ from lldbsuite.test.lldbtest import * class AArch64LinuxMTEMemoryTagCoreFileTestCase(TestBase): - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True MTE_BUF_ADDR = hex(0xffff82c74000) -- 2.7.4