[Lldb-commits] [lldb] [lldb][test] Support remote run of Shell tests (PR #95986)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 31 16:20:07 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 971a1ac4451017e625f81a4a8c15092c06dd2eb3...ed18268a5501a7d6e2aa03717d3c36a1040d2ad4 lldb/test/API/lit.cfg.py lldb/test/Shell/helper/toolchain.py lldb/test/Shell/lit.cfg.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- Shell/helper/toolchain.py 2024-07-31 23:15:41.000000 +0000
+++ Shell/helper/toolchain.py 2024-07-31 23:19:36.890146 +0000
@@ -33,13 +33,11 @@
'"platform select remote-linux"',
"-O",
f'"platform connect {config.lldb_platform_url}"',
]
if config.lldb_platform_working_dir:
- dir = posixpath.join(
- f"{config.lldb_platform_working_dir}", "shell"
- )
+ dir = posixpath.join(f"{config.lldb_platform_working_dir}", "shell")
if suffix:
dir += posixpath.join(dir, f"{suffix}")
lldb_args += [
"-O",
f'"platform shell mkdir -p {dir}"',
``````````
</details>
https://github.com/llvm/llvm-project/pull/95986
More information about the lldb-commits
mailing list