[llvm] [llvm-lit][test][NFC] Moved cat command tests into separate lit test file (PR #102366)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 11:03:43 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 9f6b440adf27056f9c9b7772c52c6d01dfcf2f13...d9a8f5a56c77b4200dc8ea0da2cce20170aba331 llvm/utils/lit/tests/shtest-cat.py llvm/utils/lit/tests/shtest-shell.py llvm/utils/lit/tests/Inputs/check_path.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- shtest-cat.py 2024-08-09 17:58:00.000000 +0000
+++ shtest-cat.py 2024-08-09 18:03:13.321534 +0000
@@ -17,8 +17,8 @@
# CHECK: # | [Errno 2] No such file or directory: 'temp1.txt'
# CHECK: # error: command failed with exit status: 1
# CHECK: PASS: shtest-cat :: cat.txt ({{[^)]*}})
-# CHECK: Total Discovered Tests: 3
+# CHECK: Total Discovered Tests: 3
# CHECK: Passed: 1 {{\([0-9]*\.[0-9]*%\)}}
# CHECK: Failed: 2 {{\([0-9]*\.[0-9]*%\)}}
``````````
</details>
https://github.com/llvm/llvm-project/pull/102366
More information about the llvm-commits
mailing list