Skip to content

Commit 64f6338

Browse files
authored
Merge pull request #3454 from xinye-hpe/bugfix/failure-stat
[bugfix] Treat correctly `failed_stage=None` in failure stats report
2 parents 7b24a19 + 07e9023 commit 64f6338

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reframe/frontend/printer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ def failure_stats(self, report, global_stats=False):
195195
info += f' @{tc["system"]}:{tc["partition"]}+{tc["environ"]}'
196196

197197
failed_stage = tc['fail_phase']
198+
if not failed_stage:
199+
continue
200+
198201
failures.setdefault(failed_stage, [])
199202
failures[failed_stage].append(info)
200203

0 commit comments

Comments
 (0)