1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-06 12:00:59 +03:00

Update lcov.sh patch to use CMake variable

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
Ben Taylor
2025-10-21 11:17:14 +01:00
parent 9b4f222f4f
commit 82a48d42ff

View File

@@ -489,9 +489,9 @@ if(ENABLE_TESTING)
# 2. Run the relevant tests for the part of the code you're interested in.
# For the reference coverage measurement, see
# tests/scripts/basic-build-test.sh
# 3. Run framework/scripts/lcov.sh to generate an HTML report.
# 3. Run ${MBEDTLS_FRAMEWORK_DIR}/scripts/lcov.sh to generate an HTML report.
ADD_CUSTOM_TARGET(lcov
COMMAND framework/scripts/lcov.sh
COMMAND ${MBEDTLS_FRAMEWORK_DIR}/scripts/lcov.sh
)
ADD_CUSTOM_TARGET(memcheck