[Lldb-commits] [lldb] [lldb][test] Don't print LLDB version in every test (PR #201307)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 3 03:24:39 PDT 2026
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 origin/main...HEAD lldb/packages/Python/lldbsuite/test/configuration.py lldb/packages/Python/lldbsuite/test/dotest.py lldb/packages/Python/lldbsuite/test/dotest_args.py lldb/test/API/lit.cfg.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/API/lit.cfg.py 2026-06-03 10:21:50.000000 +0000
+++ test/API/lit.cfg.py 2026-06-03 10:24:06.416706 +0000
@@ -263,13 +263,11 @@
).strip()
for line in version_output.splitlines():
lit_config.note(line.strip())
except (subprocess.CalledProcessError, OSError) as e:
lit_config.warning(
- "Could not get lldb version from {}: {}".format(
- config.lldb_executable, e
- )
+ "Could not get lldb version from {}: {}".format(config.lldb_executable, e)
)
if is_configured("test_compiler"):
dotest_cmd += ["--compiler", config.test_compiler]
``````````
</details>
https://github.com/llvm/llvm-project/pull/201307
More information about the lldb-commits
mailing list