Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasileios Karakasis committed Mar 15, 2022
1 parent f97103a commit 8ea201a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions reframe/frontend/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ def print_failure_report(self, printer):
printer.info(f" * Maintainers: {r['maintainers']}")
printer.info(f" * Failing phase: {r['fail_phase']}")
if rt.runtime().get_option('general/0/compact_test_names'):
class_name = r['display_name'].split(' ')[0]
id = r['unique_name'].replace(class_name, '').replace('_', '@')
rerun_name = class_name + id
cls = r['display_name'].split(' ')[0]
variant = r['unique_name'].replace(cls, '').replace('_', '@')
nameoptarg = cls + variant
else:
rerun_name = r['unique_name']
nameoptarg = r['unique_name']

printer.info(f" * Rerun with '-n {rerun_name}"
printer.info(f" * Rerun with '-n {nameoptarg}"
f" -p {r['environment']} --system {r['system']} -r'")
printer.info(f" * Reason: {r['fail_reason']}")

Expand Down

0 comments on commit 8ea201a

Please sign in to comment.