[llvm] [lit] add maxRetriesPerTest execution option (PR #141851)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 30 02:01:41 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/tests/Inputs/max_retries_per_test/test.py llvm/utils/lit/lit/cl_arguments.py llvm/utils/lit/lit/main.py llvm/utils/lit/tests/allow-retries.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- tests/allow-retries.py 2025-05-30 08:52:46.000000 +0000
+++ tests/allow-retries.py 2025-05-30 09:01:13.830779 +0000
@@ -79,6 +79,5 @@
# TODO(kwk): Add test that ensures ALLOW_RETRIES: takes precedence over the maxRetriesPerTest option.
#
# RUN: rm -f %t.counter
# RUN: %{lit} %{inputs}/max_retries_per_test/test.py -Dcounter=%t.counter -Dpython=%{python} | FileCheck --check-prefix=CHECK-TEST8 %s --color --dump-input=always
# CHECK-TEST8: SPECIFY ME BETTER
-
``````````
</details>
https://github.com/llvm/llvm-project/pull/141851
More information about the llvm-commits
mailing list