Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Jan 30, 2024
1 parent 256dcba commit cdb39a0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions edk2toollib/database/tables/instanced_inf_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,17 +222,18 @@ def _parse_inf_recursively(
library_class_list.append(lib)

#
# 2. Append all NULL library instances
# 2. Append all NULL library instances if parsing the component.
#
for null_lib in override_dict["NULL"]:
library_instance_list.append(null_lib)
library_class_list.append("NULL")

for null_lib in self._get_null_lib_instances(scope, library_dict):
if null_lib == inf:
continue
library_instance_list.append(null_lib)
library_class_list.append("NULL")
if inf == component:
for null_lib in override_dict["NULL"]:
library_instance_list.append(null_lib)
library_class_list.append("NULL")

for null_lib in self._get_null_lib_instances(scope, library_dict):
if null_lib == inf:
continue

Check warning on line 234 in edk2toollib/database/tables/instanced_inf_table.py

View check run for this annotation

Codecov / codecov/patch

edk2toollib/database/tables/instanced_inf_table.py#L234

Added line #L234 was not covered by tests
library_instance_list.append(null_lib)
library_class_list.append("NULL")

#
# 3. Recursively parse used libraries
Expand Down

0 comments on commit cdb39a0

Please sign in to comment.