Update lcov.sh patch to use CMake variable

Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
Ben Taylor
2025-11-04 09:45:37 +00:00
committed by David Horstmann
parent 82d2fb8720
commit 753c1afcf8
+2 -2
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