summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_coverage_report.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gen_coverage_report.sh b/scripts/gen_coverage_report.sh
index 46eb98f..fb362f4 100755
--- a/scripts/gen_coverage_report.sh
+++ b/scripts/gen_coverage_report.sh
@@ -37,7 +37,8 @@ mkdir -p "${BUILD_DIR}"
cd "${BUILD_DIR}"
echo "--- Configuring CMake with Coverage ---"
-cmake "${PROJECT_ROOT}" -DDEMO_ENABLE_COVERAGE=ON -DDEMO_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug
+# CRITICAL: Coverage must run WITHOUT STRIP_ALL to include all test code
+cmake "${PROJECT_ROOT}" -DDEMO_ENABLE_COVERAGE=ON -DDEMO_BUILD_TESTS=ON -DDEMO_STRIP_ALL=OFF -DCMAKE_BUILD_TYPE=Debug
echo "--- Building Tests ---"
# Build only the test targets to save time, or all if needed.