From 248815fd4da1bbfa709a37d7c370173573ad4563 Mon Sep 17 00:00:00 2001 From: Steve Leak Date: Thu, 21 May 2020 15:23:02 -0700 Subject: [PATCH 1/2] Add test description to failure report --- reframe/frontend/statistics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/reframe/frontend/statistics.py b/reframe/frontend/statistics.py index 5f558649dc..da0a971196 100644 --- a/reframe/frontend/statistics.py +++ b/reframe/frontend/statistics.py @@ -86,6 +86,7 @@ def failure_report(self): report.append(line_width * '-') report.append('FAILURE INFO for %s %s' % (check.name, retry_info)) + if check.descr: report.append(' * Test Description: %s' % check.descr) report.append(' * System partition: %s' % partname) report.append(' * Environment: %s' % environ_name) report.append(' * Stage directory: %s' % check.stagedir) From 31fc631942da4667d1a48edf9e8ce4f8559549b7 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Fri, 29 May 2020 10:51:01 +0200 Subject: [PATCH 2/2] Address PR comments --- reframe/frontend/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reframe/frontend/statistics.py b/reframe/frontend/statistics.py index da0a971196..37110de4d5 100644 --- a/reframe/frontend/statistics.py +++ b/reframe/frontend/statistics.py @@ -86,7 +86,7 @@ def failure_report(self): report.append(line_width * '-') report.append('FAILURE INFO for %s %s' % (check.name, retry_info)) - if check.descr: report.append(' * Test Description: %s' % check.descr) + report.append(' * Test Description: %s' % check.descr) report.append(' * System partition: %s' % partname) report.append(' * Environment: %s' % environ_name) report.append(' * Stage directory: %s' % check.stagedir)