-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[lldb] Fix duplicate test class name causing lldb-dotest conflict #169861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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`.
|
@llvm/pr-subscribers-lldb Author: Ebuka Ezike (da-viper) ChangesDuplicate test class name
Rename the expr variant to Full diff: https://github.com/llvm/llvm-project/pull/169861.diff 1 Files Affected:
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):
|
DavidSpickett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
On the surface this sounds like a pretty silly restriction, but I can't remember what the reason for it is. Probably because the test framework makes a giant pile of Python classes, right? So not something we would be able to fix easily.
Not a big deal, just wondering.
Yeah and it is easier to do |
Definitely, I would be the first to complain if we took away that feature :) |
This comes up every once in a while: #137681 (comment) |
…vm#169861) 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`.
Duplicate test class name
TestFrameVarDILPointerArithmeticprevents lldb-dotest from running any tests.The conflict exists between:
Rename the expr variant to
TestFrameVarDILExprPointerArithmetic.