[llvm] [lit] Add --report-failures-only option for lit test reports (PR #115439)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 01:19:17 PST 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 f77101ea7913ab6a6b28ad03c152c615a89900f6...f18430a757072709475bb21909bd205a6a2ae663 llvm/utils/lit/tests/xunit-output-report-failures-only.py llvm/utils/lit/lit/cl_arguments.py llvm/utils/lit/lit/main.py
``````````

</details>

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

``````````diff
--- lit/cl_arguments.py	2024-11-09 05:48:37.000000 +0000
+++ lit/cl_arguments.py	2024-11-12 09:18:41.346266 +0000
@@ -167,11 +167,11 @@
     )
     execution_group.add_argument(
         "--report-failures-only",
         help="Only include unresolved, timed out, failed"
         " and unexpectedly passed tests in the report",
-        action="store_true"
+        action="store_true",
     )
     execution_group.add_argument(
         "--resultdb-output",
         type=lit.reports.ResultDBReport,
         help="Write LuCI ResultDB compatible JSON to the specified file",

``````````

</details>


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


More information about the llvm-commits mailing list