From d2efc2fd3bb7eff82ad63816ea968b0c867aec7c Mon Sep 17 00:00:00 2001 From: Changho Hwang Date: Wed, 18 Feb 2026 19:48:29 -0800 Subject: [PATCH] coverage update --- .azure-pipelines/templates/ut.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/templates/ut.yaml b/.azure-pipelines/templates/ut.yaml index ae5bedbd..12004d6e 100644 --- a/.azure-pipelines/templates/ut.yaml +++ b/.azure-pipelines/templates/ut.yaml @@ -124,8 +124,8 @@ steps: workingDirectory: '$(System.DefaultWorkingDirectory)' - task: Bash@3 - name: MpUnitTestsCoverageNonPerf - displayName: Run mp_unit_tests (non-perf) with coverage + name: TestsCoverageNonPerf + displayName: Run unit_tests + mp_unit_tests (non-perf) with coverage inputs: targetType: 'inline' script: | @@ -141,11 +141,12 @@ steps: export PATH=/usr/local/mpi/bin:\$PATH; \ cd /root/mscclpp; \ export LD_LIBRARY_PATH=/root/mscclpp/build_coverage/lib:\$LD_LIBRARY_PATH; \ + ./build_coverage/bin/unit_tests; \ mpirun --allow-run-as-root -tag-output -np 2 ./build_coverage/bin/mp_unit_tests --exclude-perf-tests; \ 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 --directory . --capture --output-file coverage.info --ignore-errors mismatch; \ + lcov --remove coverage.info '/usr/*' '*/test/*' '*/build/*' --output-file coverage.info --ignore-errors unused; \ lcov --list coverage.info"' kill $CHILD_PID workingDirectory: '$(System.DefaultWorkingDirectory)'