Skip to content

Commit b733314

Browse files
Fix generate_config_checks.py not actually generating the files
`output_files` was accidentally an iterator that was not iterated over unless one of the list-only options was enabled. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
1 parent e3c6f9d commit b733314

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/mbedtls_framework/config_checks_generator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ def main(branch_data: BranchData) -> None:
218218
help='output file location (default: %(default)s)')
219219
options = parser.parse_args()
220220
list_only = options.list or options.list_for_cmake
221-
output_files = generate_header_files(branch_data,
222-
options.output_directory,
223-
list_only=list_only)
221+
output_files = list(generate_header_files(branch_data,
222+
options.output_directory,
223+
list_only=list_only))
224224
if options.list_for_cmake:
225225
sys.stdout.write(';'.join(output_files))
226226
elif options.list:

0 commit comments

Comments
 (0)