From d25901636a1a8f765a2f1a657c376024e44b0c12 Mon Sep 17 00:00:00 2001 From: happyguoxy Date: Thu, 12 Dec 2024 19:08:22 +0800 Subject: [PATCH] test:add local coverage script --- tests/run_local_coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_local_coverage.sh b/tests/run_local_coverage.sh index 26cc6deb4d..30b0df3c1c 100755 --- a/tests/run_local_coverage.sh +++ b/tests/run_local_coverage.sh @@ -374,7 +374,7 @@ if [ ! -f "$COVERAGE_INFO" ]; then fi # Generate local HTML reports -genhtml "$COVERAGE_INFO" --output-directory "$OUTPUT_DIR" +genhtml "$COVERAGE_INFO" --branch-coverage --function-coverage --output-directory "$OUTPUT_DIR" # Check whether the report was generated successfully if [ $? -eq 0 ]; then