1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-23 00:02:39 +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
committed by David Horstmann
parent 82d2fb8720
commit 753c1afcf8

View File

@@ -443,9 +443,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