Skip to content

tools: make sof_ri_info.py a usable library that can be imported - #6382

Merged
kv2019i merged 1 commit into
thesofproject:mainfrom
marc-hb:sof-ri-info-lib
Oct 11, 2022
Merged

tools: make sof_ri_info.py a usable library that can be imported#6382
kv2019i merged 1 commit into
thesofproject:mainfrom
marc-hb:sof-ri-info-lib

Conversation

@marc-hb

@marc-hb marc-hb commented Oct 7, 2022

Copy link
Copy Markdown
Collaborator

2 small changes required:

  • Stop calling sys.exit(1) in case of error not to exit the importer
  • Change EraseVars() to return the checksum value instead of printing it. Move the print() to the main() function

This is required by the new sof-bin tests that compare signed with unsigned binaries; submitted in
thesofproject/sof-bin#105

Signed-off-by: Marc Herbert marc.herbert@intel.com

2 small changes required:

- Stop calling sys.exit(1) in case of error not to exit the importer
- Change EraseVars() to return the checksum value instead of printing
  it. Move the print() to the main() function

This is required by the new sof-bin tests that compare signed with
unsigned binaries; submitted in
thesofproject/sof-bin#105

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb

marc-hb commented Oct 7, 2022

Copy link
Copy Markdown
Collaborator Author

The fix for the unrelated sparse error in https://github.com/thesofproject/sof/actions/runs/3203291899/jobs/5233213507 has been submitted in #6370

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aborisovich any comments ?

@kv2019i
kv2019i merged commit 1e4236b into thesofproject:main Oct 11, 2022
@marc-hb
marc-hb deleted the sof-ri-info-lib branch October 11, 2022 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants