compare_cts_reports: do not show ignored ABI in the sheet
Do not show the ABI name in the compare result spread sheet if `--ignore-abi` was specified when generating the csv diff file. Bug: 315073470 Test: compare_cts_reports.py and generate_spread_sheet.py Change-Id: I3cd015dd24e6597a4f8453c73638f1302c8e6fb7
This commit is contained in:
@@ -27,6 +27,7 @@ python3 generate_spread_sheet.py \
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import constant
|
||||
import csv
|
||||
import gspread
|
||||
import os
|
||||
@@ -183,7 +184,9 @@ def _write_compare_details(
|
||||
|
||||
# Module changes, need a new header row.
|
||||
if module_name != curr_module:
|
||||
rows_content.append([f'{module_name} [{abi}]', ''] + [''] * num_reports)
|
||||
module_with_abi = (module_name if abi == constant.ABI_IGNORED
|
||||
else f'{module_name} [{abi}]')
|
||||
rows_content.append([module_with_abi, ''] + [''] * num_reports)
|
||||
module_header_row = len(rows_content)
|
||||
header_cell = _get_range_cell(
|
||||
begin_row=curr_row, begin_column='A',
|
||||
|
||||
Reference in New Issue
Block a user