Skip to content

Commit d769d5d

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1237 from ekouts/feat/list-dependencies
[feat] Print test dependencies in output of `--list-detailed`
2 parents 7fe7bec + f7395da commit d769d5d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

reframe/frontend/cli.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ def format_check(check, detailed):
3939

4040
if detailed:
4141
lines += [
42-
' - description: %s' % check.descr,
43-
' - systems: %s' % ', '.join(check.valid_systems),
44-
' - environments: %s' % ', '.join(check.valid_prog_environs),
45-
' - modules: %s' % ', '.join(check.modules),
46-
' - task allocation: %s' % flex,
47-
' - tags: %s' % ', '.join(check.tags),
48-
' - maintainers: %s' % ', '.join(check.maintainers)
42+
f" - description: {check.descr}",
43+
f" - systems: {', '.join(check.valid_systems)}",
44+
f" - environments: {', '.join(check.valid_prog_environs)}",
45+
f" - modules: {', '.join(check.modules)}",
46+
f" - task allocation: {flex}",
47+
f" - dependencies: "
48+
f"{', '.join([d[0] for d in check.user_deps()])}",
49+
f" - tags: {', '.join(check.tags)}",
50+
f" - maintainers: {', '.join(check.maintainers)}"
4951
]
5052

5153
return '\n'.join(lines)

0 commit comments

Comments
 (0)