Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildreport_parser.py: Properly handle NULL libraries #671

Merged

Conversation

apop5
Copy link
Contributor

@apop5 apop5 commented Nov 21, 2024

Currently, buildreport_parser maintains a dictionary of library classes.

This fails for NULL libraries. If more than one NULL library exists, only the last instance encountered will be in the dictionary.

To match edk2 build tool behavior, NULL libraries will have an instance number appened to the name.

i.e. NULL0, NULL1, etc

@apop5 apop5 requested a review from Javagedes November 21, 2024 23:07
@apop5 apop5 force-pushed the personal/apop5/buildreportparsernulls branch from a5d56a2 to 70b36c6 Compare November 21, 2024 23:11
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.43%. Comparing base (ce85203) to head (56d1988).
Report is 124 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #671      +/-   ##
==========================================
- Coverage   81.43%   81.43%   -0.01%     
==========================================
  Files          56       45      -11     
  Lines        7514     7492      -22     
==========================================
- Hits         6119     6101      -18     
+ Misses       1395     1391       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@Javagedes Javagedes force-pushed the personal/apop5/buildreportparsernulls branch from 70b36c6 to 5bf5a34 Compare November 21, 2024 23:59
@apop5 apop5 force-pushed the personal/apop5/buildreportparsernulls branch from 5bf5a34 to 74cbaa5 Compare November 22, 2024 00:36
…st for a module, the library class name will be appended with an integer.

For modules with 2 null libraries, they will be named NULL0 and NULL1.
@Javagedes Javagedes force-pushed the personal/apop5/buildreportparsernulls branch from 74cbaa5 to 56d1988 Compare November 22, 2024 00:40
@Javagedes Javagedes changed the title Modifying buildreport_parser for NULL libraries. buildreport_parser.py: Properly handle NULL libraries Nov 22, 2024
@Javagedes Javagedes merged commit 55350f3 into tianocore:master Nov 22, 2024
12 checks passed
@Javagedes Javagedes added this to the v0.22.3 milestone Nov 22, 2024
@Javagedes Javagedes added the enhancement New feature or request label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants