We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a446bfc + 36ab789 commit 2db7e2fCopy full SHA for 2db7e2f
reframe/frontend/statistics.py
@@ -235,7 +235,14 @@ def print_failure_report(self, printer):
235
f"{r['dependencies_actual']}")
236
printer.info(f" * Maintainers: {r['maintainers']}")
237
printer.info(f" * Failing phase: {r['fail_phase']}")
238
- printer.info(f" * Rerun with '-n {r['unique_name']}"
+ if rt.runtime().get_option('general/0/compact_test_names'):
239
+ cls = r['display_name'].split(' ')[0]
240
+ variant = r['unique_name'].replace(cls, '').replace('_', '@')
241
+ nameoptarg = cls + variant
242
+ else:
243
+ nameoptarg = r['unique_name']
244
+
245
+ printer.info(f" * Rerun with '-n {nameoptarg}"
246
f" -p {r['environment']} --system {r['system']} -r'")
247
printer.info(f" * Reason: {r['fail_reason']}")
248
0 commit comments