From 467dc480d68b070ba7d025fa1908280b896d675d Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Sat, 19 Sep 2020 20:14:41 +0200 Subject: [PATCH] Remove unnecessary error message from failure report --- reframe/frontend/statistics.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/reframe/frontend/statistics.py b/reframe/frontend/statistics.py index ae7ece0f43..af257e158a 100644 --- a/reframe/frontend/statistics.py +++ b/reframe/frontend/statistics.py @@ -190,13 +190,6 @@ def failure_report(self): report.append(f" * Rerun with '-n {r['name']}" f" -p {r['environment']} --system {r['system']}'") report.append(f" * Reason: {r['fail_reason']}") - if r['fail_phase'] == 'sanity': - report.append('Sanity check failure') - elif r['fail_phase'] == 'performance': - report.append('Performance check failure') - else: - # This shouldn't happen... - report.append('Unknown error.') report.append(line_width * '-') return '\n'.join(report)