Adapt to CMake build system the libtestdriver1 helper shell functions:
helper_libtestdriver1_adjust_config
helper_libtestdriver1_make_drivers: need to add support for the build of the test library in tests/CMakeLists.txt
helper_libtestdriver1_make_main
As of mbedtls:dev(bae154d76cfe0ee844bf88efc5bbe75e2088d4b0), these helper shell functions are located in all.sh that is yet to be moved to the framework. If they stay in all.sh(preferred), the 3.6 and mbedtls:dev components may need some adaptation. If the helper shell functions needs to be different for TF-PSA-Crypto and mbedtls then they need to be moved into
the branch dependent components-configuration-crypto.sh file.
Demonstrate testing with libtestdriver1 by adding the equivalent of test_psa_crypto_config_accel_ecdsa.
Revisit the compilation guards in tests/src/drivers/*.c like:
Adapt to CMake build system the libtestdriver1 helper shell functions:
As of mbedtls:dev(bae154d76cfe0ee844bf88efc5bbe75e2088d4b0), these helper shell functions are located in all.sh that is yet to be moved to the framework. If they stay in all.sh(preferred), the 3.6 and mbedtls:dev components may need some adaptation. If the helper shell functions needs to be different for TF-PSA-Crypto and mbedtls then they need to be moved into the branch dependent components-configuration-crypto.sh file.
Demonstrate testing with
libtestdriver1
by adding the equivalent oftest_psa_crypto_config_accel_ecdsa
.Revisit the compilation guards in
tests/src/drivers/*.c
like:Can we do better?