Mbed-TLS / TF-PSA-Crypto

Reference implementation of the PSA Cryptography API
Apache License 2.0
9 stars 7 forks source link

Use `lcov.sh` in PSA Crypto repo #41

Closed davidhorstmann-arm closed 1 year ago

davidhorstmann-arm commented 1 year ago

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:

  1. Modify lcov.sh so that it works in either the Mbed TLS or PSA Crypto repo.
  2. Add lcov.sh to the PSA Crypto repo and use it in the CMake lcov target.
ronald-cron-arm commented 1 year ago

Done in #87