2525 ReframeFatalError , ReframeForceExitError , SystemAutodetectionError
2626)
2727from reframe .core .exceptions import format_exception
28- from reframe .core .pipeline import (DEPEND_EXACT , DEPEND_BY_ENV , DEPEND_FULLY )
2928from reframe .frontend .executors import Runner , generate_testcases
3029from reframe .frontend .executors .policies import (SerialExecutionPolicy ,
3130 AsynchronousExecutionPolicy )
3433
3534
3635def format_check (check , detailed ):
37- def dep_type (t ):
38- if t == DEPEND_EXACT :
39- return 'DEPEND_EXACT'
40- elif t == DEPEND_BY_ENV :
41- return 'DEPEND_BY_ENV'
42- elif t == DEPEND_FULLY :
43- return 'DEPEND_FULLY'
44-
4536 lines = [' * %s (found in %s)' % (check .name ,
4637 inspect .getfile (type (check )))]
4738 flex = 'flexible' if check .num_tasks <= 0 else 'standard'
@@ -54,7 +45,7 @@ def dep_type(t):
5445 f" - modules: { ', ' .join (check .modules )} " ,
5546 f" - task allocation: { flex } " ,
5647 f" - dependencies: "
57- f"{ [( n , dep_type ( t ), s ) for ( n , t , s ) in check .user_deps ()]} " ,
48+ f"{ ', ' . join ([ d [ 0 ] for d in check .user_deps ()]) } " ,
5849 f" - tags: { ', ' .join (check .tags )} " ,
5950 f" - maintainers: { ', ' .join (check .maintainers )} "
6051 ]
0 commit comments