Generating coverage data in the Mbed TLS repo is done by the script lcov.sh. In the PSA Crypto repo it is currently done inline in the lcov target in CMake.
It would be best to unify these two approaches by using the lcov.sh script in PSA Crypto. However, this script cannot be used directly in PSA Crypto as it refers to the library directory, which is unique to Mbed TLS.
This task consists of 2 parts:
Modify lcov.sh so that it works in either the Mbed TLS or PSA Crypto repo.
Add lcov.sh to the PSA Crypto repo and use it in the CMake lcov target.
Generating coverage data in the Mbed TLS repo is done by the script
lcov.sh
. In the PSA Crypto repo it is currently done inline in thelcov
target in CMake.It would be best to unify these two approaches by using the
lcov.sh
script in PSA Crypto. However, this script cannot be used directly in PSA Crypto as it refers to thelibrary
directory, which is unique to Mbed TLS.This task consists of 2 parts:
lcov.sh
so that it works in either the Mbed TLS or PSA Crypto repo.lcov.sh
to the PSA Crypto repo and use it in the CMakelcov
target.