Skip to content

Commit 212cd8b

Browse files
committed
Address comments
1 parent 7c9e5fa commit 212cd8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reframe/frontend/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ def module_unuse(*paths):
12491249
success = True
12501250
if runner.stats.failed():
12511251
success = False
1252-
runner.stats.print_failure_report(printer, options.distribute)
1252+
runner.stats.print_failure_report(printer, not options.distribute)
12531253
if options.failure_stats:
12541254
runner.stats.print_failure_stats(printer)
12551255

reframe/frontend/statistics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def json(self, force=False):
203203

204204
return self._run_data
205205

206-
def print_failure_report(self, printer, distribute_run=None):
206+
def print_failure_report(self, printer, rerun_info=True):
207207
line_width = 78
208208
printer.info(line_width * '=')
209209
printer.info('SUMMARY OF FAILURES')
@@ -234,7 +234,7 @@ def print_failure_report(self, printer, distribute_run=None):
234234
f"{r['dependencies_actual']}")
235235
printer.info(f" * Maintainers: {r['maintainers']}")
236236
printer.info(f" * Failing phase: {r['fail_phase']}")
237-
if not distribute_run:
237+
if rerun_info:
238238
if rt.runtime().get_option('general/0/compact_test_names'):
239239
cls = r['display_name'].split(' ')[0]
240240
variant = r['unique_name'].replace(cls, '')

0 commit comments

Comments
 (0)