Error generating the test suites

From mbedtls-2.12.0 to mbedtls-2.13.0 the test suite generation has changed. We mostly use python instead of perl now. I’m currently trying to generate all the tests suites from a python script. Most of them work, however for some I get following errors:

generate_test_code.py: input error: Function test_md2_text not found!
generate_test_code.py: input error: Function test_pkcs1_rsaes_v15_encrypt not found!
generate_test_code.py: input error: Function test_pkcs1_rsaes_oaep_encrypt not found!
generate_test_code.py: input error: Function test_pbkdf2_hmac not found!
generate_test_code.py: input error: Function test_pk_parse_keyfile_rsa not found!
generate_test_code.py: input error: Function test_pk_write_pubkey_check not found!

When I check the output folder where the test suites are generated, I can actually see those functions inside the generated file. Can’t explain what’s going wrong here … any idea?

@TrinityTonic
Have you built version 2.13.0 from a clean folder?
Before upgrading to a new version, you should verify all the auto generated test files are removed. ( Both the .c files and executables ) .
After that, you should be able to build successfully.
Regards,
Mbed TLS Team member
Ron