[Lldb-commits] [lldb] [lldb] Fix duplicate test class name causing lldb-dotest conflict (PR #169861)

via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 27 15:30:38 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Ebuka Ezike (da-viper)

<details>
<summary>Changes</summary>

Duplicate test class name `TestFrameVarDILPointerArithmetic` prevents lldb-dotest from running any tests.
The conflict exists between:
- lldb/test/API/commands/frame/vardil/expr/PointerArithmetic/
- lldb/test/API/commands/frame/vardil/basics/PointerArithmetic/

Rename the expr variant to `TestFrameVarDILExprPointerArithmetic`.

---
Full diff: https://github.com/llvm/llvm-project/pull/169861.diff


1 Files Affected:

- (renamed) lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/TestFrameVarDILExprPointerArithmetic.py (+1-1) 


``````````diff
diff --git a/lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/TestFrameVarDILPointerArithmetic.py b/lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/TestFrameVarDILExprPointerArithmetic.py
similarity index 93%
rename from lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/TestFrameVarDILPointerArithmetic.py
rename to lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/TestFrameVarDILExprPointerArithmetic.py
index 88429b370710e..448cd5b1ec7e0 100644
--- a/lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/TestFrameVarDILPointerArithmetic.py
+++ b/lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/TestFrameVarDILExprPointerArithmetic.py
@@ -8,7 +8,7 @@
 from lldbsuite.test import lldbutil
 
 
-class TestFrameVarDILPointerArithmetic(TestBase):
+class TestFrameVarDILExprPointerArithmetic(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
     def test_pointer_arithmetic(self):

``````````

</details>


https://github.com/llvm/llvm-project/pull/169861


More information about the lldb-commits mailing list