Skip to content

Commit a0ed9b3

Browse files
committed
Add formatting function for nodelist
1 parent a15a0b0 commit a0ed9b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reframe/frontend/distribute_tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import reframe.core.builtins as builtins
88
import reframe.core.runtime as runtime
9+
import reframe.utility as util
910

1011
from reframe.core.decorators import TestRegistry
1112
from reframe.core.logging import getlogger
@@ -97,7 +98,8 @@ def distribute_tests(testcases, node_map):
9798
{
9899
'valid_systems': [partition.fullname],
99100
'$nid': builtins.parameter(
100-
[[n] for n in node_map[partition.fullname]]
101+
[[n] for n in node_map[partition.fullname]],
102+
fmt=util.nodelist_abbrev
101103
)
102104
},
103105
methods=[

0 commit comments

Comments
 (0)