[llvm] [LIT] Print discovered tests and percentages (#66057) (PR #69831)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 21 03:13:38 PDT 2023
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 764c7ae949a502be0bf8c3c75120b6bfbfa13eb4..53a02854d0adb9c7c33cc3bf9964f413a75ba2c1 llvm/utils/lit/lit/main.py llvm/utils/lit/tests/discovery.py llvm/utils/lit/tests/ignore-fail.py llvm/utils/lit/tests/shtest-env.py llvm/utils/lit/tests/shtest-not.py llvm/utils/lit/tests/shtest-pushd-popd.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- tests/ignore-fail.py 2023-10-21 10:11:13.000000 +0000
+++ tests/ignore-fail.py 2023-10-21 10:13:30.665251 +0000
@@ -10,11 +10,11 @@
# CHECK-DAG: UNRESOLVED: ignore-fail :: unresolved.txt
# CHECK-DAG: XFAIL: ignore-fail :: xfail.txt
# CHECK-DAG: XPASS: ignore-fail :: xpass.txt
# CHECK: Testing Time:
-# CHECK: Total Discovered Tests:
+# CHECK: Total Discovered Tests:
# CHECK-NEXT: Expectedly Failed : 1 {{\([0-9]*\.[0-9]*%\)}}
# CHECK-NEXT: Unresolved : 1 {{\([0-9]*\.[0-9]*%\)}}
# CHECK-NEXT: Failed : 1 {{\([0-9]*\.[0-9]*%\)}}
# CHECK-NEXT: Unexpectedly Passed: 1 {{\([0-9]*\.[0-9]*%\)}}
# CHECK-NOT: {{.}}
``````````
</details>
https://github.com/llvm/llvm-project/pull/69831
More information about the llvm-commits
mailing list