[Lldb-commits] [lldb] [lldb][test] Provide proper path to LLVM utils in API tests (PR #110837)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 2 06:02:49 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 1bc9b67bd87d7ec51045951c93fd5db953faa745...2036458cada64a285e9b26b9b4c68bf799ff1532 lldb/packages/Python/lldbsuite/test/builders/builder.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- builder.py 2024-10-02 12:50:26.000000 +0000
+++ builder.py 2024-10-02 13:02:18.467344 +0000
@@ -151,11 +151,13 @@
cxx_type = cxx_types.get(cc_type, cc_type)
cc_dir = cc_path.parent
def getToolchainUtil(util_name):
- return os.path.join(configuration.llvm_tools_dir, "llvm-" + util_name + exe_ext)
+ return os.path.join(
+ configuration.llvm_tools_dir, "llvm-" + util_name + exe_ext
+ )
cxx = cc_dir / (cc_prefix + cxx_type + cc_ext)
util_names = {
"OBJCOPY": "objcopy",
``````````
</details>
https://github.com/llvm/llvm-project/pull/110837
More information about the lldb-commits
mailing list