[clang] [llvm] Revert "[lit][clang] Avoid realpath on Windows due to MAX_PATH limitations" (PR #139739)

via cfe-commits cfe-commits at lists.llvm.org
Tue May 13 08:01:08 PDT 2025


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 HEAD~1...HEAD llvm/utils/lit/lit/TestRunner.py llvm/utils/lit/lit/builtin_commands/diff.py llvm/utils/lit/lit/discovery.py llvm/utils/lit/lit/util.py llvm/utils/lit/tests/Inputs/config-map-discovery/driver.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- lit/TestRunner.py	2025-05-13 12:54:35.000000 +0000
+++ lit/TestRunner.py	2025-05-13 15:00:30.579509 +0000
@@ -1407,11 +1407,11 @@
             ("%{pathsep}", os.pathsep),
             ("%t", tmpName),
             ("%basename_t", tmpBaseName),
             ("%T", tmpDir),
             ("%{s:basename}", sourceBaseName),
-            ("%{t:stem}", tmpBaseName)
+            ("%{t:stem}", tmpBaseName),
         ]
     )
 
     substitutions.extend(
         [

``````````

</details>


https://github.com/llvm/llvm-project/pull/139739


More information about the cfe-commits mailing list