Skip to content

Conversation

@n2h9
Copy link
Contributor

@n2h9 n2h9 commented Nov 23, 2025

While taking a look at the code of lldb test-suite packages, I have noticed that in get_triple_str in darwin.py env is added inside a components list, which is probably supposed to be component (defined on the line 61).

Signed-off-by: Nikita B <n2h9z4@gmail.com>
@n2h9 n2h9 requested a review from JDevlieghere as a code owner November 23, 2025 23:52
@llvmbot llvmbot added the lldb label Nov 23, 2025
@llvmbot
Copy link
Member

llvmbot commented Nov 23, 2025

@llvm/pr-subscribers-lldb

Author: None (n2h9)

Changes

While taking a look at the code of lldb test-suite packages, I have noticed that in get_triple_str in darwin.py env is added inside a components list, which is probably supposed to be component (defined on the line 61).


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

1 Files Affected:

  • (modified) lldb/packages/Python/lldbsuite/test/builders/darwin.py (+1-1)
diff --git a/lldb/packages/Python/lldbsuite/test/builders/darwin.py b/lldb/packages/Python/lldbsuite/test/builders/darwin.py
index a023bda3ad801..eebe0ef47fd85 100644
--- a/lldb/packages/Python/lldbsuite/test/builders/darwin.py
+++ b/lldb/packages/Python/lldbsuite/test/builders/darwin.py
@@ -60,7 +60,7 @@ def get_triple_str(arch, vendor, os, version, env):
 
     component = [arch, vendor, os + version]
     if env:
-        components.append(env)
+        component.append(env)
     return "-".join(component)
 
 

@JDevlieghere JDevlieghere merged commit 684f64c into llvm:main Nov 26, 2025
12 checks passed
tanji-dg pushed a commit to tanji-dg/llvm-project that referenced this pull request Nov 27, 2025
While taking a look at the code of lldb test-suite packages, I have
noticed that in `get_triple_str` in `darwin.py` env is added inside a
`components` list, which is probably supposed to be `component` (defined
on the line 61).

Signed-off-by: Nikita B <n2h9z4@gmail.com>
GeneraluseAI pushed a commit to GeneraluseAI/llvm-project that referenced this pull request Nov 27, 2025
While taking a look at the code of lldb test-suite packages, I have
noticed that in `get_triple_str` in `darwin.py` env is added inside a
`components` list, which is probably supposed to be `component` (defined
on the line 61).

Signed-off-by: Nikita B <n2h9z4@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants