Skip to content

Commit 19e340c

Browse files
authored
Merge pull request #3471 from vkarak/bugfix/join-uniq-nodelist
[bugfix] Use always `|` to join unique values in column aggregations except for `--table-format=pretty`
2 parents 167ef86 + 568f3b2 commit 19e340c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

reframe/frontend/reporting/__init__.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -646,13 +646,11 @@ def _group_testcases(testcases, groups, columns):
646646
@time_function
647647
def _aggregate_perf(grouped_testcases, aggr_fn, cols):
648648
# Update delimiter for joining unique values based on the table format
649-
table_foramt = runtime().get_option('general/0/table_format')
650-
if table_foramt == 'csv':
651-
delim = '|'
652-
elif table_foramt == 'plain':
653-
delim = ','
654-
else:
649+
table_format = runtime().get_option('general/0/table_format')
650+
if table_format == 'pretty':
655651
delim = '\n'
652+
else:
653+
delim = '|'
656654

657655
other_aggr = Aggregator.create('join_uniq', delim)
658656
count_aggr = Aggregator.create('count')

0 commit comments

Comments
 (0)