Skip to content

Commit

Permalink
hwv2 naming fix
Browse files Browse the repository at this point in the history
replace slash to '_'

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
  • Loading branch information
hakehuang committed Apr 22, 2024
1 parent 4c7d389 commit d032ac4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/results_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def check_name(file_path):
platform = file_path.name[:-4]
summary = ET.parse(file_path).getroot()[0]
name_in_report = summary.attrib['name']
return bool(platform == name_in_report)
name_in_report_norm = "_".join(name_in_report.split('/'))
return bool(platform == name_in_report_norm)


def check_attribute_value(file_path=None, item=None, max_value=None):
Expand Down

0 comments on commit d032ac4

Please sign in to comment.