[llvm] [llvm-lit] Add precommit test to verify current behavior of glob expansion in lit's internal shell (PR #106325)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 19:24:06 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 29bb523b7c3502b47737ced2a8b20678809ec9de...36c5ece458b0038e2127e8be4d517f2ec5dc9181 llvm/utils/lit/tests/shtest-glob.py
``````````

</details>

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

``````````diff
--- shtest-glob.py	2024-08-28 01:48:41.000000 +0000
+++ shtest-glob.py	2024-08-28 02:23:39.678227 +0000
@@ -1,8 +1,8 @@
 ## Tests glob pattern handling in echo command.
 
-# RUN: not %{lit} -a -v %{inputs}/shtest-glob \ 
+# RUN: not %{lit} -a -v %{inputs}/shtest-glob \
 # RUN: | FileCheck -dump-input=fail -match-full-lines %s
 #
 # END.
 
 # CHECK: UNRESOLVED: shtest-glob :: glob-echo.txt ({{[^)]*}})

``````````

</details>


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


More information about the llvm-commits mailing list