Skip to content

Commit a6e4241

Browse files
committed
test
1 parent bc59cb9 commit a6e4241

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

reframe/frontend/statistics.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,16 @@ def print_failure_stats(self, printer):
281281
for f in l[1:]:
282282
stats_body.append(row_format.format('', '', str(f)))
283283

284+
for p, l in failures.items():
285+
stats_body.append(stats_hline)
286+
stats_body.append('Rerun the failed tests with:')
287+
for f in l:
288+
failed_list = f.split(',')
289+
failed_name = failed_list[0][1:]
290+
failed_env = failed_list[1].strip()
291+
failed_system = failed_list[2][:-1].strip()
292+
stats_body.append(f' -n {failed_name} -p {failed_env} --system {failed_system} -r')
293+
284294
if stats_body:
285295
for line in (stats_start, stats_title, *stats_body, stats_end):
286296
printer.info(line)

0 commit comments

Comments
 (0)