Mbed-TLS / mbedtls-framework

TF-PSA-Crypto and Mbed TLS version-independent build and test framework
Other
1 stars 16 forks source link

[DI] Move scripts used in the CI to the framework #52

Open mpg opened 1 month ago

mpg commented 1 month ago

[Moved and re-organized from #12 and #16.]

Note: the scope (as a first step) is now only to move to the framework, not to adapt to tf-psa-crypto. Some comments and size estimates are still from the time where the scope included adapting to tf-psa-crypto.

The lists below are temporary and might still evolve.

Table legend: I: Currently identical between 3.6 and development? S: Work size for the move and potentially changes needed for TF-PSA-Crypto

Moving to the framework - used by tf-psa-crypto

name I S Issue/PR Comment
analyze_outcomes.py y S https://github.com/Mbed-TLS/mbedtls-framework/pull/55, https://github.com/Mbed-TLS/mbedtls/pull/9668, https://github.com/Mbed-TLS/mbedtls/pull/9669 work shared with 4.0 subteam
apidoc_full.sh y S called by doxygen.sh, depends on config.py, needs changes for TF-PSA-Crypto
assemble_changelog.py y XS #69 47 adapted to TF-PSA-Crypto
check-doxy-blocks.pl y s #69 https://github.com/mbed-tls/tf-psa-crypto/issues/49 to adapt to tf-psa-crypto +doxygen.sh
check-python-files.sh y xs #69
doxygen.sh y xs #69
lcov.sh y xs 41 adapted to tf-psa-crypto
min_requirements.py y xs ci scripts
output_env.sh y xs #74 called by all.sh, basic-build-test.sh
psa_collect_statuses.py y s
recursion.pl y xs #69
run-metatests.sh y s
run_demos.py y xs
test_zeroize.gdb y -
abi_check.py n S CI scripts
all.sh n M https://github.com/Mbed-TLS/mbedtls/pull/8226 see #40
basic-build-test.sh n S https://github.com/Mbed-TLS/mbedtls-framework/issues/12#issuecomment-2370807342
check-generated-files.sh n xs #71 adaptation to tf-psa-crypto done
check_files.py n xs #72 see also https://github.com/mbed-tls/mbedtls-framework/issues/7
check_names.py n s #73 M for tf-psa-crypto adaptation
check_test_cases.py n xs https://github.com/Mbed-TLS/mbedtls-framework/pull/55 pulled together with analyze_outcomes.py which uses functions from check_test_cases.py
code_style.py n xs #70 48 for tf-psa-crypto
depends.py n >m
generate_features.pl n s 9420 add support for (tfpsa)crypto_config.h
generate_psa_constants.py n xs called by builds, check-generated-files.sh
generate_query_config.pl n m adapt to mbedtls_config.h split, adapt to tf_psa_crypto_config.h
list_internal_identifiers.py n xs + list-identifiers.sh ci scripts
~test-ref-configs.pl~ n s+s #9565 (removed)
test_psa_compliance.py n - adaptation to tf-psa-crypto done
test_psa_constant_names.py n xs

Moving to the framework - not used by tf-psa-crypto

name I S Issue/PR Comment
~generate_ssl_debug_helpers.py~ y xs #9673 called by builds, check-generated-files.sh
~generate_tls13_compat_tests.py~ y xs #9673
~translate_ciphers.py~ y - #9673 called by compat.sh

Not moving to the framework

name I S Issue/PR Comment
basic.requirements.txt y - branch specific
ci.requirements.txt y - branch specific
config.py n - branch specific
driver.requirements.txt y - branch specific
generate_driver_wrappers.py n - branch specific
generate_errors.pl n with #8501 no such script in 4.0
generate_visualc_files.pl n
maintainer.requirements.txt y - branch specific
make_generated_files.bat a
run-test-suites.pl n - make test

Not classified yet