Skip to content

Commit 58724fa

Browse files
committed
try to fix coverage
1 parent cfd4695 commit 58724fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ci_build_and_test_in_container.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ fi
6464

6565
if [[ "$*" == *--code-coverage* ]]; then
6666
ENABLE_COVERAGE=ON
67+
export LCOV_GCOV=/usr/bin/gcov-13
6768
else
6869
ENABLE_COVERAGE=OFF
6970
fi
@@ -103,7 +104,7 @@ fi
103104

104105
if [[ "$*" == *--code-coverage* ]]; then
105106
or_die make -j ${NPROC} VERBOSE=1
106-
or_die make hpcReact_coverage
107+
LCOV_GCOV=/usr/bin/gcov-13 GENINFO_IGNORE_ERRORS=mismatch or_die make hpcReact_coverage
107108
cp -r ${HPCREACT_BUILD_DIR}/hpcReact_coverage.info.cleaned /tmp/hpcReact/hpcReact_coverage.info.cleaned
108109
fi
109110

0 commit comments

Comments
 (0)