[llvm] [lit] show retry attempts (PR #142413)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 07:47:22 PDT 2025


================
@@ -117,9 +117,23 @@ def clear(self, interrupted):
     def print_result(self, test):
         # Show the test result line.
         test_name = test.getFullName()
+
+        extra_info = ""
+        if (
+            test.result.max_allowed_attempts is not None
+            and test.result.max_allowed_attempts > 1
----------------
nikic wrote:

The `test.result.max_allowed_attempts > 1` check is probably redundant? Can't have attempts > 1 if max_allowed_attempts is not > 1.

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


More information about the llvm-commits mailing list