Skip to content

Commit e8cb43b

Browse files
authored
Merge pull request #3441 from vkarak/bugfix/update-name
[bugfix] Update special parameter character in test name
2 parents 36e8ffe + e16b80c commit e8cb43b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

reframe/core/pipeline.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,12 +1217,14 @@ def name(self):
12171217
'''The name of the test.
12181218
12191219
This is an alias of :attr:`display_name` but omitting any implicit
1220-
parameters starting with ``$`` that are inserted by the
1220+
parameters starting with ``.`` that are inserted by the
12211221
:option:`--repeat`, :option:`--distribute` and other similar options.
12221222
12231223
.. versionchanged:: 4.7
12241224
1225-
The implicit parameters starting with ``$`` are now omitted.
1225+
The implicit parameters starting with special characters are now
1226+
omitted.
1227+
12261228
'''
12271229
if hasattr(self, '_rfm_name'):
12281230
return self._rfm_name
@@ -1231,7 +1233,7 @@ def name(self):
12311233
basename, *params = self.display_name.split(' ')
12321234
name = basename
12331235
for p in params:
1234-
if not p.startswith('%$'):
1236+
if not p.startswith('%.'):
12351237
name += f' {p}'
12361238

12371239
self._rfm_name = name

0 commit comments

Comments
 (0)