|
22 | 22 | # RUN: not %{lit} %{inputs}/allow-retries/does-not-succeed-within-limit.py -v |\ |
23 | 23 | # RUN: FileCheck --check-prefix=CHECK-TEST3 -match-full-lines %s |
24 | 24 | # |
25 | | -# CHECK-TEST3: FAIL: allow-retries :: does-not-succeed-within-limit.py (1 of 1) |
| 25 | +# CHECK-TEST3: FAIL: allow-retries :: does-not-succeed-within-limit.py (1 of 1, 4 of 4 attempts) |
26 | 26 | # CHECK-TEST3-NEXT: {{\**}} TEST 'allow-retries :: does-not-succeed-within-limit.py' FAILED {{\**}} |
27 | 27 | # CHECK-TEST3-NEXT: Exit Code: 1 |
28 | 28 | # CHECK-TEST3-EMPTY: |
|
78 | 78 | # RUN: rm -f %t.counter |
79 | 79 | # RUN: %{lit} %{inputs}/max-retries-per-test/no-allow-retries-no-test_retry_attempts/test.py \ |
80 | 80 | # RUN: --max-retries-per-test=7 \ |
81 | | -# RUN: --show-attempts-count \ |
82 | 81 | # RUN: -Dcounter=%t.counter \ |
83 | 82 | # RUN: -Dpython=%{python} \ |
84 | 83 | # RUN: | FileCheck --check-prefix=CHECK-TEST8 %s |
85 | | -# CHECK-TEST8: FLAKYPASS: no-allow-retries-no-test_retry_attempts :: test.py (1 of 1) [attempts=4,max_allowed_attempts=8] |
| 84 | +# CHECK-TEST8: FLAKYPASS: no-allow-retries-no-test_retry_attempts :: test.py (1 of 1, 4 of 8 attempts) |
86 | 85 | # CHECK-TEST8: Passed With Retry: 1 |
87 | 86 |
|
88 | 87 | # This test only passes on the 4th try. Here we check that a test can be re-run when: |
|
92 | 91 | # RUN: rm -f %t.counter |
93 | 92 | # RUN: %{lit} %{inputs}/max-retries-per-test/allow-retries-no-test_retry_attempts/test.py \ |
94 | 93 | # RUN: --max-retries-per-test=2 \ |
95 | | -# RUN: --show-attempts-count \ |
96 | 94 | # RUN: -Dcounter=%t.counter \ |
97 | 95 | # RUN: -Dpython=%{python} \ |
98 | 96 | # RUN: | FileCheck --check-prefix=CHECK-TEST9 %s |
99 | | -# CHECK-TEST9: FLAKYPASS: allow-retries-no-test_retry_attempts :: test.py (1 of 1) [attempts=4,max_allowed_attempts=9] |
| 97 | +# CHECK-TEST9: FLAKYPASS: allow-retries-no-test_retry_attempts :: test.py (1 of 1, 4 of 9 attempts) |
100 | 98 | # CHECK-TEST9: Passed With Retry: 1 |
101 | 99 |
|
102 | 100 | # This test only passes on the 4th try. Here we check that a test can be re-run when: |
|
106 | 104 | # RUN: rm -f %t.counter |
107 | 105 | # RUN: %{lit} %{inputs}/max-retries-per-test/no-allow-retries-test_retry_attempts/test.py \ |
108 | 106 | # RUN: --max-retries-per-test=2 \ |
109 | | -# RUN: --show-attempts-count \ |
110 | 107 | # RUN: -Dcounter=%t.counter \ |
111 | 108 | # RUN: -Dpython=%{python} \ |
112 | 109 | # RUN: | FileCheck --check-prefix=CHECK-TEST10 %s |
113 | | -# CHECK-TEST10: FLAKYPASS: no-allow-retries-test_retry_attempts :: test.py (1 of 1) [attempts=4,max_allowed_attempts=10] |
| 110 | +# CHECK-TEST10: FLAKYPASS: no-allow-retries-test_retry_attempts :: test.py (1 of 1, 4 of 10 attempts) |
114 | 111 | # CHECK-TEST10: Passed With Retry: 1 |
115 | 112 |
|
116 | 113 | # This test only passes on the 4th try. Here we check that a test can be re-run when: |
|
120 | 117 | # RUN: rm -f %t.counter |
121 | 118 | # RUN: %{lit} %{inputs}/max-retries-per-test/allow-retries-test_retry_attempts/test.py \ |
122 | 119 | # RUN: --max-retries-per-test=1 \ |
123 | | -# RUN: --show-attempts-count \ |
124 | 120 | # RUN: -Dcounter=%t.counter \ |
125 | 121 | # RUN: -Dpython=%{python} \ |
126 | 122 | # RUN: | FileCheck --check-prefix=CHECK-TEST11 %s |
127 | | -# CHECK-TEST11: FLAKYPASS: allow-retries-test_retry_attempts :: test.py (1 of 1) [attempts=4,max_allowed_attempts=11] |
| 123 | +# CHECK-TEST11: FLAKYPASS: allow-retries-test_retry_attempts :: test.py (1 of 1, 4 of 11 attempts) |
128 | 124 | # CHECK-TEST11: Passed With Retry: 1 |
0 commit comments