1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-24 01:41:35 +03:00

fix "make generated_files" for test_keys.h and test_certs.h

This also add the check in tests/scripts/check-generated-files.sh

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti
2024-04-11 11:50:46 +02:00
parent b627199d60
commit 85a006635f
4 changed files with 40 additions and 4 deletions

View File

@ -99,9 +99,9 @@ def main() -> None:
args = argparser.parse_args()
output_file = args.output
# Remove output file if already existing.
# If the output file already exists, then we can quit (successfully)
if os.path.exists(output_file):
os.remove(output_file)
return
output_file = open(output_file, 'at')
output_file.write(