From 2f27d7d7fe32a3221f616d4aae050b0dd38f209f Mon Sep 17 00:00:00 2001 From: Changho Hwang Date: Mon, 23 Feb 2026 18:25:10 -0800 Subject: [PATCH] Update coverage report to exclude additional directories in lcov command --- .azure-pipelines/templates/ut.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/templates/ut.yaml b/.azure-pipelines/templates/ut.yaml index f8234edd..78a12b16 100644 --- a/.azure-pipelines/templates/ut.yaml +++ b/.azure-pipelines/templates/ut.yaml @@ -147,7 +147,7 @@ steps: mpirun --allow-run-as-root -tag-output -np 4 ./build_coverage/bin/mp_unit_tests --exclude-perf-tests; \ cd build_coverage; \ lcov --directory . --capture --output-file coverage.info; \ - lcov --remove coverage.info '/usr/*' '*/test/*' '*/build/*' --output-file coverage.info; \ + lcov --remove coverage.info '/usr/*' '*/test/*' '*/build/*' '*/nlohmann/*' '*/_deps/*' --output-file coverage.info; \ lcov --list coverage.info"' kill $CHILD_PID workingDirectory: '$(System.DefaultWorkingDirectory)'