[llvm] [utils][tests] Adjust timeout-hang.py tolerances (PR #142089)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 22:50:34 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/timeout-hang.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- timeout-hang.py 2025-05-30 05:44:03.000000 +0000
+++ timeout-hang.py 2025-05-30 05:50:09.534628 +0000
@@ -22,7 +22,11 @@
if testing_time <= grace_time:
print("Testing finished within the grace period")
sys.exit(0)
else:
- print("Testing took {}s, which is beyond the grace period of {}s".format(testing_time, grace_time))
+ print(
+ "Testing took {}s, which is beyond the grace period of {}s".format(
+ testing_time, grace_time
+ )
+ )
sys.exit(1)
``````````
</details>
https://github.com/llvm/llvm-project/pull/142089
More information about the llvm-commits
mailing list