[llvm] [Lit][NFC] Refactor shell environment functionality and in-process builtins from TestRunner.py into new modules (Reopened) (PR #177358)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 07:59: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 llvm/utils/lit/lit/InprocBuiltins.py llvm/utils/lit/lit/ShellEnvironment.py llvm/utils/lit/lit/TestRunner.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
--- InprocBuiltins.py 2026-04-10 14:27:25.000000 +0000
+++ InprocBuiltins.py 2026-04-10 14:59:04.790908 +0000
@@ -14,11 +14,10 @@
expand_glob_expressions,
kIsWindows,
processRedirects,
updateEnv,
)
-
def executeBuiltinCd(cmd, shenv):
"""executeBuiltinCd - Change the current directory."""
if len(cmd.args) != 2:
``````````
</details>
https://github.com/llvm/llvm-project/pull/177358
More information about the llvm-commits
mailing list