From 567aadbd630e1df752088da32a48227bc020f982 Mon Sep 17 00:00:00 2001 From: Ben Taylor Date: Fri, 24 Oct 2025 11:07:14 +0100 Subject: [PATCH 1/4] Update framework module Signed-off-by: Ben Taylor --- framework | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework b/framework index 4579964747..875ec308e7 160000 --- a/framework +++ b/framework @@ -1 +1 @@ -Subproject commit 457996474728cb8e968ed21953b72f74d2f536b2 +Subproject commit 875ec308e7ff34610075507b7216172ce8eb0785 From 6d4abb43772f7220751f7cf472517f05f6c5ce97 Mon Sep 17 00:00:00 2001 From: Ben Taylor Date: Wed, 15 Oct 2025 09:24:09 +0100 Subject: [PATCH 2/4] Remove lcov.sh as this will be moved to the framework Signed-off-by: Ben Taylor --- scripts/lcov.sh | 87 ------------------------------------------------- 1 file changed, 87 deletions(-) delete mode 100755 scripts/lcov.sh diff --git a/scripts/lcov.sh b/scripts/lcov.sh deleted file mode 100755 index 5c17a5be6a..0000000000 --- a/scripts/lcov.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -help () { - cat <&1; exit 120;; - esac -done -shift $((OPTIND - 1)) - -"$main" "$@" From 82d2fb87208c0813f034f84531d88bf924e6da73 Mon Sep 17 00:00:00 2001 From: Ben Taylor Date: Fri, 17 Oct 2025 09:20:46 +0100 Subject: [PATCH 3/4] Update lcov.sh paths in make files Signed-off-by: Ben Taylor --- CMakeLists.txt | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1586246917..317e3988c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 scripts/lcov.sh to generate an HTML report. + # 3. Run framework/scripts/lcov.sh to generate an HTML report. ADD_CUSTOM_TARGET(lcov - COMMAND scripts/lcov.sh + COMMAND framework/scripts/lcov.sh ) ADD_CUSTOM_TARGET(memcheck diff --git a/Makefile b/Makefile index 38f2832f98..b849f3b9fd 100644 --- a/Makefile +++ b/Makefile @@ -193,9 +193,9 @@ ifndef WINDOWS # 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 scripts/lcov.sh to generate an HTML report. +# 3. Run framework/scripts/lcov.sh to generate an HTML report. lcov: - scripts/lcov.sh + framework/scripts/lcov.sh apidoc: mkdir -p apidoc From 753c1afcf81ddab2f9ce038f5791d86c67aaa06c Mon Sep 17 00:00:00 2001 From: Ben Taylor Date: Tue, 21 Oct 2025 11:17:14 +0100 Subject: [PATCH 4/4] Update lcov.sh patch to use CMake variable Signed-off-by: Ben Taylor --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 317e3988c9..692629fc1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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